Skip to main content

Module manifest

Module manifest 

Source
Expand description

On-disk packed tensor layouts, independent of runtime sequence state.

Structs§

DenseEntry
Where a dense tensor lives inside dense.bin.
ExpertLayout
Expert record layout inside experts.bin. One record per (layer, expert): three packed 4-bit weight matrices followed by their scales and biases, padded to a page multiple so each record can be its own Metal buffer.
Manifest
NgramLayout
N-gram table layout inside ngram.bin: one row_bytes record per hashed id holding the packed 4-bit row, then its scales, then its biases.

Constants§

PAGE