pub enum BoundWeight {
Dense(DenseWeight),
Nvfp4(QuantizedWeight),
Mmq(DevicePtr),
W8a8(W8a8Weight, W8a8Kernels),
}Expand description
2026-09-28: A bound weight and its storage format.
Variants§
Dense(DenseWeight)
2026-09-28: Unquantized (BF16 for projections; norms and GDN vectors as loaded).
Nvfp4(QuantizedWeight)
2026-09-28: NVFP4, group 16.
Mmq(DevicePtr)
2026-09-28: NVFP4 repacked for the MMQ GEMM (ops::nvfp4_mmq_repack); its
weight_scale_2 stays with the source weight.
W8a8(W8a8Weight, W8a8Kernels)
2026-09-30: A declared W8A8 projection (W8a8Mixer, W8a8Ffn): the checkpoint’s E4M3
weight with its scales, and the kernels its layer runs it with.
Implementations§
Trait Implementations§
Source§impl Clone for BoundWeight
impl Clone for BoundWeight
Source§fn clone(&self) -> BoundWeight
fn clone(&self) -> BoundWeight
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoundWeight
impl Debug for BoundWeight
impl Copy for BoundWeight
Auto Trait Implementations§
impl Freeze for BoundWeight
impl RefUnwindSafe for BoundWeight
impl Send for BoundWeight
impl Sync for BoundWeight
impl Unpin for BoundWeight
impl UnwindSafe for BoundWeight
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