pub struct Tables {
pub jobs: Vec<u64>,
pub rows: Vec<u128>,
pub slots: Vec<u64>,
pub tensors: Vec<u128>,
pub ropes: Vec<u64>,
pub blocks: Vec<[u32; 16]>,
pub state_f16: bool,
pub cache_int8: bool,
pub two_words: bool,
pub per_block: bool,
}Expand description
The engine’s tables for one step, as the host writes them.
Fields§
§jobs: Vec<u64>The jobs’ words (crate::spatial::decode_engine::machine::encode).
rows: Vec<u128>Per row: its region’s first line [31:0], its position [63:32], its ring index [71:64].
slots: Vec<u64>Per slot code: its first beat [31:0], its beats a row [63:32].
tensors: Vec<u128>Per tensor: its first line [31:0], its ggml type [39:32], its row’s elements [63:40], its rows [87:64].
ropes: Vec<u64>Per rotary table: its first line [31:0], its pairs [63:32].
blocks: Vec<[u32; 16]>Per layer, sixteen 32-bit fields from the lowest. A Gated-DeltaNet block’s: its ring’s offset in bytes, its channels, its ring rows, its memory’s and its log’s offsets, a log entry’s bytes, its key and value heads, its width, its log entry’s values, decay exponents and gates (elements), the tokens of a flush (0 for a memory rewritten every pass), its read-out’s scale’s bits. An attention block’s: its keys’ and values’ offsets, its key and value scales’ offsets, its cached heads, its widths of key and value. The last field 0 for a Gated-DeltaNet block, 1 for an attention block.
state_f16: boolWhether the state stores binary16, whether the cache stores int8 codes, whether an activation crosses the array in two words, whether activations are scaled per weight block.
cache_int8: bool§two_words: bool§per_block: boolTrait Implementations§
impl StructuralPartialEq for Tables
Auto Trait Implementations§
impl Freeze for Tables
impl RefUnwindSafe for Tables
impl Send for Tables
impl Sync for Tables
impl Unpin for Tables
impl UnsafeUnpin for Tables
impl UnwindSafe for Tables
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
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>
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>
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)
&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)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.