Skip to main content

Module triage

Module triage 

Source
Expand description

What a checkpoint of an architecture no arm reads carries.

A checkpoint names its architecture (general.architecture) and holds its tensors. When no arm of ModelSpec::from_source reads the name, the tensors still say what the model is: triage reads the checkpoint under each architecture an arm reads (ARCHITECTURES) and, for every reading that succeeds, sets the tensors the author’s decode step reads for it beside the checkpoint’s own. A reading whose step reads exactly the checkpoint’s tensors is a family the checkpoint carries under another name; the rest are ranked by the tensors they would read that the checkpoint lacks and the checkpoint’s tensors they would leave unread.

Two families can read the same tensors and differ in what only the name selects — Llama’s and Qwen3’s rotations pair different dimensions — so a refusal names every exact reading, never a guess among them.

Structs§

Reading
One architecture’s reading of a checkpoint.

Constants§

ARCHITECTURES
Every architecture an arm of ModelSpec::from_source reads, in the order a tie between two readings is broken.

Functions§

refusal
Why g, of an architecture no arm reads, is refused, and what it carries: the families whose tensors it holds exactly, or the nearest reading and what it lacks and adds.
tensors_read
The checkpoint tensors a decode step of spec reads: every weight its program declares, through its binding, and the rotation’s frequency factors when the spec rotates by them.
triage
Every architecture’s reading of g: the exact ones first, then those that read it by how much each lacks and leaves unread, then those that do not read it.