pub struct Footprint {
pub weights: f64,
pub kv_per_token: f64,
pub state_per_seq: f64,
}Expand description
2026-09-30: What one sequence and the whole model hold in device memory.
Fields§
§weights: f642026-09-30: Every weight of every section (embedding at BF16), bytes.
kv_per_token: f642026-09-30: KV bytes per token of one sequence, over every attention node.
state_per_seq: f642026-09-30: Recurrent state bytes of one sequence (GatedDeltaNet and Mamba2).
Implementations§
Trait Implementations§
impl Copy for Footprint
impl StructuralPartialEq for Footprint
Auto Trait Implementations§
impl Freeze for Footprint
impl RefUnwindSafe for Footprint
impl Send for Footprint
impl Sync for Footprint
impl Unpin for Footprint
impl UnwindSafe for Footprint
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