Skip to content

Add versioned trainer graphs and logical-rank APIs - #925

Draft
bradhilton wants to merge 44 commits into
mainfrom
stark/trainer-v1-20260917
Draft

bradhilton wants to merge 44 commits into
mainfrom
stark/trainer-v1-20260917

Conversation

@bradhilton

@bradhilton bradhilton commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Adds logical DP and rank-zero training APIs, versioned backward graphs, and checkpoint-owned live parameters/modules. The planner can retain, offload or replay state; backward commits gradients transactionally. Default staleness is two updates (0 is strict), with eligible importance correction when current probabilities are available. Native retained backward supports BF16 and rejects unsupported quantized Transformer Engine state.

Paired with Caladan #459. Fixes delivery-test typing, keeps Tinker client imports from patching global asyncio, and releases the previous logical batch before advancing the physical iterator. Fresh Astra and Fable source reviews approve the fixes. CPU CI and 2×H200 GPU CI pass at 4d9c63111a, including the new lifetime regression. The GPU cluster termination completed. A secondary cleanup-error gap in placement/client export remains a documented follow-up.

Earlier revisions passed eight-GPU derivative/memory canaries, learning comparisons, and a configured protocol-8 factory smoke. Qwen3-8B measurements showed 12.1% lower throughput at four 1K inputs (ABBA) and 4.5% lower at four 4K inputs (one pair); these retain their original source scope and make no throughput claim for the latest fixes.

@bradhilton
bradhilton had a problem deploying to trainer-rank-gpu-validation September 18, 2026 00:36 — with GitHub Actions Failure
@bradhilton
bradhilton had a problem deploying to trainer-rank-gpu-validation September 18, 2026 01:04 — with GitHub Actions Error
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 18, 2026 01:24 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 19, 2026 21:25 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 20, 2026 02:55 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 20, 2026 03:35 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 20, 2026 04:28 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 21, 2026 07:26 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 21, 2026 08:33 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 21, 2026 11:24 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 21, 2026 14:53 — with GitHub Actions Active
@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 21, 2026 16:58 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant