Crate gguf_rs

Source

Structs§

GGUFContainer
GGUF file container.
GGUFModel
GGUF model.
Tensor
Tensor in the GGUF file.
V1
Version 1 of the GGUF file.
V2
Version 2 of the GGUF file.
V3
Version 3 of the GGUF file.

Enums§

ByteOrder
Byte order of the GGUF file.
GGMLType
GGML type of a tensor in the GGUF file.
MetadataValueType
Version
Version of the GGUF file.

Constants§

FILE_MAGIC_GGJT
Magic constant for ggml files (versioned, ggjt).
FILE_MAGIC_GGLA
Magic constant for ggla files (LoRA adapter).
FILE_MAGIC_GGMF
Magic constant for ggml files (versioned, ggmf).
FILE_MAGIC_GGML
Magic constant for ggml files (unversioned).
FILE_MAGIC_GGUF_BE
FILE_MAGIC_GGUF_LE
Magic constant for gguf files (versioned, gguf)

Functions§

get_gguf_container
Get a GGUFContainer from a file.