pub struct CublasScope {
pub ffn: bool,
pub attn: bool,
pub ssm: bool,
pub head: bool,
}Expand description
2026-09-25: Which projection families take a cuBLASLt GEMM arm, so one family can be armed without the others.
Grammar: METRALE_CUBLAS_GEMM=<token>[,<token>]*, ASCII-case-insensitive,
whitespace around a token ignored:
| token | meaning |
|---|---|
ffn | dense-FFN and MoE shared-expert projections |
attn | attention Q/K/V, O and the output gate |
ssm | GDN in_proj_qkvz and out_proj |
head | LM / MTP head (see CublasScope::head) |
all, 1, true | every family |
off, 0, false, empty | the empty set |
The result is the union of the tokens, so off clears nothing (ffn,off
is ffn). Unknown tokens are dropped and reported, and never widen the
set.
Fields§
§ffn: bool2026-09-25: Dense-FFN gate/up/down and the MoE shared expert.
attn: bool2026-09-25: Attention Q/K/V, O projection and the output gate.
ssm: bool2026-09-25: GDN in_proj_qkvz and out_proj, in prefill and decode.
head: bool2026-09-25: LM / MTP head. Parsed and set by all, but no dispatch site
reads it, so setting it changes nothing.
Implementations§
Source§impl CublasScope
impl CublasScope
Sourcepub const OFF: Self
pub const OFF: Self
2026-09-25: No family armed: what an absent, empty or off
METRALE_CUBLAS_GEMM resolves to, and the value in
GemmDispatch::defaults.
Trait Implementations§
Source§impl Clone for CublasScope
impl Clone for CublasScope
Source§fn clone(&self) -> CublasScope
fn clone(&self) -> CublasScope
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CublasScope
impl Debug for CublasScope
Source§impl Default for CublasScope
impl Default for CublasScope
Source§fn default() -> CublasScope
fn default() -> CublasScope
Source§impl PartialEq for CublasScope
impl PartialEq for CublasScope
impl Copy for CublasScope
impl Eq for CublasScope
impl StructuralPartialEq for CublasScope
Auto Trait Implementations§
impl Freeze for CublasScope
impl RefUnwindSafe for CublasScope
impl Send for CublasScope
impl Sync for CublasScope
impl Unpin for CublasScope
impl UnwindSafe for CublasScope
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
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
§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
key and return true if they are equal.