Expand description
The central data model: a ModelRecord and the value types it composes.
Structs§
- Model
Record - A single model the kernel knows about: what it is, where it lives, how it runs, and how the user has configured it.
- Model
Source - Where a model’s weights live and how it is identified.
- Param
Spec - The schema of one tunable parameter a model exposes.
- Runtime
Ref - The runtime a model resolves to, plus how that choice was made.
Enums§
- Param
Type - The type of a tunable parameter.
- Resolution
- How a model was resolved to its runtime.
Functions§
- stable_
id - The stable identity of a model: the first eight bytes of the SHA-256 of the
source’s
(kind, path, repo)fields, hex-encoded. The fields are hashed with a length prefix so the mapping is injective — a|(or any byte) inside a path or repo cannot make two distinct sources collide. Two sources with the same kind, path, and repo map to the same id.