pub struct SsmWeights {
pub in_proj_qkvz: DenseWeight,
pub in_proj_ba: DenseWeight,
pub conv1d: DenseWeight,
pub a_log: DenseWeight,
pub dt_bias: DenseWeight,
pub norm: DenseWeight,
pub out_proj: QuantizedWeight,
}Expand description
Linear attention (SSM / Gated Delta Net) layer weights (36 layers).
Fields§
§in_proj_qkvz: DenseWeightQKVZ projection: [hidden_size, qkvz_size] BF16.
in_proj_ba: DenseWeightBeta-Alpha projection: [hidden_size, ba_size] BF16.
conv1d: DenseWeightConv1d weight: [d_inner, 1, d_conv] BF16.
a_log: DenseWeightA_log parameter: [num_v_heads] FP32.
dt_bias: DenseWeightdt_bias parameter: [num_v_heads] FP32.
norm: DenseWeightGate norm weight: [hidden_size] BF16.
out_proj: QuantizedWeightOutput projection: [hidden_size, hidden_size] NVFP4.
Trait Implementations§
Source§impl Clone for SsmWeights
impl Clone for SsmWeights
Source§fn clone(&self) -> SsmWeights
fn clone(&self) -> SsmWeights
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 SsmWeights
impl Debug for SsmWeights
impl Copy for SsmWeights
Auto Trait Implementations§
impl Freeze for SsmWeights
impl RefUnwindSafe for SsmWeights
impl Send for SsmWeights
impl Sync for SsmWeights
impl Unpin for SsmWeights
impl UnwindSafe for SsmWeights
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