pub struct MlaKv {
pub k: Vec<f32>,
pub v: Vec<f32>,
pub seq_len: usize,
}Expand description
One MLA layer’s host KV (unpaged CPU stand-in).
Fields§
§k: Vec<f32>Packed keys [T, H, dq].
v: Vec<f32>Packed values [T, H, dv].
seq_len: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MlaKv
impl RefUnwindSafe for MlaKv
impl Send for MlaKv
impl Sync for MlaKv
impl Unpin for MlaKv
impl UnwindSafe for MlaKv
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more