Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Distribution::StoredModel Struct Referenceexport

A record together with where its bytes actually are. More...

Public Attributes

uint64_t bytes_on_disk { 0 }
bool complete { false }
 False when a declared file is missing from blobs/, which makes the model unloadable.
ModelRecord record
std::filesystem::path tokenizer_path
std::filesystem::path weights_path

Detailed Description

A record together with where its bytes actually are.

bytes_on_disk sums the model's own files. A blob shared between variants is counted in each, so the per-model figures deliberately do not sum to the store total.


The documentation for this struct was generated from the following file: