pub struct Totals {
pub weights_stored: u64,
pub weights_outside: u64,
pub weights_derived: u64,
pub weights_leaked: u64,
pub activations_planned: u64,
pub activations: u64,
pub workspace: u64,
pub states: u64,
pub caches: u64,
pub host: u64,
pub driver: u64,
pub device: u64,
}Expand description
2026-10-02: The sums.
Fields§
§weights_stored: u64§weights_outside: u642026-10-02: Of the stored bytes, the checkpoint tensors no weight node binds (norms, conv
and gate parameters, a vision tower), measured by the caller (MemoryReport::with_outside).
weights_derived: u64§weights_leaked: u642026-10-02: Of the derived bytes, the leaked ones.
activations_planned: u642026-10-02: The planner’s peak arena.
activations: u642026-10-02: The activations the budget charges (the legacy arena when given).
workspace: u642026-10-02: Workspaces the budget charges.
states: u642026-10-02: Recurrent pool and KV.
caches: u642026-10-02: Device caches.
host: u642026-10-02: Host caches.
driver: u64§device: u642026-10-02: Everything on the device.
Trait Implementations§
impl Copy for Totals
impl Eq for Totals
impl StructuralPartialEq for Totals
Auto Trait Implementations§
impl Freeze for Totals
impl RefUnwindSafe for Totals
impl Send for Totals
impl Sync for Totals
impl Unpin for Totals
impl UnwindSafe for Totals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.