resumetrace /
Code & tests on GitHub
PyTorch checkpoint testing · experimental v0.1

Your checkpoint loads.
Does training actually resume?

A new object can inherit hidden state. A new Python process cannot. Compare real training before and after a process exit, using your own checkpoint callbacks.

Train→SavePROCESS EXITReconstruct→Load & continue
DELIBERATELY BROKEN CHECKPOINT

The state that never reached disk.

A tiny model really trains with dropout, AdamW and a shuffled data cursor. Its faulty saver leaves optimizer state in a module-global dictionary. Same-process reconstruction can appear to work; cold recovery exposes the missing state.

Inspect the DRIFT report →

Actual recorded execution, not a mock UI. Eight steps; checkpoint after four. JSON evidence

COMPLETE CHECKPOINT

The matching control.

The correct saver persists the observed training state. Independent continuous runs establish repeatability before the cold-process comparison is accepted.

Inspect the PASS report →

Same small training setup. Exact observed-state equality over a finite horizon. JSON evidence

Evidence, not a universal guarantee.

These are original, synthetic-data CPU demonstrations. No pretrained model, GPU, API key or uploaded data is required. Reports contain fingerprints and explicit numeric metrics, not raw weights.

This release targets deterministic CPU eager training. It does not validate CUDA, distributed training, AMP, undeclared state or future steps. Your training callbacks are trusted executable code, not sandboxed.

To reproduce: install the source, then run python -m resumetrace demo --fault process-cache --json drift.json --html drift.html. The expected exit code is 1 because the checkpoint is intentionally wrong.