d8k16: bf8 prefill AGMM in0 + K16 on dn, -1.5% at 32k (LEDGER R-2026-09-30-d8k16) #130

Merged
Grok merged 28 commits from serving-throughput into master 2026-09-30 01:00:04 +02:00
Owner

Adds LEDGER R-2026-09-30-d8k16 and sets the new best arm, prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16. The change is dn plus bf8 prefill AGMM in0 and AGMM K block 16. Everything was measured on card firmware 19.15.

cell makespan vs dn TTFT PP tok/s TG ms/token
B8/32k 88.06 s (−1.54%) 48.78 s 5,374 38.00
B4/32k 56.94 s (−1.40%) 24.11 s 5,437 31.92
B8/4k 39.77 s (in band) 9.28 s 3,536 29.43
B4/4k 32.60 s (in band) 4.06 s 4,036 27.73
B1/4k 28.12 s (flat) 0.88 s 4,668 26.63
  • Gates:
    • equiv: NEAR_TIE
    • GSM8K: 292/300 (thinking on)
    • retrieval: 1.0 at 16k and 32k, early and late halves
  • Firmware: the 19.14 → 19.15 effect is recorded separately as R-2026-09-30-fw1915.
  • Also in this branch: the c111–c114 synthesis, and the ttx warm tri-state running() fix.

This PR does not redeploy production. That is the owner's call.

🤖 Generated with Claude Code

Adds LEDGER `R-2026-09-30-d8k16` and sets the new best arm, `prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16`. The change is dn plus bf8 prefill AGMM in0 and AGMM K block 16. Everything was measured on card firmware 19.15. | cell | makespan vs dn | TTFT | PP tok/s | TG ms/token | |---|---|---|---|---| | B8/32k | 88.06 s (−1.54%) | 48.78 s | 5,374 | 38.00 | | B4/32k | 56.94 s (−1.40%) | 24.11 s | 5,437 | 31.92 | | B8/4k | 39.77 s (in band) | 9.28 s | 3,536 | 29.43 | | B4/4k | 32.60 s (in band) | 4.06 s | 4,036 | 27.73 | | B1/4k | 28.12 s (flat) | 0.88 s | 4,668 | 26.63 | - **Gates:** - equiv: NEAR_TIE - GSM8K: 292/300 (thinking on) - retrieval: 1.0 at 16k and 32k, early and late halves - **Firmware:** the 19.14 → 19.15 effect is recorded separately as `R-2026-09-30-fw1915`. - **Also in this branch:** the c111–c114 synthesis, and the ttx warm tri-state `running()` fix. This PR does not redeploy production. That is the owner's call. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Grok added 28 commits 2026-09-30 00:59:58 +02:00
We believed the fused AGMM (43% of 16k prefill busy) had no knob left: every config knob was inert and the unfused
gather + matmul lost (c104). The one input never tried is its activation dtype: x enters as bf16 against bf4
weights, and FS8 (#109) held its upstream rate only with bf4 activations. The op validates BFLOAT8_B/BFLOAT4_B act
tensors, but it sizes local/fabric pages from the input and in0 CB reads from the gather buffer with no check
between them, and an op-allocated gather buffer takes the bf16 output dtype. So the engaged path typecasts x and
always passes a gather buffer allocated in the in0 dtype (agmm_gather_buffer is keyed by dtype), replacing a bf16
one a colpar caller passes. ttsim (2 chips, matmul role, correctness only): PCC vs torch 0.99997 bf8, 0.984 bf4,
banner logged, return contract unchanged. swiglu is not simulable (ttsim SiLU abort). The norm-emits-low-precision
mode is skipped: it needs an overlay of the framework models/common/rmsnorm.py. wb_knobs gains an activation_only
exemption so a registered per-call activation cast is not refused as weight-like. Screen: bench/probes/agmm_in0_lowp/run.sh.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Several AGMM knobs were inert alone at bf16 activations. Once bf8 in0 relieves the in0 path they may bind, so the
experiment measures the interaction terms rather than main effects alone (owner 2026-09-29, advisor experiment B).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Believed: docker logs holds every boot line. cfx-llm2's default driver is journald, which suppressed 889,035
messages in one boot; a 64x banner read 55 and refused a good pfw2-gf control (B=8). An absent-banner check
could equally have passed falsely. Containers now log to their own json-file.

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>
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>
running() still used 'docker top NAME -o pid,args', which this docker CLI rejects (the c66 bug,
fixed in request() but not here). In c109 p3 the SDPA knockout workbench reached 'listening', one
ping hung 2m16s, running() read the rejected top as 'no process' and start() declared it dead.
running_state() is now tri-state; start() needs two confirmed empty tops plus a failed ping.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The c107/c111 effects script ranked on profiler busy, which converts cycles at the sync-time clock and so misses
the prefill AICLK sag; on wall the 2^3 (M8 cells TT_FATAL) shows D and K pay and F is inert. #93 fcs step skipped
(advisor: its questions are answered by records); fast-boot block deferred.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner directive D-2026-09-29-tp2-own-1-7. The advisor spot-checked each report: p2's producer-bf8 gain double-counted
c111 D, power and the bf8 levers share one ~5.8% clock pool, chunk 4096 is refused by the SDPA multicast, p5's -19%
used the ideal roofline (plan -8..-14%). Prefetcher header verified present in image pk3r (/opt/tt-metal-src), so the
n10 failure is the JIT include root, not a missing port.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
p2 levers 3 and 7 (advisor-corrected): after bf8 AGMM in0, the w2 in0 (SwiGLU hidden) and the w2 output that the
reduce-scatter moves are still bf16. Unset = byte-identical shipped path. Ranked on wall with AICLK sampled, since
these levers act through the shared prefill clock pool. bf4 hidden is the must-fail rung.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Before: 'most likely Doppler' was a firmware-source read. tt-smi telemetry during a B8/32k prefill shows the ruling
max arbiter is Doppler (id 8) in every sagging sample, board input 307/281 W vs the 300 W limit, GDDR/ASIC below
trip. The 150 W/200 A hwmon limits are the disabled VCORE TDP/TDC. c112 r1 on 19.14: d8k16 -1.18%/-0.96% at
B8/B4 32k (band 0.06-0.11%); resumed entirely on 19.15 as c114.

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>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Firmware and bundle measured as separate variable classes: dn on 19.14 (2) vs 19.15 (3) for the firmware; dn vs
d8k16 ABABA entirely on 19.15 for the bundle. Clock gating cuts decode VCORE ~20 W/card; the 32k gain fits power
headroom under the Doppler cap, the 4k loss a per-op gating cost (hypothesis). GSM8K/retrieval gates running.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
LEDGER R-2026-09-30-d8k16: bf8 prefill AGMM in0 + K block 16 on dn, -1.54%/-1.40% at B8/B4 32k, gates pass (GSM8K 292/300, retrieval 1.0 early/late)
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 8s
tt-stack-ci / Build simulators and check the host module (pull_request) Failing after 1m27s
tt-stack-ci / Build simulators and check the host module (push) Failing after 1m17s
tt-stack-ci / Report upstream drift (push) Successful in 7s
ba7c3c45a4
Before: D+K was a workbench-only -3.6% on wall (c111), with served effect unknown and numerics tier 2.
The served ABABA on fw 19.15 shows about -1.5% at 32k and nothing at 4k, and all three correctness gates pass. So it
ships as the new best arm, and the README best column moves to it (fw 19.15).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Grok merged commit ba7c3c45a4 into master 2026-09-30 01:00:04 +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.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!130
No description provided.