Checkpoint format¶
Maturity: verified
The checkpoint format defines the serialized training state and identity needed to validate and restore a completed optimizer step.
Checkpoint file¶
Checkpoint filename: checkpoints/step_<eight-digit-global-step>.pt.
Exact payload¶
metadata
training_module_state_dict
optimizer_state_dict
Unknown or missing top-level fields fail restore. Model and optimizer values are native PyTorch state dictionaries.
Metadata fields¶
Field |
Contract |
|---|---|
|
positive count of completed optimizer updates |
|
SHA-256 of the complete resolved application config |
|
SHA-256 of resume-compatible training semantics |
|
logical run identity and safe path component |
|
producing attempt identity and safe path component |
|
selected model catalog key |
|
selected objective catalog key |
|
selected optimizer catalog key |
|
SHA-256 identity of the consumed canonical split |
|
exact parent URI, or null for a fresh attempt |
The metadata mapping is exact: unknown or missing fields fail validation. Resume validates its compatibility subset before mutating the newly constructed training module or optimizer.
Unsupported resume state¶
No scheduler, mixed-precision scaler, sampler, dataloader cursor, random-number- generator, epoch, validation, best-model, distributed-rank, or sharded state is stored.
The terminal attempt manifest, not the PyTorch payload, records the checkpoint URI, byte size, and SHA-256 content hash.