ship/gum2-s4: gum2 (tier 2) on CONTROL S4 — candidate for the next combo #277

Closed
Grok wants to merge 4 commits from ship/gum2-s4 into master
Owner

Narrow ship branch for gum2 (QWEN36_GDN_FUSED_UPMATH=prep3, tier 2) on CONTROL S4. It is a candidate for the coordinator's next combo. It does not ship anything on its own.

What it carries

  • C++: patches/tt-metal/0058-gdn-fused-upstream-math.patch and 0059-gdn-upmath-hifi2-split.patch.
  • Python:
    • gdn/upmath.py, with the in-boot self-test calibrated on model inputs: bound 0.08 and wrong ≥ 0.12 at hifi2, against a HiFi4 CONTROL (959b7f80).
    • The UPMATH hooks in gdn/fused_chunk.py.
  • Nix serving unit: mounts gdn/upmath.py. It must, because fused_chunk.py imports it unconditionally. test_prod_matches_nix passes.
  • Probes: bench/probes/gdn_upmath/*.
  • Arm …-gpgob-dfr-s4-gum2: derived from …-dfr-s4 with tools/ttx/arm-derive.py, exactly as …-dfr-s3-gum2 was derived on pp/gdn-s3cmb.
    • Same env: UPMATH=prep3, PREP_COL_EXP=0, PREP_DST4=0.
    • Same dropped COL_EXP/DST4 banners and their GDN_PREP self-test lines, and the same added banners and absent lines.
    • Its store manifest replaces S4's 0057 manifest; both carry _ttnncpp.so.
  • Docs: the LEDGER entry R-2026-10-20-s3gum2, the gum, gum2-alone-on-S3 and gum2-paired LEVERS rows, and the records they cite.
  • Not carried: kda3 (0060), sk512, the gsm8k --stream-accept tooling (it lands separately) and queue files.
  • Flag-off: byte-identical behaviour to S4. upmath.mode() is '' and every hook is skipped. The S4 arm and manifest are unchanged.

Verdict carried (vs CONTROL S3, R-2026-10-20-s3gum2)

  • PP: +0.9…+1.6% in 6/6 cells (ab20261020T060545Z).
  • Paired mean MTP acceptance over 60 gsm8k prompts: +2.29%, 95% CI [−0.43, +4.37]. Non-inferior.
  • Gates pass:
    • equiv: NEAR_TIE, max gap 1.75.
    • gsm8k: 57/60 → 59/60, paired.
    • retrieval: pass.
  • Method: DEV-LOOP §7a (that section lands with the --stream-accept tooling).
  • Records: bench/runs/s3gum2-verdict-20261020.jsonl, bench/runs/s3gum2-accept-paired-20261020.jsonl, bench/runs/s3split-card-verdict-20261020.jsonl.

New Path-I tree and manifest

  • Tree pk3r-gum2s4: cp -a of pk3r-agmm (S4's 0057 tree). Its extra 0063 was reverse-applied, then 0058 and 0059 applied clean. 0057 (AGMM) and 0058/0059 (GDN fused chunk) touch disjoint files.
  • Manifest: bench/overlays/pk3r+0033+0034+0035+0040+0041+0048+0049+0056+0057+0058+0059.json.
    • 47 files: every destination of both the 0057 manifest and the 0058+0059 manifest.
    • The import smoke finds both QWEN36_GDN_FUSED_UPMATH engaged (prep3 and QWEN36_AGMM_GBS engaged (mode=.
  • Shipped to cfx-llm2 with nix copy; sha256 verified on the box.
  • Build record: bench/runs/ttnn-incr-pk3r-gum2s4-20261020T090103Z.jsonl.

Off-card checks

  • ttx lint …-dfr-s4-gum2: OK, with no errors.
  • ttx unit suite: 647 tests OK (1 skipped), including test_prod_matches_nix 8/8.
  • scripts/check-cited-records.py: OK.
  • nix flake check: pass.
  • ttsim served gate (bench/probes/gdn_upmath/served_ttsim_run.sh, modes off/um2/um2_mf, self-test um2/um2_mf, against the new manifest): all_ok (bench/runs/gdn-upmath-s4-sim-20261020T091539Z.jsonl, ttsim v1.10.7 x2, 11x10 grid, T=2048, no sim aborts): um2 o rel. err 0.0110 vs off 0.0220 in s0/nos0/chain; the prep3 must-fail is refused in 3/3 cells; self-test pass 0.007–0.008 (bound 0.08), wrong rung 0.66–0.68 (≥ 0.12). Correctness only, no speed number.

Card screen: left to the coordinator's next combo. This PR's own card-gate run gets cancelled, because it has no ship decision of its own.

🤖 Generated with Claude Code

Narrow ship branch for **gum2** (`QWEN36_GDN_FUSED_UPMATH=prep3`, tier 2) on CONTROL S4. It is a candidate for the coordinator's next combo. It does not ship anything on its own. **What it carries** - C++: `patches/tt-metal/0058-gdn-fused-upstream-math.patch` and `0059-gdn-upmath-hifi2-split.patch`. - Python: - `gdn/upmath.py`, with the in-boot self-test calibrated on model inputs: bound 0.08 and wrong ≥ 0.12 at hifi2, against a HiFi4 CONTROL (959b7f80). - The UPMATH hooks in `gdn/fused_chunk.py`. - Nix serving unit: mounts `gdn/upmath.py`. It must, because `fused_chunk.py` imports it unconditionally. `test_prod_matches_nix` passes. - Probes: `bench/probes/gdn_upmath/*`. - Arm `…-gpgob-dfr-s4-gum2`: derived from `…-dfr-s4` with `tools/ttx/arm-derive.py`, exactly as `…-dfr-s3-gum2` was derived on pp/gdn-s3cmb. - Same env: UPMATH=prep3, PREP_COL_EXP=0, PREP_DST4=0. - Same dropped COL_EXP/DST4 banners and their GDN_PREP self-test lines, and the same added banners and absent lines. - Its store manifest replaces S4's 0057 manifest; both carry `_ttnncpp.so`. - Docs: the LEDGER entry `R-2026-10-20-s3gum2`, the gum, gum2-alone-on-S3 and gum2-paired LEVERS rows, and the records they cite. - **Not carried:** kda3 (0060), sk512, the gsm8k `--stream-accept` tooling (it lands separately) and queue files. - **Flag-off:** byte-identical behaviour to S4. `upmath.mode()` is `''` and every hook is skipped. The S4 arm and manifest are unchanged. **Verdict carried (vs CONTROL S3, `R-2026-10-20-s3gum2`)** - PP: +0.9…+1.6% in 6/6 cells (ab20261020T060545Z). - Paired mean MTP acceptance over 60 gsm8k prompts: **+2.29%, 95% CI [−0.43, +4.37]**. Non-inferior. - Gates pass: - equiv: NEAR_TIE, max gap 1.75. - gsm8k: 57/60 → 59/60, paired. - retrieval: pass. - Method: DEV-LOOP §7a (that section lands with the `--stream-accept` tooling). - Records: `bench/runs/s3gum2-verdict-20261020.jsonl`, `bench/runs/s3gum2-accept-paired-20261020.jsonl`, `bench/runs/s3split-card-verdict-20261020.jsonl`. **New Path-I tree and manifest** - Tree `pk3r-gum2s4`: `cp -a` of `pk3r-agmm` (S4's 0057 tree). Its extra 0063 was reverse-applied, then 0058 and 0059 applied clean. 0057 (AGMM) and 0058/0059 (GDN fused chunk) touch disjoint files. - Manifest: `bench/overlays/pk3r+0033+0034+0035+0040+0041+0048+0049+0056+0057+0058+0059.json`. - 47 files: every destination of both the 0057 manifest and the 0058+0059 manifest. - The import smoke finds both `QWEN36_GDN_FUSED_UPMATH engaged (prep3` and `QWEN36_AGMM_GBS engaged (mode=`. - Shipped to cfx-llm2 with `nix copy`; sha256 verified on the box. - Build record: `bench/runs/ttnn-incr-pk3r-gum2s4-20261020T090103Z.jsonl`. **Off-card checks** - `ttx lint …-dfr-s4-gum2`: OK, with no errors. - ttx unit suite: 647 tests OK (1 skipped), including `test_prod_matches_nix` 8/8. - `scripts/check-cited-records.py`: OK. - `nix flake check`: pass. - ttsim served gate (`bench/probes/gdn_upmath/served_ttsim_run.sh`, modes off/um2/um2_mf, self-test um2/um2_mf, against the new manifest): **all_ok** (`bench/runs/gdn-upmath-s4-sim-20261020T091539Z.jsonl`, ttsim v1.10.7 x2, 11x10 grid, T=2048, no sim aborts): um2 o rel. err 0.0110 vs off 0.0220 in s0/nos0/chain; the prep3 must-fail is refused in 3/3 cells; self-test pass 0.007–0.008 (bound 0.08), wrong rung 0.66–0.68 (≥ 0.12). Correctness only, no speed number. **Card screen:** left to the coordinator's next combo. This PR's own card-gate run gets cancelled, because it has no ship decision of its own. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
gum2 shipped on paired mean acceptance against S3 (R-2026-10-20-s3gum2), but its
only tree (pk3r-gdnscan, 0056+0058+0059) lacks 0057, which S4's gbs needs, so it
could not join an S4 combo. This branch carries only the lever: patches 0058+0059,
gdn/upmath.py with the model-input-calibrated self-test (bound 0.08 / wrong >= 0.12
at hifi2, 959b7f80), the fused_chunk.py UPMATH hooks, the serving-unit mount of
gdn/upmath.py, and the bench/probes/gdn_upmath probes. Not carried: kda3 (0060),
sk512, the gsm8k --stream-accept tooling, queue files.

Path-I tree pk3r-gum2s4 = a cp -a of pk3r-agmm (S4's 0057 tree; its extra 0063 was
reverse-applied) + 0058 + 0059, both applied clean (0057 is AGMM, 0058/0059 are
GDN fused-chunk: disjoint files). Manifest
pk3r+0033+0034+0035+0040+0041+0048+0049+0056+0057+0058+0059.json carries every
dst of the 0057 and the 0058+0059 manifests (47 files), import smoke finds both
the UPMATH prep3 and the AGMM_GBS banners; shipped to cfx-llm2, sha256 verified.

Arm ...-dfr-s4-gum2 derived from ...-dfr-s4 with arm-derive.py exactly as
...-dfr-s3-gum2 was from -s3 (same env, dropped COL_EXP/DST4 banners and their
GDN_PREP self-test lines, same added banners/absent lines); its store manifest
replaces S4's 0057 one (both carry _ttnncpp.so). Flag-off the Python is inert
(upmath.mode() is '' and every hook is skipped), so S4 itself is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The gum2 ship decision (paired mean acceptance +2.29% [-0.43, +4.37] over 60 gsm8k
prompts, PP +0.9..+1.6% 6/6 vs S3, gates pass) lived only on pp/gdn-s3cmb, so a
branch carrying the lever would cite records master does not have. This brings
the LEDGER entry, the gum / gum2-alone-on-S3 / gum2-paired LEVERS rows, and the
records they cite (s3gum2 verdict + paired acceptance, s3split verdicts, the
ab20261020T060545Z sweep records for S3/gum2/sk512, the S3 and gum2 gate records,
the gum phase profile). Carried citations lose their pp/gdn-s3cmb: prefix so
check-cited-records checks them; the Ship line names the S4 carve-out.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ship/gum2-s4: regenerate bench/runs/INDEX.tsv
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m20s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 6m31s
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
9c18348db5
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner

verdict: approve
tier: T2

rationale: Clean additive-only carve of the already-ship-approved gum2 lever (0058+0059, QWEN36_GDN_FUSED_UPMATH=prep3) onto CONTROL S4 as a combo candidate. Off-path is byte-identical by construction — upmath.mode() returns '' when unset so every fused_chunk hook is skipped, and on the C++ side upmath=0 changes no CB, define, or kernel descriptor (the new kernels live in a separate kernels_fused_um/ dir that only the upmath!=0 branch compiles). Both patches are a verbatim, header-named upstream backport (#57440 / #58925–#58927 / #60395) with strict TT_FATAL parsing, and the derived arm passes every derived-arm check (no banner conflict, parent env inherited, the WY_SFPU + PREP_ONEBLOCK prereqs the C++ TT_FATAL demands are present in the parent S4 arm's banners, COL_EXP/DST4 banners correctly dropped). The manifest sha256 for 0058/0059 matches the patch files exactly. The lever is default-off, so merging ships nothing active.

concerns:

  • [warn] bench/overlays/pk3r+...+0057+0058+0059.json — the S4-specific A/B (arm …-dfr-s4-gum2 vs CONTROL S4) has not been measured yet: run 9646's card gate is blocked behind the still-running build, and the PR explicitly defers it to the coordinator's next combo. The carried verdict (R-2026-10-20-s3gum2, +0.9…+1.6% PP 6/6, paired acceptance +2.29%, gates pass) is vs CONTROL S3, not S4. Before this lands in a combo, the S4 screen must re-fire and confirm the win still holds on S4 — this is exactly why I am not applying human-approved (the PR is non-draft, so the label is the entire auto-merge trigger). Re-review when the S4 A/B number lands.
  • [warn] Same manifest replaces S4's 0057 (gbs) manifest with the combined 0057+0058+0059 overlay. The PR's import smoke reports both QWEN36_AGMM_GBS engaged (mode= and QWEN36_GDN_FUSED_UPMATH engaged (prep3, so gbs stays active — confirmed, just noting the swap should be re-verified at the S4 card gate so a gbs regression doesn't ride in silently.
  • [nit] The banner churn in …-dfr-s4-gum2.toml (COL_EXP/DST4 banner lines dropped, UPMATH pass/REFUSED/SKIPPED + engaged lines added) is the arm-derive generator re-resolving the parent's lists — expected, not a leak.

Approve, comment-only: no human-approved label, no un-draft. Merge-or-close is the coordinator's call for the next combo; the S4 A/B is the open gate.

**verdict:** approve **tier:** T2 **rationale:** Clean additive-only carve of the already-ship-approved gum2 lever (0058+0059, `QWEN36_GDN_FUSED_UPMATH=prep3`) onto CONTROL S4 as a combo candidate. Off-path is byte-identical by construction — `upmath.mode()` returns '' when unset so every fused_chunk hook is skipped, and on the C++ side `upmath=0` changes no CB, define, or kernel descriptor (the new kernels live in a separate `kernels_fused_um/` dir that only the `upmath!=0` branch compiles). Both patches are a verbatim, header-named upstream backport (#57440 / #58925–#58927 / #60395) with strict TT_FATAL parsing, and the derived arm passes every derived-arm check (no banner conflict, parent env inherited, the WY_SFPU + PREP_ONEBLOCK prereqs the C++ TT_FATAL demands are present in the parent S4 arm's banners, COL_EXP/DST4 banners correctly dropped). The manifest sha256 for 0058/0059 matches the patch files exactly. The lever is default-off, so merging ships nothing active. **concerns:** - [warn] `bench/overlays/pk3r+...+0057+0058+0059.json` — the S4-specific A/B (arm `…-dfr-s4-gum2` vs CONTROL S4) has not been measured yet: run 9646's card gate is `blocked` behind the still-`running` build, and the PR explicitly defers it to the coordinator's next combo. The carried verdict (R-2026-10-20-s3gum2, +0.9…+1.6% PP 6/6, paired acceptance +2.29%, gates pass) is vs CONTROL **S3**, not S4. Before this lands in a combo, the S4 screen must re-fire and confirm the win still holds on S4 — this is exactly why I am not applying `human-approved` (the PR is non-draft, so the label is the entire auto-merge trigger). Re-review when the S4 A/B number lands. - [warn] Same manifest replaces S4's 0057 (gbs) manifest with the combined 0057+0058+0059 overlay. The PR's import smoke reports both `QWEN36_AGMM_GBS engaged (mode=` and `QWEN36_GDN_FUSED_UPMATH engaged (prep3`, so gbs stays active — confirmed, just noting the swap should be re-verified at the S4 card gate so a gbs regression doesn't ride in silently. - [nit] The banner churn in `…-dfr-s4-gum2.toml` (COL_EXP/DST4 banner lines dropped, UPMATH pass/REFUSED/SKIPPED + engaged lines added) is the arm-derive generator re-resolving the parent's lists — expected, not a leak. Approve, comment-only: no `human-approved` label, no un-draft. Merge-or-close is the coordinator's call for the next combo; the S4 A/B is the open gate.
ship/gum2-s4: served ttsim gate against the S4 manifest, all_ok
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m9s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 6m44s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 9m20s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
cards-fresh cards: no verdict yet fp=e8f2b2191dba3630
b858ab7862
The 0058/0059 kernels had only been JIT-compiled and gated against the pk3r-gdnscan
manifest (no 0057). Re-running bench/probes/gdn_upmath/served_ttsim_run.sh (modes
off/um2/um2_mf, self-test um2/um2_mf, T=2048, 11x10 harvested grid, ttsim v1.10.7
x2) against pk3r+...+0057+0058+0059 at 9c18348d: all_ok, no sim aborts. um2 o rel
err 0.0110 vs off 0.0220 in every cell (same as the pk3r-gdnscan run), the prep3
must-fail is refused in all 3 cells, and the in-boot self-test passes (0.007-0.008
vs bound 0.08; wrong rung 0.66-0.68). Correctness only, no speed number.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
Owner

Held, pending the realistic long-context paired acceptance screen (coordinator decision, 2026-10-20). With fwo on S4 (PR #279, CI card run 9670, n=1), gum2 again cost B1 TG/user −3.33% at 4k and −4.50% at 32k, the same signature as alone on S3 (−3.42/−4.97%). PP was +1.0…+1.9% in 6/6 cells. The paired gsm8k acceptance CI [−0.43, +4.37] is not tight enough to overrule a repeated B1 loss. S5 ships as S4 + fwo only. The fwo+gum2 combo (Path-I tree pk3r-s5, manifest +0057+0058+0059+0063) is kept on branch ship/s5-fwo-gum2 for that screen.

Held, pending the realistic long-context paired acceptance screen (coordinator decision, 2026-10-20). With fwo on S4 (PR #279, CI card run 9670, n=1), gum2 again cost B1 TG/user −3.33% at 4k and −4.50% at 32k, the same signature as alone on S3 (−3.42/−4.97%). PP was +1.0…+1.9% in 6/6 cells. The paired gsm8k acceptance CI [−0.43, +4.37] is not tight enough to overrule a repeated B1 loss. S5 ships as S4 + fwo only. The fwo+gum2 combo (Path-I tree pk3r-s5, manifest +0057+0058+0059+0063) is kept on branch `ship/s5-fwo-gum2` for that screen.
Author
Owner

Correction to my comment above: the owner now weights B4/32k above B1, and gum2 ships in S5 with fwo (PR #279, LEDGER R-2026-10-20-s5, with the B1 TG trade accepted). Close this PR as superseded once #279 merges.

Correction to my comment above: the owner now weights B4/32k above B1, and gum2 ships in S5 with fwo (PR #279, LEDGER R-2026-10-20-s5, with the B1 TG trade accepted). Close this PR as superseded once #279 merges.
Author
Owner

Superseded by #279 (S5 = S4 + fwo + gum2, merged; CONTROL = …-dfr-s5).

Superseded by #279 (S5 = S4 + fwo + gum2, merged; CONTROL = …-dfr-s5).
Grok closed this pull request 2026-10-20 19:25:49 +02:00
Author
Owner

agent-gateway closeout (closed): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (closed): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m9s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 6m44s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 9m20s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
cards-fresh cards: no verdict yet fp=e8f2b2191dba3630

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!277
No description provided.