pub struct AttnLayerState {
pub qsa: Option<QsaSeqState>,
}Expand description
Attention-layer per-sequence state. KV lives in PagedKvCache; the only
resident piece is the QSA indexer carry on the 12 qwen4_exp
full-attention layers (Avarok #753 item B).
Fields§
§qsa: Option<QsaSeqState>Trait Implementations§
Source§impl Default for AttnLayerState
impl Default for AttnLayerState
Source§fn default() -> AttnLayerState
fn default() -> AttnLayerState
Returns the “default value” for a type. Read more
Source§impl LayerState for AttnLayerState
impl LayerState for AttnLayerState
Auto Trait Implementations§
impl Freeze for AttnLayerState
impl RefUnwindSafe for AttnLayerState
impl Send for AttnLayerState
impl Sync for AttnLayerState
impl Unpin for AttnLayerState
impl UnwindSafe for AttnLayerState
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