pub enum LmHeadChoice {
EngineDefault,
Declared(LmHeadFormat),
PendingFp8Kernel,
}Expand description
2026-09-28: What --lm-head-dtype default resolves to (WeightQuantPolicy::lm_head).
Variants§
EngineDefault
2026-09-28: The engine’s per-model default head: under nvfp4, or with nothing
declared.
Declared(LmHeadFormat)
2026-09-28: The head format the checkpoint declares.
PendingFp8Kernel
2026-09-28: The checkpoint declares an FP8 head but the batched FP8 head kernel
(KernelCaps::fp8_lm_head_batched) is absent: the engine’s default head, which is
above or below the declared precision depending on the model, until it lands.
Trait Implementations§
Source§impl Clone for LmHeadChoice
impl Clone for LmHeadChoice
Source§fn clone(&self) -> LmHeadChoice
fn clone(&self) -> LmHeadChoice
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 LmHeadChoice
impl Debug for LmHeadChoice
Source§impl PartialEq for LmHeadChoice
impl PartialEq for LmHeadChoice
impl Copy for LmHeadChoice
impl Eq for LmHeadChoice
impl StructuralPartialEq for LmHeadChoice
Auto Trait Implementations§
impl Freeze for LmHeadChoice
impl RefUnwindSafe for LmHeadChoice
impl Send for LmHeadChoice
impl Sync for LmHeadChoice
impl Unpin for LmHeadChoice
impl UnwindSafe for LmHeadChoice
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
Checks if this value is equivalent to the given key. Read more
§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.