pub struct DenseFfnWeightsBf16 {
pub gate_proj: DenseWeight,
pub up_proj: DenseWeight,
pub down_proj: DenseWeight,
}Expand description
2026-09-25: BF16 dense MLP weights. Once installed with set_bf16_weights, decode runs
dense_gemv_bf16 and prefill runs cuBLASLt, dense_gemm_tc or dense_gemm_bf16.
Fields§
§gate_proj: DenseWeight§up_proj: DenseWeight§down_proj: DenseWeightAuto Trait Implementations§
impl Freeze for DenseFfnWeightsBf16
impl RefUnwindSafe for DenseFfnWeightsBf16
impl Send for DenseFfnWeightsBf16
impl Sync for DenseFfnWeightsBf16
impl Unpin for DenseFfnWeightsBf16
impl UnwindSafe for DenseFfnWeightsBf16
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