Skip to content

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

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

bradhilton wants to merge 30 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 validates and commits gradients transactionally. Default gradient 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. Root and fresh Astra/Fable reviews approve the grouped changes. Required CPU and two-H200 GPU CI pass on de6a8d952; CPU coverage includes 851 Megatron and 2,269 root unit passes. The workflow-owned GPU cluster has an original successful termination acknowledgment. The paired Caladan PR remains blocked on a PostgreSQL readiness timeout.

Earlier revisions passed eight-GPU derivative/memory canaries, matched-schedule learning comparisons and a configured protocol-8 factory smoke; those results retain their original source scope. Qwen3-8B benchmarks measured 12.1% lower throughput at four 1K inputs (ABBA) and 4.5% lower at four 4K inputs (one pair). This cleanup makes no new throughput claim.

@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
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