Repository navigation
Releases
v0.2.3
What's Changed
- docs: complete GitHub and package entry points by @gedouluhui in #2
- Scaffold offline experiments and validate reports by @gedouluhui in #3
Full Changelog: v0.2.2...v0.2.3
resumetrace 0.2.2
RNG evidence validation, dependency lanes and process-tree cleanup. Local verification is documented in the repository; no external real-world certification is claimed.
ResumeTrace 0.2.1 — RNG evidence validation
ResumeTrace 0.2.1 — pre-release.
Fix: RNG evidence is validated against the runtime's real format
The independent read-only review of 0.2.0a1 found a contract hole. An observation whose RNG fingerprint was structurally self-consistent but described a state the interpreter never produces — the reported example was a Torch state with dtype float32 and shape [0] — was compared rather than rejected. Both runs then carried the same invalid value, so the comparison matched and the audit could pass while promising that malformed evidence is rejected.
The parent now checks each default RNG's internal structure, dtype and shape before any comparison:
- Python state: version integer, internal tuple at the declared length with integer leaves, Gaussian cache
Noneor float; - NumPy state: key string, MT19937 tensor with dtype uint32 and shape 624, integer position, float Gaussian cache;
- Torch state: the declared dtype (uint8) and shape (5056 on this build).
Rejection uses the existing invalid_worker_result reason; no public state, CLI flag or report schema changed.
Verification
python -m unittest discover -s tests -v: 101 tests, 100 passed, 1 skipped in 1060 s. The skip is Windows symlink creation permission, not a pass.test_parent_rejects_structurally_invalid_rng_from_real_workermutates five cases out of a captured real worker result (the float32 empty Torch state, a wrong Torch shape, a wrong NumPy dtype, a truncated Python tuple, a non-numeric Gaussian cache). All five are rejected.- The installed wheel from this release runs
demo --fault none→ PASS anddemo --fault optimizer→ DRIFT.
What this release is not
- No independent whole-project final approval. That gap is unchanged and stated in
docs/VALIDATION.md. - No GPU, DDP, AMP, arbitrary loader or cross-platform bitwise claim.
docs/INTEGRATION.mdrecords the consolidation of the ResumeLedger and ResumeWitness candidates into this single public entry point: what was adopted, what was rejected and why.
Assets
resumetrace-0.2.1-py3-none-any.whl, resumetrace-0.2.1.tar.gz, SHA256SUMS.txt.
v0.2.0a1 — opt-in Torch state inspection
Experimental v0.2.0a1
Adds an opt-in TorchSession wrapper that inspects the live model and native optimizer instead of trusting checkpoint IDs. The existing generic checkpoint-continuation flow and v0.1.0 release remain unchanged.
- Map optimizer state to actual registered parameter names across fresh interpreters.
- Observe parameters, buffers, per-module train/eval state,
requires_grad, optimizer groups, and native SGD/AdamW state. - Guard observer and save callbacks against mutation; reject aliased or overlapping storage and unsupported state as
INVALID. - Include guarded SGD examples that produce a real PASS and named
observer_state_changed/save_state_changedfailures.
Local validation: 100 tests ran with 99 passed and one Windows symlink-permission test skipped. The guarded example returned PASS, and its observer/save fault controls returned INVALID with the expected named checks. The built wheel was installed into a temporary venv outside the source tree; the normal demo returned PASS/0 and the process-cache demo returned DRIFT/1. PyTorch and NumPy were reused from the existing environment, so this is not a clean dependency-installation claim. See Validation and limitations.
The full GitHub Actions matrix (Ubuntu 3.10/3.12, Windows 3.12) also completed successfully: tag run 44413351385, main run 44413283808.
This is a pre-release, not a universal checkpoint-correctness or convergence guarantee. It supports deterministic CPU eager training with native SGD/AdamW only. GPU/distributed/AMP, arbitrary frameworks, shared parameters and unobserved state remain outside scope. A separate independent whole-project review remains outstanding; the release is explicitly experimental.
Assets: Python wheel, source distribution, and SHA-256 checksums. PyTorch/NumPy are dependencies, not bundled binaries. This release does not publish a PyPI package.
v0.1.0 — experimental checkpoint recovery tests
Experimental v0.1
Test checkpoint continuation across actual Python process exits, using your own training factory and save/load callbacks. No GPU, downloaded model or API key is required for the included demonstration.
- Four fresh interpreter lifecycles, independent deterministic control, real data-pipeline re-entry.
- Exact typed state fingerprints plus Python/NumPy/CPU PyTorch RNG evidence.
- Deliberate missing optimizer, RNG, cursor, scheduler and process-local-cache examples.
- Offline JSON/HTML reports and a working Windows venv/console entrypoint.
Open the recorded evidence demo · Validation and limitations
Local validation: 62 tests passed and one Windows symlink-permission test skipped; eight actual training scenarios matched their expected outcomes. Final wheel installation and console success/failure flows were exercised. GitHub CI passed Linux Python 3.10/3.12 and Windows Python 3.12, including installation, tests, build and a real demo.
This is an experimental release, not a general checkpoint-correctness guarantee. GPU/distributed/AMP and unobserved state are outside its scope. A separate whole-project final independent review remains outstanding due to review-service quota; scoped review and actual execution are documented, not presented as that missing approval.
Assets: installable Python wheel, source distribution, and SHA-256 checksums. PyTorch/NumPy are dependencies, not bundled binaries. This release does not publish a PyPI package.