#[non_exhaustive]pub enum LlamaDflashVariant {
None,
Dflash,
Dflash2,
Dspark,
Lilicorr,
}Expand description
Which DFlash draft family a checkpoint belongs to.
Mirrors llama_dflash_variant. None is upstream’s -1 and
means the model is not a DFlash draft, which is the case for every
ordinary checkpoint.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LlamaDflashVariant
impl Clone for LlamaDflashVariant
impl Copy for LlamaDflashVariant
Source§impl Debug for LlamaDflashVariant
impl Debug for LlamaDflashVariant
impl Eq for LlamaDflashVariant
Source§impl Hash for LlamaDflashVariant
impl Hash for LlamaDflashVariant
Source§impl PartialEq for LlamaDflashVariant
impl PartialEq for LlamaDflashVariant
impl StructuralPartialEq for LlamaDflashVariant
Auto Trait Implementations§
impl Forget for LlamaDflashVariant
impl Freeze for LlamaDflashVariant
impl Move for LlamaDflashVariant
impl RefUnwindSafe for LlamaDflashVariant
impl Send for LlamaDflashVariant
impl Sync for LlamaDflashVariant
impl Unpin for LlamaDflashVariant
impl UnsafeUnpin for LlamaDflashVariant
impl UnwindSafe for LlamaDflashVariant
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