pub enum LmHeadFormat {
Bf16,
Fp8,
Nvfp4,
}Expand description
2026-09-28: The lm_head format --lm-head-dtype default resolves to under declared.
Variants§
Bf16
2026-09-28: The head stays 16-bit (the checkpoint does not quantize it).
Fp8
2026-09-28: The checkpoint’s FP8 head, decoded W8A16 (W8A8 once the kernels land).
Nvfp4
2026-09-28: NVFP4.
Trait Implementations§
Source§impl Clone for LmHeadFormat
impl Clone for LmHeadFormat
Source§fn clone(&self) -> LmHeadFormat
fn clone(&self) -> LmHeadFormat
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 LmHeadFormat
impl Debug for LmHeadFormat
Source§impl PartialEq for LmHeadFormat
impl PartialEq for LmHeadFormat
impl Copy for LmHeadFormat
impl Eq for LmHeadFormat
impl StructuralPartialEq for LmHeadFormat
Auto Trait Implementations§
impl Freeze for LmHeadFormat
impl RefUnwindSafe for LmHeadFormat
impl Send for LmHeadFormat
impl Sync for LmHeadFormat
impl Unpin for LmHeadFormat
impl UnwindSafe for LmHeadFormat
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.