pub struct Fp8GroupedW8a8Layout {
pub act_s: usize,
pub xq: usize,
pub xs: usize,
pub sh_s: usize,
}Expand description
2026-09-28: Byte offsets of the W8A8 activations inside the grouped decode’s buffers.
The routed SiLU buffer (expert_gate_out, sized for [te, inter] FP32) holds the routed
E4M3 products [te, inter], their scales [te, inter / 128] FP32, the quantized layer
input [m, hidden] E4M3 and its scales [m, hidden / 128]; the shared SiLU buffer
(logits, [m, inter] FP32) holds the shared products and their scales.
Fields§
§act_s: usize§xq: usize§xs: usize§sh_s: usizeImplementations§
Trait Implementations§
Source§impl Clone for Fp8GroupedW8a8Layout
impl Clone for Fp8GroupedW8a8Layout
Source§fn clone(&self) -> Fp8GroupedW8a8Layout
fn clone(&self) -> Fp8GroupedW8a8Layout
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 Fp8GroupedW8a8Layout
impl Debug for Fp8GroupedW8a8Layout
Source§impl PartialEq for Fp8GroupedW8a8Layout
impl PartialEq for Fp8GroupedW8a8Layout
impl Copy for Fp8GroupedW8a8Layout
impl Eq for Fp8GroupedW8a8Layout
impl StructuralPartialEq for Fp8GroupedW8a8Layout
Auto Trait Implementations§
impl Freeze for Fp8GroupedW8a8Layout
impl RefUnwindSafe for Fp8GroupedW8a8Layout
impl Send for Fp8GroupedW8a8Layout
impl Sync for Fp8GroupedW8a8Layout
impl Unpin for Fp8GroupedW8a8Layout
impl UnwindSafe for Fp8GroupedW8a8Layout
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.