pub struct SharedRuntime {
pub compress_kv: Vec<f32>,
pub index_k: Vec<f32>,
pub topk_idxs: Vec<i32>,
pub topk: usize,
pub candidates: Vec<bool>,
pub cand_width: usize,
}Expand description
2026-09-25: What source layers publish and later layers read: the latest
kv source’s whole latent
cache [max_groups][hd] and index-key cache [max_groups][index_hd], the
latest index selection [queries][topk] (offset past the window rows),
and the candidate mask [queries][width].
Fields§
§compress_kv: Vec<f32>§index_k: Vec<f32>§topk_idxs: Vec<i32>§topk: usize§candidates: Vec<bool>§cand_width: usizeTrait Implementations§
Source§fn default() -> SharedRuntime
fn default() -> SharedRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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