pub struct IndexerWeightsGpu {
pub wq_b: DevicePtr,
pub weights_proj: DevicePtr,
pub wk: Option<DevicePtr>,
pub k_norm: Option<DevicePtr>,
}Expand description
2026-09-25: Indexer weights (index sources only): bf16 wq_b
[index_heads * index_hd, q_rank] and weights_proj [index_heads, dim];
on a layer that is also a kv source, bf16 wk [index_hd, hd] and f32
k_norm [index_hd].
Fields§
§wq_b: DevicePtr§weights_proj: DevicePtr§wk: Option<DevicePtr>§k_norm: Option<DevicePtr>Auto Trait Implementations§
impl Freeze for IndexerWeightsGpu
impl RefUnwindSafe for IndexerWeightsGpu
impl Send for IndexerWeightsGpu
impl Sync for IndexerWeightsGpu
impl Unpin for IndexerWeightsGpu
impl UnwindSafe for IndexerWeightsGpu
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