pub enum ContainerType {
Ggml,
Ggmf,
Ggjt,
}
Expand description
The format of the file containing the model.
Variants§
Ggml
Legacy format, oldest ggml tensor file format
Ggmf
Legacy format. Introduces versioning. Newer than GGML, older than GGJT.
Ggjt
mmap-able format.
Implementations§
Source§impl ContainerType
impl ContainerType
Sourcepub fn support_mmap(&self) -> bool
pub fn support_mmap(&self) -> bool
Does this container type support mmap?
Trait Implementations§
Source§impl Clone for ContainerType
impl Clone for ContainerType
Source§fn clone(&self) -> ContainerType
fn clone(&self) -> ContainerType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ContainerType
impl Debug for ContainerType
Source§impl PartialEq for ContainerType
impl PartialEq for ContainerType
impl Copy for ContainerType
impl StructuralPartialEq for ContainerType
Auto Trait Implementations§
impl Freeze for ContainerType
impl RefUnwindSafe for ContainerType
impl Send for ContainerType
impl Sync for ContainerType
impl Unpin for ContainerType
impl UnwindSafe for ContainerType
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