pub struct ExecutionToggles {
pub kv_int8: bool,
pub resident_decode: bool,
pub coop_gemv: bool,
pub ffn_fusion: bool,
pub ffn_f16: bool,
pub ternary_ffn: bool,
}Expand description
Runtime knobs that compose with InferenceMode (env-applied at load).
Fields§
§kv_int8: boolW5a int8 KV cache (native; ~3.8× less KV BW when on).
resident_decode: boolResident mega-pass decode when available.
coop_gemv: boolCooperative GEMV.
ffn_fusion: boolFFN fusion in resident path.
ffn_f16: boolPromote FFN weights to f16 in VRAM when measuring.
ternary_ffn: boolTernary (BitNet-class ~1.58b / ≈1.6 bit/weight) FFN path when container has it.
Trait Implementations§
Source§impl Clone for ExecutionToggles
impl Clone for ExecutionToggles
Source§fn clone(&self) -> ExecutionToggles
fn clone(&self) -> ExecutionToggles
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExecutionToggles
impl Debug for ExecutionToggles
Source§impl Default for ExecutionToggles
impl Default for ExecutionToggles
Source§fn default() -> ExecutionToggles
fn default() -> ExecutionToggles
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecutionToggles
impl<'de> Deserialize<'de> for ExecutionToggles
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExecutionToggles
impl PartialEq for ExecutionToggles
Source§fn eq(&self, other: &ExecutionToggles) -> bool
fn eq(&self, other: &ExecutionToggles) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecutionToggles
impl Serialize for ExecutionToggles
impl StructuralPartialEq for ExecutionToggles
Auto Trait Implementations§
impl Freeze for ExecutionToggles
impl RefUnwindSafe for ExecutionToggles
impl Send for ExecutionToggles
impl Sync for ExecutionToggles
impl Unpin for ExecutionToggles
impl UnsafeUnpin for ExecutionToggles
impl UnwindSafe for ExecutionToggles
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.