pub struct Fp8WeightTransposed {
pub weight_t: DevicePtr,
pub scale_t: DevicePtr,
pub n: u32,
pub k: u32,
}Expand description
2026-09-25: The transpose of a block-scaled Fp8Weight, built by
Fp8Weight::transpose_for_gemm for the prefill GEMM.
Fields§
§weight_t: DevicePtr2026-09-25: [K, N] FP8 E4M3 bytes.
scale_t: DevicePtr2026-09-25: [K/128, N/128] FP32 block scales, rounded up.
n: u32§k: u32Trait Implementations§
Source§impl Clone for Fp8WeightTransposed
impl Clone for Fp8WeightTransposed
Source§fn clone(&self) -> Fp8WeightTransposed
fn clone(&self) -> Fp8WeightTransposed
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 Fp8WeightTransposed
impl Debug for Fp8WeightTransposed
impl Copy for Fp8WeightTransposed
Auto Trait Implementations§
impl Freeze for Fp8WeightTransposed
impl RefUnwindSafe for Fp8WeightTransposed
impl Send for Fp8WeightTransposed
impl Sync for Fp8WeightTransposed
impl Unpin for Fp8WeightTransposed
impl UnwindSafe for Fp8WeightTransposed
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