pub struct AttendJob;Expand description
The word a hybrid engine’s core gives its attention side with a token-row of an attention job
(Streaming::attention), its fields from the lowest bit, each 32 bits but the last: the row’s region (its first
line), its block’s keys’, values’, key scales’ and value scales’ offsets in it, the cached heads, the row’s positions
(its own and every one before), the score scale’s bits, the store beats of the row’s query and of its output, and
the query heads (16 bits).
Implementations§
Source§impl AttendJob
impl AttendJob
pub const REGION: usize = 0
pub const KEYS: usize = 32
pub const VALUES: usize = 64
pub const KEY_SCALES: usize = 96
pub const VALUE_SCALES: usize = 128
pub const KV_HEADS: usize = 160
pub const POSITIONS: usize = 192
pub const SCALE: usize = 224
pub const QUERY: usize = 256
pub const OUTPUT: usize = 288
pub const HEADS: usize = 320
pub const BITS: usize = 336
Auto Trait Implementations§
impl Freeze for AttendJob
impl RefUnwindSafe for AttendJob
impl Send for AttendJob
impl Sync for AttendJob
impl Unpin for AttendJob
impl UnsafeUnpin for AttendJob
impl UnwindSafe for AttendJob
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
§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.