pub struct ResidencyBlock {Show 17 fields
pub sram_bytes: usize,
pub activations_per_token_bytes: usize,
pub activations_peak_layer: usize,
pub activations_peak_layer_kind: &'static str,
pub activations_fit_sram: bool,
pub lm_head_live_set_bytes: usize,
pub lm_head_live_set_per_chip_bytes: usize,
pub gdn_state_bytes: usize,
pub gdn_state_bytes_per_chip: usize,
pub conv_state_bytes: usize,
pub conv_state_bytes_per_chip: usize,
pub kv_cache_bytes_per_token: usize,
pub kv_cache_bytes_per_token_per_chip: usize,
pub recurrent_working_set_per_chip_bytes: usize,
pub sram_fit_per_chip: bool,
pub tiers: Tiers,
pub provenance: &'static str,
}Fields§
§sram_bytes: usize§activations_per_token_bytes: usizeThe largest live set of a layer, bf16 — from a liveness walk over the authored forward.
activations_peak_layer: usize§activations_peak_layer_kind: &'static str§activations_fit_sram: bool§lm_head_live_set_bytes: usizeThe live set at the LM head — the logits row beside the normed hidden state, bf16 — and its vocab-parallel share per chip.
lm_head_live_set_per_chip_bytes: usize§gdn_state_bytes: usize§gdn_state_bytes_per_chip: usize§conv_state_bytes: usize§conv_state_bytes_per_chip: usize§kv_cache_bytes_per_token: usize§kv_cache_bytes_per_token_per_chip: usize§recurrent_working_set_per_chip_bytes: usizeActivations + the GDN memory + the conv rings on one chip.
sram_fit_per_chip: boolThe recurrent working set, or the LM head’s moment, whichever is larger, fits the SRAM.
tiers: Tiers§provenance: &'static strTrait Implementations§
Source§impl Clone for ResidencyBlock
impl Clone for ResidencyBlock
Source§fn clone(&self) -> ResidencyBlock
fn clone(&self) -> ResidencyBlock
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 ResidencyBlock
impl Debug for ResidencyBlock
Source§impl PartialEq for ResidencyBlock
impl PartialEq for ResidencyBlock
Source§impl Serialize for ResidencyBlock
impl Serialize for ResidencyBlock
impl Eq for ResidencyBlock
impl StructuralPartialEq for ResidencyBlock
Auto Trait Implementations§
impl Freeze for ResidencyBlock
impl RefUnwindSafe for ResidencyBlock
impl Send for ResidencyBlock
impl Sync for ResidencyBlock
impl Unpin for ResidencyBlock
impl UnsafeUnpin for ResidencyBlock
impl UnwindSafe for ResidencyBlock
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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.