pub struct W8a8Weight { /* private fields */ }Expand description
2026-09-28: One W8A8 projection: up to three E4M3 weights with the same K and scale layout, stacked by rows into one output (attention Q|K|V, GDN QKV|Z, FFN gate|up). The checkpoint’s tensors are read in place.
Implementations§
Source§impl W8a8Weight
impl W8a8Weight
Sourcepub fn segment(&self, i: usize) -> Result<W8a8Weight>
pub fn segment(&self, i: usize) -> Result<W8a8Weight>
2026-09-30: Segment i as a weight of its own. A segment’s output rows read only its
own weight rows and scales, so its launch writes the bits the stacked launch writes
for those rows.
Source§impl W8a8Weight
impl W8a8Weight
Trait Implementations§
Source§impl Clone for W8a8Weight
impl Clone for W8a8Weight
Source§fn clone(&self) -> W8a8Weight
fn clone(&self) -> W8a8Weight
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 W8a8Weight
impl Debug for W8a8Weight
impl Copy for W8a8Weight
Auto Trait Implementations§
impl Freeze for W8a8Weight
impl RefUnwindSafe for W8a8Weight
impl Send for W8a8Weight
impl Sync for W8a8Weight
impl Unpin for W8a8Weight
impl UnwindSafe for W8a8Weight
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