Skip to main content

LlamaFileType

Enum LlamaFileType 

Source
#[repr(i32)]
pub enum LlamaFileType {
Show 36 variants AllF32 = 0, MostlyF16 = 1, MostlyQ4_0 = 2, MostlyQ4_1 = 3, MostlyQ8_0 = 7, MostlyQ5_0 = 8, MostlyQ5_1 = 9, MostlyQ2K = 10, MostlyQ3KS = 11, MostlyQ3KM = 12, MostlyQ3KL = 13, MostlyQ4KS = 14, MostlyQ4KM = 15, MostlyQ5KS = 16, MostlyQ5KM = 17, MostlyQ6K = 18, MostlyIQ2XXS = 19, MostlyIQ2XS = 20, MostlyQ2KS = 21, MostlyIQ3XS = 22, MostlyIQ3XXS = 23, MostlyIQ1S = 24, MostlyIQ4NL = 25, MostlyIQ3S = 26, MostlyIQ3M = 27, MostlyIQ2S = 28, MostlyIQ2M = 29, MostlyIQ4XS = 30, MostlyIQ1M = 31, MostlyBf16 = 32, MostlyTQ1_0 = 36, MostlyTQ2_0 = 37, MostlyMxfp4Moe = 38, MostlyNvfp4 = 39, MostlyQ1_0 = 40, MostlyQ2_0 = 41,
}

Variants§

§

AllF32 = 0

§

MostlyF16 = 1

§

MostlyQ4_0 = 2

§

MostlyQ4_1 = 3

§

MostlyQ8_0 = 7

§

MostlyQ5_0 = 8

§

MostlyQ5_1 = 9

§

MostlyQ2K = 10

§

MostlyQ3KS = 11

§

MostlyQ3KM = 12

§

MostlyQ3KL = 13

§

MostlyQ4KS = 14

§

MostlyQ4KM = 15

§

MostlyQ5KS = 16

§

MostlyQ5KM = 17

§

MostlyQ6K = 18

§

MostlyIQ2XXS = 19

§

MostlyIQ2XS = 20

§

MostlyQ2KS = 21

§

MostlyIQ3XS = 22

§

MostlyIQ3XXS = 23

§

MostlyIQ1S = 24

§

MostlyIQ4NL = 25

§

MostlyIQ3S = 26

§

MostlyIQ3M = 27

§

MostlyIQ2S = 28

§

MostlyIQ2M = 29

§

MostlyIQ4XS = 30

§

MostlyIQ1M = 31

§

MostlyBf16 = 32

§

MostlyTQ1_0 = 36

§

MostlyTQ2_0 = 37

§

MostlyMxfp4Moe = 38

§

MostlyNvfp4 = 39

§

MostlyQ1_0 = 40

§

MostlyQ2_0 = 41

Trait Implementations§

Source§

impl Clone for LlamaFileType

Source§

fn clone(&self) -> LlamaFileType

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for LlamaFileType

Source§

impl Debug for LlamaFileType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for LlamaFileType

Source§

impl PartialEq for LlamaFileType

Source§

fn eq(&self, other: &LlamaFileType) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for LlamaFileType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.