rtx-drafter: MTP Phase 5 window 1 — window driver, GPU parity gate, pilot extraction, 8k ladder OOM #399

Open
orchestra wants to merge 52 commits from codex/mtp-w1 into master
Member

Phase 5 Window 1 now has a CPU-testable, bounded GPU-window driver, an explicit CUDA parity gate, source-paired held-out inventory, pilot extraction instrumentation and records from the claimed GPU work.

mtp-window.sh checks TT before switching to tt-only, stops the RTX decode only for GPU stages, samples temperature/clocks/memory each second, watches TT health and the stage deadline, and restores byte-identical decode.env. Restore allows 600 seconds for /v1/models, then 120 seconds for a direct completion, followed by pd-mode and router restore. Each failed attempt logs its reason/output; the stage deadline leaves 2,200 seconds for two attempts plus fallback and 120 seconds for trainer cleanup. CPU contract/prepare/requant stages leave services alone. A source-paired held-out inventory avoids comparing reindexed capture shards against the wrong prep dataset. RTXD_PREP_SUFFIX lets a later full extraction prepare a separate dataset set without replacing this pilot's buckets.

The CPU extraction test explicitly unwraps Transformers 5.19's use_kernel_func_from_hub_with_fallback functions in the test only. Host and local CPU tests both pass 9/9 at the existing tolerance; hf_extract.py behavior is unchanged. The source-paired inventory tests pass 2/2 locally and on-host. Local CUDA parity test skips with the explicit no-CUDA reason. The one-GPU fp32 parity test passed against a same-model float64 CPU torch reference at T=23 chunks 1/3/8/23/64 and T=3000/chunk=1024, with TF32 matmul/cuDNN disabled. hs-v1* has no source-matched long-row vLLM captures, so a numeric held-out comparison was not applicable. The first check attempt used the wrong prep index and stopped on token mismatch before numerical comparison; the corrected inventory verified the absence of eligible long captures.

The four-row pilot processed 73,155 tokens in 178.8 s (409 tok/s, 80.5 rows/h), no skips. A second extraction produced eight 7,169–8,192-token rows (62,258 tokens, 439 tok/s) and prepared 8/10/12 verified rows at 8k/16k/32k. The 8k train/validation completed but PyTorch logged expandable-segment mapping OOM warnings on all ranks. Per the fit rule this is not a pass; 16k initialization was interrupted before training and 32k was not run. Actual SDPA CUDA kernel and GQA expansion were not logged and remain unverified. Every fixed-driver GPU stage restored P/D and passed RELEASE-CHECK; the first old-driver restore incident was manually resolved by the owner and preserved in the records.

The combined pilot implies an ESTIMATE of 3.89 active GPU hours and 57.81 GiB for all 341 long rows / 5,918,847 tokens (3.80 hours / 329 rows remain). No PP or TG tok/s/user result was produced. The next plan is two claimed extraction windows, CPU prepare under RTXD_PREP_SUFFIX=full, an instrumented OOM/backend ladder retry, then separate CE, TV and TVCE training windows after a clean ladder.

Timing caveat: the current backbone/head/filter sub-times wrap asynchronous CUDA calls with host timers. Head dispatch can be charged to later filter/copy time; only total elapsed time and throughput are reliable. Re-measure the split with CUDA events or synchronization before using those subcomponents.

Evidence, failed gate and restore incidents, successful parity values, logs and compressed telemetry: bench/runs/mtp-p5-w1-20261110T121559Z/. The initial CPU-only stop remains recorded at bench/runs/mtp-p5-w1-20261110T110220Z/.

Impl-Model: openai/gpt-6-astra

🤖 Generated with Claude Code

Phase 5 Window 1 now has a CPU-testable, bounded GPU-window driver, an explicit CUDA parity gate, source-paired held-out inventory, pilot extraction instrumentation and records from the claimed GPU work. `mtp-window.sh` checks TT before switching to tt-only, stops the RTX decode only for GPU stages, samples temperature/clocks/memory each second, watches TT health and the stage deadline, and restores byte-identical `decode.env`. Restore allows 600 seconds for `/v1/models`, then 120 seconds for a direct completion, followed by pd-mode and router restore. Each failed attempt logs its reason/output; the stage deadline leaves 2,200 seconds for two attempts plus fallback and 120 seconds for trainer cleanup. CPU contract/prepare/requant stages leave services alone. A source-paired held-out inventory avoids comparing reindexed capture shards against the wrong prep dataset. `RTXD_PREP_SUFFIX` lets a later full extraction prepare a separate dataset set without replacing this pilot's buckets. The CPU extraction test explicitly unwraps Transformers 5.19's `use_kernel_func_from_hub_with_fallback` functions in the test only. Host and local CPU tests both pass 9/9 at the existing tolerance; `hf_extract.py` behavior is unchanged. The source-paired inventory tests pass 2/2 locally and on-host. Local CUDA parity test skips with the explicit no-CUDA reason. The one-GPU fp32 parity test passed against a same-model float64 CPU torch reference at T=23 chunks 1/3/8/23/64 and T=3000/chunk=1024, with TF32 matmul/cuDNN disabled. `hs-v1*` has no source-matched long-row vLLM captures, so a numeric held-out comparison was not applicable. The first check attempt used the wrong prep index and stopped on token mismatch before numerical comparison; the corrected inventory verified the absence of eligible long captures. The four-row pilot processed 73,155 tokens in 178.8 s (409 tok/s, 80.5 rows/h), no skips. A second extraction produced eight 7,169–8,192-token rows (62,258 tokens, 439 tok/s) and prepared 8/10/12 verified rows at 8k/16k/32k. The 8k train/validation completed but PyTorch logged expandable-segment mapping OOM warnings on all ranks. Per the fit rule this is not a pass; 16k initialization was interrupted before training and 32k was not run. Actual SDPA CUDA kernel and GQA expansion were not logged and remain unverified. Every fixed-driver GPU stage restored P/D and passed RELEASE-CHECK; the first old-driver restore incident was manually resolved by the owner and preserved in the records. The combined pilot implies an **ESTIMATE** of 3.89 active GPU hours and 57.81 GiB for all 341 long rows / 5,918,847 tokens (3.80 hours / 329 rows remain). No PP or TG tok/s/user result was produced. The next plan is two claimed extraction windows, CPU prepare under `RTXD_PREP_SUFFIX=full`, an instrumented OOM/backend ladder retry, then separate CE, TV and TVCE training windows after a clean ladder. Timing caveat: the current backbone/head/filter sub-times wrap asynchronous CUDA calls with host timers. Head dispatch can be charged to later filter/copy time; only total elapsed time and throughput are reliable. Re-measure the split with CUDA events or synchronization before using those subcomponents. Evidence, failed gate and restore incidents, successful parity values, logs and compressed telemetry: `bench/runs/mtp-p5-w1-20261110T121559Z/`. The initial CPU-only stop remains recorded at `bench/runs/mtp-p5-w1-20261110T110220Z/`. Impl-Model: openai/gpt-6-astra 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A claimed training stage needs restoration on failure and interruption, with TT health monitoring and enough time for two bounded restore attempts. Keep managed trainer children in the window process group and leave CPU stages serving.

Window 1 stopped before GPU work: the deployed HF/FLA stack selected Triton in the required CPU extraction proof. Preserve the failure and exact setup identities instead of claiming extraction throughput or ladder fit.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record native MTP window one gates and OOM result
Some checks failed
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
a5959509b8
The old short restore budget stranded the router in TT-only after the parity gate. Reserve the full decode startup interval, use a float64-reference CUDA gate, and retain the extraction and ladder evidence including the 8k allocator OOM.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Attribute the 12:32 restore to coordinator session
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 8m32s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 12m56s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 11m19s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
09e249c53a
Correct the historical record: orchestra manually restored P/D at 12:32 after the first window's bounded restore attempts failed.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Owner

verdict: approve
tier: T1

Model: agent-dense (session already on agent-dense; requested model is the pre-applied default)

rationale: Additive MTP Phase-5 window-1 tooling — a bounded GPU-window driver, a CUDA parity gate, a source-paired held-out inventory, pilot-extraction instrumentation and the accompanying records/tests. No production service is driven from the merge, no secrets, no red-flag patterns, and the off-by-default/env-gated guards (owner-approval env, 01:50/3h deadline cap, 2320s trainer+restore reserve) are intact.

concerns:

  • [warn] tools/rtx-drafter/mtp-window.sh (extract gate) — the window opens only after the FLA/Triton parity gate passes and the held-out check reconciles. The 8k ladder logged OOM on all ranks, so 8k/16k/32k fit is explicitly UNVERIFIED (PR body discloses this). The merge ships the tooling, not a fit claim — fine, but do not read the PR as proving 8k fits.
  • [warn] tools/rtx-drafter/rtxd_window.py:driver_deadline — stage deadline is now owner_end - TRAINER_GRACE(120) - RESTORE_RESERVE(2200); mtp-window.sh re-exports RTXD_WINDOW_END=$((STAGE_DEADLINE+120)). Net owner budget math is self-consistent (2320s held for 2×1020s restores + tt-only fallback + margin), but this hard-codes the 2200s figure in three places — keep them in lockstep if the restore budget changes.
  • [nit] tools/rtx-drafter/test_mtp_cuda_parity.py — asserts exactly one visible CUDA device and skips cleanly without CUDA; good. The RTXD_PARITY_GPU:-1 / RTXD_EXTRACTION_GPUS:-0,1,2,3 defaults are the only place GPUs are selected — keep them out of any later always-on arm.

Head CI is still running (run 12133 on head 09e249c5); label held until it lands green. Re-dispatch/approve-stamp once green.

**verdict:** approve **tier:** T1 Model: agent-dense (session already on agent-dense; requested model is the pre-applied default) **rationale:** Additive MTP Phase-5 window-1 tooling — a bounded GPU-window driver, a CUDA parity gate, a source-paired held-out inventory, pilot-extraction instrumentation and the accompanying records/tests. No production service is driven from the merge, no secrets, no red-flag patterns, and the off-by-default/env-gated guards (owner-approval env, 01:50/3h deadline cap, 2320s trainer+restore reserve) are intact. **concerns:** - [warn] `tools/rtx-drafter/mtp-window.sh` (extract gate) — the window opens only after the FLA/Triton parity gate passes and the held-out check reconciles. The 8k ladder logged OOM on all ranks, so 8k/16k/32k fit is explicitly UNVERIFIED (PR body discloses this). The merge ships the tooling, not a fit claim — fine, but do not read the PR as proving 8k fits. - [warn] `tools/rtx-drafter/rtxd_window.py:driver_deadline` — stage deadline is now `owner_end - TRAINER_GRACE(120) - RESTORE_RESERVE(2200)`; `mtp-window.sh` re-exports `RTXD_WINDOW_END=$((STAGE_DEADLINE+120))`. Net owner budget math is self-consistent (2320s held for 2×1020s restores + tt-only fallback + margin), but this hard-codes the 2200s figure in three places — keep them in lockstep if the restore budget changes. - [nit] `tools/rtx-drafter/test_mtp_cuda_parity.py` — asserts exactly one visible CUDA device and skips cleanly without CUDA; good. The `RTXD_PARITY_GPU:-1` / `RTXD_EXTRACTION_GPUS:-0,1,2,3` defaults are the only place GPUs are selected — keep them out of any later always-on arm. Head CI is still `running` (run 12133 on head `09e249c5`); label held until it lands green. Re-dispatch/approve-stamp once green.
Expose extractor per-GPU weight budget
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m54s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 11m57s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 15m38s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
f2164d5f1a
The default balanced map used only three RTX cards and exhausted headroom while GQA expanded a 32k K/V row. Expose the existing HF gpu-gib setting so extraction can spread weights across all four cards without changing training behavior.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record complete native MTP extraction and memory diagnosis
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m56s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 12m36s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 16m28s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
1e5b98017d
Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Use a regular logfile descriptor, bound trainer INT grace, and restore only service state the window changed. Make CUDA and held-out gates fail closed with stub coverage for each review fix.
Keep SDPA as the default while proving the flex mask against the dense CPU oracle at world sizes one and four. Add the managed 8k fp32 GPU parity gate and use the requested MLP and query chunks in the training driver.
Torch 2.13 CUDA FlexAttention rejects embedding dimensions below 16. Parameterize the tiny model head size so the 8k parity gate exercises the real compiled path at the minimum supported size.
The first 8k ladder compile exceeded the RTX 3080 shared-memory ceiling with Torch 2.13 autotuned backward tiles. Set smaller sparse-compatible backward tiles behind the opt-in flex path and exercise the production 256-wide head in the CUDA parity gate.
Set FlexAttention forward tiles for RTX 3080 shared memory
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m39s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
f7618cdeae
The production-width parity gate showed the autotuned forward tile still exceeded the RTX 3080 shared-memory limit. Bound the opt-in FlexAttention forward tile to 16x32, matching the validated backward tile sizes.
Keep FlexAttention backward tiles Triton-compatible
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m55s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 5m49s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 22m49s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
ffd9e27544
Torch 2.13 requires BLOCK_M2 to be divisible by BLOCK_N2. Set the second backward tile to 16x16 so the bounded opt-in RTX tile configuration satisfies the compiler constraint.
Record FlexAttention ladder and restore outcome
Some checks failed
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
b018cb66ec
The 8k FlexAttention rung passed, but repeated expandable-segment mapping failures at 16k stop the fit claim. Record the failed rung and delayed decode restore before choosing the next memory change.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record float64 FlexAttention distributed proof
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m54s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 12m20s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
c3fdb94369
The CPU parity proof covers eight cases at both world sizes 1 and 4, with loss, outputs and trainable gradients below 2e-15 absolute error. Preserve the verification beside the GPU rung record.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Kill every window trainer rank before decode restore
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m7s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
63dfeed687
The trainer's INT handler can leave torchrun ranks alive in the window cgroup. Kill tracked step cgroup processes after the configured grace, and require nvidia-smi to show no compute PID from the step before restarting decode.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Add opt-in FSDP2 CPU offload for MTP training
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m58s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 7m32s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
b2bf877a16
Use FSDP2 CPUOffloadPolicy only when RTXD_FSDP_CPU_OFFLOAD=1 so parameters, gradients and optimizer state move to CPU while default training stays unchanged. Prove one AdamW update against no-offload under CPU Gloo.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record FSDP offload setup failure and clean restore
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m27s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 7m30s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
7ec6a33daa
The opt-in FSDP2 offload gate matched the Gloo optimizer step, but the managed 8k initialization stopped when state-dict loading rejected the mixed devices. Preserve the exact setup peaks, restore checks, and rank cleanup evidence so the next offload change starts from a measured failure.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Align FSDP offload state loading onto CPU
Some checks failed
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
5e95dfab47
Torch 2.13 rejects a local state dict when CPU-offloaded FSDP params coexist with ignored CUDA vocabulary params. Keep those tensors CPU-resident through the opt-in state load, transfer state on CPU, and restore the frozen output head to CUDA before training; preserve the default-off path.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Allow the managed ladder to start at 16k
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m40s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
0c85fc8e52
The offload state-load diagnostic should lead directly into the requested 16k then 32k rungs. Keep the existing 8k-first ladder as the default and reject unsupported start lengths.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record offload load-fix and CPU gradient-clip failure
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 9m7s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
20ddb90e76
The one-GPU mixed-device repro passed its CPU-aligned fix, and the production FSDP load advanced to 16k backward. Record that DTensor norm clipping still attempts an NCCL all-reduce on CPU before any optimizer step, along with the clean restore and memory/temperature evidence.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Fix offloaded FSDP gradient clipping on Gloo
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m12s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 10m37s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
d98265263d
CPUOffloadPolicy leaves gradients on CPU while their DTensor mesh is NCCL, so the default clip_grad_norm_ path tries a CPU reduction on NCCL. Route the opt-in offload gradients through a temporary Gloo mesh and restore the parameter mesh afterward; correct the deployment patch hunk so the MLP chunk helper remains installed.
Record offload attempt two and repair patch deployment
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m43s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
4505ba0ba8
The mixed-device repro and Flex parity passed, but the managed trainer guard rejected a stale deployed patch hunk before any rung began. Record the clean restore, then make the stored patch match the exact applied source and reverse-check it before the next GPU attempt.
Record third FSDP offload ladder failure
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m26s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
fee4312a6c
The mixed-device state load is repaired, but the CPU-offloaded 16k step still fails at gradient clipping before an optimizer update. Preserve the rank peaks and clean restore evidence, and mark the rung as a non-fit result before testing an alternative offload path.
Add opt-in pinned activation offload
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 10m30s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 14m22s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 21m10s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
0012694dc5
FSDP CPUOffloadPolicy could not pass the real gradient-clip path in three attempts. Add a separate default-off trainer branch that wraps the checkpointed forward in save_on_cpu(pin_memory=True), keeping parameters and optimizer state on CUDA; verify that the pinned-save context composes with non-reentrant checkpointing and leaves the default path unchanged.
Polling helpers in the shared service cgroup could keep cleanup falsely busy after every rank had exited. Track the step process group and recorded ranks, retry KILL every 15 seconds for up to 300 seconds, and let nvidia-smi ownership govern decode restart. Reserve the added cleanup budget before the window deadline.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Preserve full-row features for bounded 8k CE training
Some checks failed
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
fbc57428e0
Materialize every long-row segment while holding validation sources apart. Add an opt-in exact-step training entry and evaluation-only native stock versus CE comparison. Include the activation-offload cleanup incident and coordinator restore, and ensure orphaned ranks are cleaned after launcher exit. Host CPU suite: 85 tests passed, three CUDA-only skips.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Compare served stock and native initialization during offline evaluation
Some checks failed
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
78f2104123
Evaluate the actual served int4 grid dequantized into training format as well as the native bf16 initializer and CE checkpoint. Keep all evaluation passes free of optimizer steps. Stabilize cleanup stubs with a rank readiness handshake and simulated 15-second clock ticks. Host suite: 86 passed with three CUDA-only skips.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Allow transient unit stop enough time for the full restore budget
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 8m53s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
af342da0cb
Document a 3000-second stop timeout now that rank cleanup can take 300 seconds before the two bounded restore attempts.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record precise losses for the bounded CE run
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m41s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 11m59s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
ad6ebae490
Keep exact per-step train, validation and timing values in a rank-zero JSONL file, including zero-loss batches. Filter configuration records and close the handler on errors. Allow the CPU stub harness enough wall time during concurrent bulk-disk preparation. Host CPU suite passed 88 tests with three CUDA-only skips.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Restore a partially completed router mode switch
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m50s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 12m14s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 6m15s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
d0b40c6e89
The 80-second wrapper killed pd-mode while the router was already tt-only, but the successful-return flag remained false. Reconcile the actual router mutation after stopping the step, give mode checks 300 seconds, and reserve both complete restore attempts before the claim deadline. The new stub proves router state is restored without restarting untouched decode. Host suite: 89 total, 86 passed, three CUDA-only skips; local driver 25 passed.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Preserve fp32 cached policies at the FSDP root
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m52s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 10m58s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 14m33s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
0a5d520022
Root FSDP input casting rounded valid fp32 teacher policies to bf16: 624 of 188021 held-out source policy rows then failed strict normalization. Add an opt-in root policy that preserves input dtypes while retaining bf16 parameters and child-layer policy. Keep genuine corrupt-policy checks strict. CE training is unaffected because it does not consume cached policy probabilities. Host CPU suite: 90 total, 87 passed, three CUDA-only skips.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record the 8k CE baseline and clean production release
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m56s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 5m47s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 6m2s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
4142e0c74f
The owner authorized an 8k baseline after 32k remained blocked. Preserve full-source feature slices and source-row validation separation, record 600 CE steps and the small pre-quantization acceptance gain, and retain both recovered setup/evaluation incidents. CPU requantization produced an int4 overlay without serving it. Append index rows explicitly; no inference speed claim.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Require at least 16 supervised targets at each MTP depth, preserve the original source-row train/validation assignment, and reuse contract-verified full-context shards. Distinguish globally empty batches from legitimate zero local loss on sequence-parallel ranks.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Refuse a changed policy identity or a train-data-ratio that would move source-row validation segments into training.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Add default-off post-gather block recomputation and finer FSDP groups. Float64 CPU proofs on Torch 2.13 and local Torch pass with identical losses, trainable gradients, and AdamW updates, including uneven sequence shards. Preserve the existing supervised-only chunked head and avoid replaying KV collectives.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Add original-dtype optimizer/model snapshots with scheduler, rank RNG and deterministic data cursor; CPU proofs match uninterrupted float64 training exactly. Periodic saves and an optimizer-boundary deadline are opt-in.

Contain the test-environment bug that cleared CUDA visibility: CPU proofs retain CUDA_VISIBLE_DEVICES and the GPU gate requires a managed window before probing CUDA. The accidental unclaimed GPU test is not valid gate evidence; the campaign is stopped and recorded separately.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Require explicit CUDA gate evidence, classify allocator warnings as failed fits, guard filtered 8k inputs, and reserve checkpoint time. This opt-in campaign is CPU-stub-tested only; the host test incident stopped GPU validation.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record W8 CPU fixes and the unclaimed CUDA test incident
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m19s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
1e3983caca
The filtered data and memory proofs are complete, but an intended CPU test escaped CUDA masking. Record the invalid gate, production health checks, local containment, and the stopped ladder/training campaign without claiming a GPU pass.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Keep exact snapshots separate from native auto-resume
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m23s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 11m43s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
1d0ddfafd8
The pinned trainer enables native resume by default even on a fresh save path. Disable that mode for timed exact-state training and include the actual fine-grain FSDP flag in checkpoint identity.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Redirect only the rung child process so the parent restore trap retains its log destination when a signal interrupts step(). The CPU stub proves SIGTERM still restores and leaves RELEASE-CHECK in the main log.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
HF checkpoint dtype inference otherwise changes optimizer precision on warm-start. Add opt-in RTXD_MASTER_FP32 for weighted MTP loads, assert the loaded trainable dtype, and bind the choice into exact resume identity. CPU tests through the real loader prove exact BF16-to-FP32 values and FP32 AdamW moments while retaining the flag-off BF16 path.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record claimed 16k fit with its BF16 master precision limit
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 9m22s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 14m0s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 16m15s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
a0c8053e1b
Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record 32k CE progress and recovery after the host reboot
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m34s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m24s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
2a3cf77b7c
FP32-master Flex/recompute/finer-FSDP fits both long rungs. The host reboot interrupted CE after 133 logged steps; exact step125 survived and P/D recovery passed. Preserve the interruption and the limits of the evidence.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Verify exact resume and isolate GPU training from the CPU unit
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m38s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 9m9s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 7m1s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
d9060341b5
Keep the combined-load hypothesis test bounded: enforce CPU training inactive, collect readable power sensors, verify restored AdamW counters/cursor, and support held-out stock/8k/new-CE comparisons. All new flags default off.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record GPU-only 32k continuation failing with GPU0 bus loss
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 9m11s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 13m51s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 8m56s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
0a0196c742
Exact resume reproduced the prior eight steps, but removing concurrent CPU training did not establish stability. Preserve the Xid79 evidence, durable step135, both failed restores and successful TT-only fallback without claiming a reset cause or served gain.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Stop MTP windows on kernel Xids and reject unreadable GPU clearance
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 19m55s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
354326a2ca
The previous GPU bus loss could yield an empty successful compute query despite an NVML diagnostic. Fail that check closed, add opt-in journal monitoring and PCIe telemetry, and require real CE exports so config-only directories cannot become random-weight evaluation arms.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Bound restore teardown instead of reentering the interrupted step wait
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m14s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m57s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 14m8s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
850786fd12
A plain TT-loss test stalled with the watchdog already gone and the shell waiting behind long-lived children. Poll monitor shutdown without nested wait, bound NVML queries and retain incomplete telemetry. Use journalctl's installed -k option. Final local and host suites pass 68/68; 100 plain TT-loss repetitions pass.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record x8 training contention and verified production restore
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m1s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
9de596f863
A host activation restarted decode inside the claim, so the model setup OOM establishes neither a 32k fit failure nor x8 training speed. Preserve the journal, zero-step outcome, and successful RELEASE-CHECK alongside the CPU safety validation.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Keep deploy activation from restarting decode inside MTP windows
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m15s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
f3892fda81
Runtime-mask the stopped decode service and unmask before every restore attempt, including partial mask failure and SIGTERM. Refuse a pre-existing mask and verify decode is inactive and no GPU compute process remains before launching work. Local CPU suites passed 47 driver and 38 checkpoint/guard tests; the same host source passed all 85.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record runtime-mask precedence blocker and clean W8e restore
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m24s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 7m5s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m36s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
4753479265
The persistent user decode unit outranks systemctl's runtime mask. Mandatory LoadState verification stopped the retry before GPU work, and unmask plus automatic restore passed on the first attempt. Preserve the load-path evidence, CPU tests, zero-step outcome and release checks.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Keep MTP reservations guarded across job failures with independent TT recovery
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 2m43s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m43s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 7m30s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=61896aba648c70ac
5eb6404b7c
Owner replaced bounded windows with an open-ended GPU reservation. Runtime condition drop-ins protect the persistent decode unit; start-test verifies condition failure, inactive decode and empty GPUs inside the claim. A separate supervisor retains ownership across jobs, stops on Xid, and restores P/D only for prolonged TT outage or an explicit coordinator request. Preserve ordinary window limits; reservation jobs can run without a timer.

Validation: 116 local and host CPU tests passed, plus the final reuse/early-failure regression on both. Tests cover persisted TT outage timing, signal cleanup, strict GPU clearance, cgroup identity and recovery-state races.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Record stable x8 CE continuation and failed held-out promotion screen
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 12m46s
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m16s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
99dea1d960
Exact step 135 resumed cleanly for 100 updates, but the 32k CE head scored below native on all held-out acceptance depths. Preserve the open reservation and its independent watcher while reporting the first milestone; do not promote this checkpoint to serving.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Gate TV data contracts and park the attempt with verified P/D release
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m56s
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m38s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m16s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: PR does not merge cleanly onto base
5dc2a8d3b3
The requested legacy short shards have neither immutable identity nor cached teacher policies, and one prepared row has no shard. Refuse the mixed corpus without shifting validation membership or substituting a different teacher. Record the unrun TV design, data plan and owner-directed clean reservation release.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m56s
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m38s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m16s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: PR does not merge cleanly onto base
This pull request has changes conflicting with the target branch.
  • docs/HISTORY.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin codex/mtp-w1:codex/mtp-w1
git switch codex/mtp-w1
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!399
No description provided.