c103: pfw2-gf becomes the LEDGER best (B=8 32k 93.20 s, -35.4% vs prod-g2) #125

Merged
Grok merged 20 commits from serving-throughput into master 2026-09-29 09:19:49 +02:00
Owner

c103: pfw2-gf becomes the LEDGER best (R-2026-09-29-pfw2gf)

  • pfw2 + GDN decode compute at HiFi2. Two rounds against a 4-rep pfw2 band, two of those reps interleaved. TG
    −0.33…−0.58% in every cell; makespan −0.3…−1.0% in 4 of 5 cells. B=8 32k: 93.20 s, −35.4% vs prod-g2.
  • Gates: NEAR_TIE vs colpar2 (max gap 1.00, thinking off), GSM8K 291/300, retrieval 1.0 early/late at 16k and 32k.
  • Also in this range:
    • c102 verdicts: AGMM K-block and decode SDPA compute knobs are dead; decode SDPA is bound by request shape.
    • Dual-NoC 0032 rev 3 (pk3q) runs in-model without a hang.
    • New per-call knobs, all inert when unset: QWEN36_AGMM_UNFUSED, QWEN36_SDPA_DEC_CORES_PER_HEAD.
    • Skill ttx-queue-worktree-isolation.
    • The cfx-llm2 disk cleanup record.

Production redeploy stays the owner's call.

🤖 Generated with Claude Code

c103: pfw2-gf becomes the LEDGER best (`R-2026-09-29-pfw2gf`) - pfw2 + GDN decode compute at HiFi2. Two rounds against a 4-rep pfw2 band, two of those reps interleaved. TG −0.33…−0.58% in every cell; makespan −0.3…−1.0% in 4 of 5 cells. B=8 32k: 93.20 s, −35.4% vs prod-g2. - Gates: NEAR_TIE vs colpar2 (max gap 1.00, thinking off), GSM8K 291/300, retrieval 1.0 early/late at 16k and 32k. - Also in this range: - c102 verdicts: AGMM K-block and decode SDPA compute knobs are dead; decode SDPA is bound by request shape. - Dual-NoC 0032 rev 3 (pk3q) runs in-model without a hang. - New per-call knobs, all inert when unset: `QWEN36_AGMM_UNFUSED`, `QWEN36_SDPA_DEC_CORES_PER_HEAD`. - Skill `ttx-queue-worktree-isolation`. - The cfx-llm2 disk cleanup record. Production redeploy stays the owner's call. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Grok added 20 commits 2026-09-29 09:19:42 +02:00
Believed before: the 8-tile K block that won for w2 would carry to the other MR roles, and the GDN decode state
matmuls needed HiFi4. Sweep 3 shows w13/qkvzab/attn_qkv all lose at in0 20/16; HiFi2 on the GDN decode kernel is
-0.18 ms at B=8 with equiv NEAR_TIE and a non-significant gsm8k delta, but the stacked tier-2 levers now read
295 -> 293 -> 291, so the next numerics bundle must pair against the bit-exact c70 reference.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Revs 1 and 2 hung: rev 1 in-model, rev 2 on one bare card on the second program. Both had a kernel issuing reads on
the other RISC's NoC. Rev 3 gives odd-index in0-receiver readers the stock in1 kernel on NOC1. No kernel touches
the other RISC's NoC, and no DM_DYNAMIC_NOC is needed. ttsim equivalence passes with --repeat 2 (correctness only,
not a speed number). Shipped to cfx-llm2. The hw1card gate is queued before any mesh boot.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Believed before: the decode all-reduce was sync/latency bound and nothing smaller than a 32-row tile could go over the
wire. The probe fits F ~5.8 us + W ~12.8 us/links, so ~6.4 us of each call is the 320 KB payload; all_reduce_async
already accepts a bf8 input with a bf16 output dtype.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The 4k -> 32k decode growth looked like a candidate for SDPA compute knobs. The profile shows the op reading its bf8
KV near the DRAM ceiling, so only fewer bytes or a wider reader can move it. pfw2-gf arm staged for c103.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
c102 read the 379 GB/s decode SDPA as a DRAM ceiling. The reader code says one 1088 B tile per request on one NoC, with
96 of 110 cores at B=8 and 32 of 110 at B=1. Narrowing tells NoC-aggregate from per-core latency; widening tests B=1.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
AGMM knob tuning was inert because the fused op itself is the question: at ~55% vs ~71% of LoFi peak, it runs slower
than the plain bmm. Sharded in-proj weights and swiglu use minimal_matmul, since the 2D-mcast bmm misreads MR-sharded
weights silently (n6). ttsim covers the matmul role only and came out bit-exact vs fused; it gives correctness, not
speed. Screens queued.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A subagent editing the prod tree in the queue's worktree would have booted half-edited files into c103.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
c103: pfw2-gf enters the LEDGER as R-2026-09-29-pfw2gf and becomes the README best (B=8 32k 93.20 s, -35.4% vs prod-g2; TG -0.33..-0.58% every cell vs a 4-rep pfw2 band; NEAR_TIE, gsm8k 291/300, retrieval 1.0 early/late)
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 11s
tt-stack-ci / Build simulators and check the host module (push) Failing after 1m3s
tt-stack-ci / Build simulators and check the host module (pull_request) Failing after 1m16s
tt-stack-ci / Report upstream drift (push) Successful in 9s
29c8c7bb8d
GDN decode HiFi2 was gated on sl-w2, not on pfw2, where pf changed the GDN prefill numerics under it. It holds on
pfw2 in 2 interleaved rounds.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Grok merged commit 29c8c7bb8d into master 2026-09-29 09:19:49 +02:00
Author
Owner

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

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

verdict: approve
tier: T0 (docs/benchmark-evidence only; no source, .nix, CI, or secret changes)

rationale: Diff (24245a2->29c8c7b) is README + LEDGER + STATUS ledger updates and the c103 pfw2-gf verdict/equiv/gsm8k/retrieval run records. The speed lever (GDN decode compute at HiFi2) already shipped under R-2026-09-29-gf; this PR records the result. Gates documented: NEAR_TIE vs colpar2 (max gap 1.00 < 1.94), GSM8K 291/300 thinking-on, retrieval 1.0 at 16k/32k early/late. No nix/CI/gate/secret changes. No red-flag patterns.

concerns:

  • [nit] docs/STATUS.md + docs/LEDGER.md headline -35.4% at B=8 32k; the ledger table shows per-cell -0.55% vs the interleaved pfw2 control. Both figures are real (-35.4% is vs prod-g2, -0.55% is vs the interleaved pfw2 band) -- just two reference baselines. Confirm @donach is happy with both shown.
**verdict:** approve **tier:** T0 (docs/benchmark-evidence only; no source, .nix, CI, or secret changes) **rationale:** Diff (24245a2->29c8c7b) is README + LEDGER + STATUS ledger updates and the c103 pfw2-gf verdict/equiv/gsm8k/retrieval run records. The speed lever (GDN decode compute at HiFi2) already shipped under R-2026-09-29-gf; this PR records the result. Gates documented: NEAR_TIE vs colpar2 (max gap 1.00 < 1.94), GSM8K 291/300 thinking-on, retrieval 1.0 at 16k/32k early/late. No nix/CI/gate/secret changes. No red-flag patterns. **concerns:** - [nit] docs/STATUS.md + docs/LEDGER.md headline `-35.4%` at B=8 32k; the ledger table shows per-cell `-0.55%` vs the interleaved pfw2 control. Both figures are real (-35.4% is vs prod-g2, -0.55% is vs the interleaved pfw2 band) -- just two reference baselines. Confirm @donach is happy with both shown.
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!125
No description provided.