Companion

Constants and factory functions of GgufModelHeader.

Properties

Link copied to clipboard
const val MAGIC: Long = 1179993927

"GGUF" read as a little-endian uint32.

Link copied to clipboard

Arrays with more elements than this are skipped instead of kept in GgufValue.Array.values.

Functions

Link copied to clipboard

Parses the GGUF header from source. Only the header is read; tensor data is not touched.