pub enum HcVariant {
Sinkhorn,
LowRank,
}Expand description
Which family a site’s weights select.
Exposed so a caller can answer questions the launch itself cannot — most
importantly whether to apply the layer’s input_norm after hc_pre.
Qwen has no per-layer input_layernorm; hc_norm inside hc_pre plays
that role, and the loader’s ones-filled placeholder does NOT make a second
RMS pass an identity.
Variants§
Sinkhorn
DeepSeek-V4: Sinkhorn mix, [hc, hc] combine matrix.
LowRank
Qwen3.8-Flash-Next: low-rank pair, per-stream scalar injection.
Implementations§
Trait Implementations§
impl Copy for HcVariant
impl Eq for HcVariant
impl StructuralPartialEq for HcVariant
Auto Trait Implementations§
impl Freeze for HcVariant
impl RefUnwindSafe for HcVariant
impl Send for HcVariant
impl Sync for HcVariant
impl Unpin for HcVariant
impl UnwindSafe for HcVariant
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
Compare self to
key and return true if they are equal.