[HIGH PRIO] Adopt every speed lever conditionally (D-2026-09-27-speed-over-bitexact): stacked work list for the queue agent #110

Closed
opened 2026-09-27 19:39:41 +02:00 by Grok · 43 comments
Owner

Owner directive 2026-09-27 — LEDGER D-2026-09-27-speed-over-bitexact: "adopt conditionally as many changes as possible that can boost performance, minor deviation is acceptable if the speed is much better." Dispatch to the queue agent. Priority: per-token / per-chunk costs first (owner 09-27: one-time per-request delays like the ~235 ms prefill idle are low priority).

Acceptance tiers (from the LEDGER entry)

  1. Bit-exact → adopt on any measured win above noise.
  2. Near-tie only (D-2026-09-25-identity-rule) → adopt on any measured win above noise.
  3. REAL divergences → adopt only if the win is ≥ 5% (PP tok/s, TG ms/token or B=8 makespan, measured on hardware) and gsm8k (≤ 1 pt drop, same N) + retrieval stay within noise of the bit-exact control.

Every lever: own flag (default off) + <FLAG> engaged banner; record per lever in bench/runs; report PP tok/s and TG ms/token per B. Re-gate the stacked bundle as a whole under the same tiers (deviations compound). Deploy stays the owner's call.

Work list (in order; estimates unless measured)

# Lever Issue Est. gain Tier State / first step
1 Stack the already-built non-bit-exact levers onto the current best bit-exact arm: MR decode matmuls + SDPA GQA mcast q256 #93, LEDGER R-2026-09-27-stack-EFMG TG −5.2 ms (measured in EFMG), makespan −6.6…−9.7 s B=8 (measured) 2 (passed) build arm = current best + MR + q256; equiv + sweep32k; add gsm8k/retrieval since it's the new baseline
2 Prefill GEMM: upstream tuned recipe #109 matmul 167 → ~110 ms/chunk (≈ −10% PP) 1 (fp32+full-sync) / 2-3 (bf16 dest, bfp8 act) probe queued at end of bench/queues/c68-mrx-then-mtp.txt; then in-model arm for the best arm per tier
3 SDPA decode reader depth (prefill already got it in 0027) new (docs/notes/decode-nondram-audit-2026-09-27.md rank 1) TG −1.5…−2.5 ms at B=8 32k 1 one-card op probe at barrier depth 2/8/16/32 tiles
4 Decode layout clean-up SA1/SA2, incl. row 10 (sharded norm → in-proj, not bit-exact) #104 TG −1.1…−2.1 ms 1 (+2 for row 10) SA1 arm is Python-only
5 Bf4 weight-read wall: DRAM-core tensor prefetcher or dual-NoC reader (#55898: 62 → 95% of peak, third-party) #103 TG −3…−9 ms 1-2 stage-0 op probe
6 Prefill reduce-scatter tuning, then overlap (split chunk halves) #108 PP −3…−9% 1 c69 rs-sweep.sh already queued
7 GDN decode Dv split + conv/gates fold #105 TG −0.8…−2.1 ms (B=1) 1 one-card op probe 24/48/96/192 heads
8 All-reduce fused into out-proj / trim payload to B rows decode-nondram-audit ranks 4-5 TG −0.6…−1.7 ms 1-2 traced 128-AR chain probe
9 Fused SwiGLU full grid; fused norm+gate / qk-norm+RoPE #106, #107 TG −0.7…−3.5 ms 2 after 4
10 Prefill matmul config remainder (MLP packer_l1_acc, swiglu N-block 26), layout fusion, norm/eltwise fusion, GDN scan restructure docs/notes/prefill-roofline-audit-2026-09-27.md ranks 3,6,8,9 PP −10…−20% combined 1-3 workbench knob QWEN36_AGMM_MLP_NBLOCK exists
11 Small: argmax rows in parallel, fused K/V cache write, attn_qkv 11x6 grid audit ranks 10-12 TG −0.3…−0.6 ms 1 Python

MTP tuning stays after decode/prefill headroom (owner 09-27); SuffixDecoding / adaptive-K MTP at B=1 are the next block after this list (docs/notes/decode-papers-scan-2026-09-27.md).

Done when

Each row has an on-hardware record with its tier verdict, winners are stacked into one arm that passes its tier as a bundle, and STATUS.md shows the new PP tok/s and TG ms/token per B.

**Owner directive 2026-09-27 — LEDGER `D-2026-09-27-speed-over-bitexact`:** *"adopt conditionally as many changes as possible that can boost performance, minor deviation is acceptable if the speed is much better."* Dispatch to the queue agent. Priority: per-token / per-chunk costs first (owner 09-27: one-time per-request delays like the ~235 ms prefill idle are low priority). ## Acceptance tiers (from the LEDGER entry) 1. **Bit-exact** → adopt on any measured win above noise. 2. **Near-tie only** (`D-2026-09-25-identity-rule`) → adopt on any measured win above noise. 3. **REAL divergences** → adopt only if the win is **≥ 5%** (PP tok/s, TG ms/token or B=8 makespan, measured on hardware) **and** `gsm8k` (≤ 1 pt drop, same N) + `retrieval` stay within noise of the bit-exact control. Every lever: own flag (default off) + `<FLAG> engaged` banner; record per lever in `bench/runs`; report PP tok/s and TG ms/token per B. Re-gate the stacked bundle as a whole under the same tiers (deviations compound). Deploy stays the owner's call. ## Work list (in order; estimates unless measured) | # | Lever | Issue | Est. gain | Tier | State / first step | |---|---|---|---|---|---| | 1 | Stack the already-built non-bit-exact levers onto the current best bit-exact arm: MR decode matmuls + SDPA GQA mcast q256 | #93, LEDGER `R-2026-09-27-stack-EFMG` | TG −5.2 ms (measured in EFMG), makespan −6.6…−9.7 s B=8 (measured) | 2 (passed) | build arm = current best + MR + q256; equiv + sweep32k; add gsm8k/retrieval since it's the new baseline | | 2 | Prefill GEMM: upstream tuned recipe | #109 | matmul 167 → ~110 ms/chunk (≈ −10% PP) | 1 (fp32+full-sync) / 2-3 (bf16 dest, bfp8 act) | probe queued at end of `bench/queues/c68-mrx-then-mtp.txt`; then in-model arm for the best arm per tier | | 3 | SDPA decode reader depth (prefill already got it in 0027) | new (docs/notes/decode-nondram-audit-2026-09-27.md rank 1) | TG −1.5…−2.5 ms at B=8 32k | 1 | one-card op probe at barrier depth 2/8/16/32 tiles | | 4 | Decode layout clean-up SA1/SA2, incl. row 10 (sharded norm → in-proj, not bit-exact) | #104 | TG −1.1…−2.1 ms | 1 (+2 for row 10) | SA1 arm is Python-only | | 5 | Bf4 weight-read wall: DRAM-core tensor prefetcher or dual-NoC reader (#55898: 62 → 95% of peak, third-party) | #103 | TG −3…−9 ms | 1-2 | stage-0 op probe | | 6 | Prefill reduce-scatter tuning, then overlap (split chunk halves) | #108 | PP −3…−9% | 1 | c69 `rs-sweep.sh` already queued | | 7 | GDN decode Dv split + conv/gates fold | #105 | TG −0.8…−2.1 ms (B=1) | 1 | one-card op probe 24/48/96/192 heads | | 8 | All-reduce fused into out-proj / trim payload to B rows | decode-nondram-audit ranks 4-5 | TG −0.6…−1.7 ms | 1-2 | traced 128-AR chain probe | | 9 | Fused SwiGLU full grid; fused norm+gate / qk-norm+RoPE | #106, #107 | TG −0.7…−3.5 ms | 2 | after 4 | | 10 | Prefill matmul config remainder (MLP packer_l1_acc, swiglu N-block 26), layout fusion, norm/eltwise fusion, GDN scan restructure | docs/notes/prefill-roofline-audit-2026-09-27.md ranks 3,6,8,9 | PP −10…−20% combined | 1-3 | workbench knob `QWEN36_AGMM_MLP_NBLOCK` exists | | 11 | Small: argmax rows in parallel, fused K/V cache write, attn_qkv 11x6 grid | audit ranks 10-12 | TG −0.3…−0.6 ms | 1 | Python | MTP tuning stays after decode/prefill headroom (owner 09-27); SuffixDecoding / adaptive-K MTP at B=1 are the next block after this list (docs/notes/decode-papers-scan-2026-09-27.md). ## Done when Each row has an on-hardware record with its tier verdict, winners are stacked into one arm that passes its tier as a bundle, and STATUS.md shows the new PP tok/s and TG ms/token per B.
Author
Owner

c70 confirmed (tier 1, bit-exact 8/8): 0030 merged core ranges + prefill RS cfg. B=8 makespan −4.4/−4.0/−3.2/−2.3% at 4k/8k/16k/32k, TG 43.12→40.74 ms (B=8 4k), 39.18→37.96 (B=1 32k); PP flat (B=8 32k 4.07k tok/s, B=1 4k 4.28k). Two interleaved rounds, control drift ≤0.8%. LEDGER R-2026-09-27-c70-merged-ranges, record bench/runs/perf-loop-c70-bundle-verdict-20260927T1820Z.jsonl.

Row 1 now queued as arm prod-g2-c72-T2 = c70 + MR + SDPA q256 (Q128 off): equiv near-tie → gsm8k → retrieval → sweep vs c70 ×2. Row 3 (SDPA decode reader depth) queued first as a wb kernel-edit probe (depths stock/1/8/16/32, B=8+1 @32k). Row 2 (#109) probe is running now.

Escalation (owner's call): c70 is a bit-exact redeploy candidate (image vllm-tt:k2-mr-pk3m); EFMG/c72 is the tier-2 candidate once gated.

c70 confirmed (tier 1, bit-exact 8/8): 0030 merged core ranges + prefill RS cfg. B=8 makespan −4.4/−4.0/−3.2/−2.3% at 4k/8k/16k/32k, TG 43.12→40.74 ms (B=8 4k), 39.18→37.96 (B=1 32k); PP flat (B=8 32k 4.07k tok/s, B=1 4k 4.28k). Two interleaved rounds, control drift ≤0.8%. LEDGER R-2026-09-27-c70-merged-ranges, record bench/runs/perf-loop-c70-bundle-verdict-20260927T1820Z.jsonl. Row 1 now queued as arm prod-g2-c72-T2 = c70 + MR + SDPA q256 (Q128 off): equiv near-tie → gsm8k → retrieval → sweep vs c70 ×2. Row 3 (SDPA decode reader depth) queued first as a wb kernel-edit probe (depths stock/1/8/16/32, B=8+1 @32k). Row 2 (#109) probe is running now. **Escalation (owner's call):** c70 is a bit-exact redeploy candidate (image vllm-tt:k2-mr-pk3m); EFMG/c72 is the tier-2 candidate once gated.
Author
Owner

Row 3 (SDPA decode reader depth) killed, workbench (not served): depth 1/2(stock)/8/16/32 → B=8 32k TG 50.68–50.70 ms, B=1 32k 38.66–38.67 ms; reader ELF rebuilt each time. Decode SDPA at B=8 32k = 12.05 ms/chip (~24% of the step) at ~380 GB/s on bf8 KV → bytes-bound; the lever there is KV bytes (K8/V4, kv-k8v4 agent), not reader latency. Record bench/runs/perf-loop-c72-sdpa-depth-verdict-20260927T1858Z.jsonl.

New prefill lever from the c71 ordered sequence (bench/runs/perf-loop-c71-seq-verdict-20260927T1850Z.jsonl): the GDN prefill conv1d chain (conv2d machinery + 6 layout ops + silu + 3 slices) is ~1.4 ms per GDN layer per 2k chunk (conv itself 0.15 ms). Upstream ttnn.experimental.kda.qkv_causal_conv1d_silu (in our image) does conv+SiLU+q/k/v split in one op → c74 arm prod-g2-EFS-c70-kda (QWEN36_GDN_CONV_KDA), equiv running now, then sweeps + gsm8k/retrieval. Row 4 (#104 SA1) is c73, queued with a must-fail twin.

Row 3 (SDPA decode reader depth) **killed**, workbench (not served): depth 1/2(stock)/8/16/32 → B=8 32k TG 50.68–50.70 ms, B=1 32k 38.66–38.67 ms; reader ELF rebuilt each time. Decode SDPA at B=8 32k = 12.05 ms/chip (~24% of the step) at ~380 GB/s on bf8 KV → bytes-bound; the lever there is KV bytes (K8/V4, kv-k8v4 agent), not reader latency. Record bench/runs/perf-loop-c72-sdpa-depth-verdict-20260927T1858Z.jsonl. New prefill lever from the c71 ordered sequence (bench/runs/perf-loop-c71-seq-verdict-20260927T1850Z.jsonl): the GDN prefill conv1d chain (conv2d machinery + 6 layout ops + silu + 3 slices) is ~1.4 ms per GDN layer per 2k chunk (conv itself 0.15 ms). Upstream ttnn.experimental.kda.qkv_causal_conv1d_silu (in our image) does conv+SiLU+q/k/v split in one op → c74 arm prod-g2-EFS-c70-kda (QWEN36_GDN_CONV_KDA), equiv running now, then sweeps + gsm8k/retrieval. Row 4 (#104 SA1) is c73, queued with a must-fail twin.
Author
Owner

Row 1 (c72 T2 = c70 + MR decode matmuls + SDPA GQA mcast q256), round 1. It wins every cell, far outside the control band: 2 c70 reps, 0.30% makespan, 0.04% TG.

4k 8k 16k 32k
B=8 makespan 53.47→47.89 s (−10.4%) −8.3% −6.4% 116.8→109.3 s (−6.4%)
B=8 TG ms/tok 40.74→35.37 42.23→36.87 45.09→39.70 50.83→45.44
B=1 TG ms/tok 36.72→31.36 36.90→31.54 37.26→31.89 37.96→32.60
PP tok/s (B=8) 3179 (−0.8%) 3752 4130 4176 (+2.6%)
  • Tier 2 passes as a whole: near-tie equiv (max gap 0.25), gsm8k 59/60 (control 58/60), retrieval 1.0 in early and late halves at 16k and 32k.
  • SA1 is confirmed BIT_EXACT by its must-fail twin (0/8 exact).
  • A confirming full round (r2) is queued.
  • Records: bench/runs/perf-loop-c72-T2-r1-verdict-20260927T2012Z.jsonl and bench/runs/perf-loop-c75-gates-verdict-20260927T1935Z.jsonl.

Escalation (owner's call): once r2 confirms, c72 T2 (image vllm-tt:k2-mr-pk3m) is the tier-2 redeploy candidate: about −14% TG at B=1 and −6…−10% B=8 makespan against c70.

Row 1 (c72 T2 = c70 + MR decode matmuls + SDPA GQA mcast q256), round 1. It wins every cell, far outside the control band: 2 c70 reps, 0.30% makespan, 0.04% TG. | | 4k | 8k | 16k | 32k | |---|---|---|---|---| | B=8 makespan | 53.47→47.89 s (−10.4%) | −8.3% | −6.4% | 116.8→109.3 s (−6.4%) | | B=8 TG ms/tok | 40.74→35.37 | 42.23→36.87 | 45.09→39.70 | 50.83→45.44 | | B=1 TG ms/tok | 36.72→31.36 | 36.90→31.54 | 37.26→31.89 | 37.96→32.60 | | PP tok/s (B=8) | 3179 (−0.8%) | 3752 | 4130 | 4176 (+2.6%) | - Tier 2 passes as a whole: near-tie equiv (max gap 0.25), gsm8k 59/60 (control 58/60), retrieval 1.0 in early and late halves at 16k and 32k. - SA1 is confirmed BIT_EXACT by its must-fail twin (0/8 exact). - A confirming full round (r2) is queued. - Records: bench/runs/perf-loop-c72-T2-r1-verdict-20260927T2012Z.jsonl and bench/runs/perf-loop-c75-gates-verdict-20260927T1935Z.jsonl. **Escalation (owner's call):** once r2 confirms, c72 T2 (image vllm-tt:k2-mr-pk3m) is the tier-2 redeploy candidate: about −14% TG at B=1 and −6…−10% B=8 makespan against c70.
Author
Owner

Perf loop update (PR #117 merged to master):

  • T2 (c70 + MR decode matmuls + SDPA q256) is confirmed in 2 rounds: LEDGER R-2026-09-27-c72-T2. B=8 makespan −10.0% at 4k and −6.3% at 32k; B=1 TG 31.36 ms; PP ~4.2k tok/s.
  • c78 (T2+SA1) beats the T2 band in every cell: TG 34.86 / 44.95 ms at B=8 4k / 32k, 30.95 ms at B=1. GSM8K 58/60 (T2: 59/60). Retrieval (early and late half) is running; LEDGER waits for it.
  • c79 screen queued: c78 + bf4 MR lm_head + FS8 + kda.

Deploying either arm is the owner's call.

Perf loop update (PR #117 merged to master): - **T2** (c70 + MR decode matmuls + SDPA q256) is confirmed in 2 rounds: LEDGER R-2026-09-27-c72-T2. B=8 makespan −10.0% at 4k and −6.3% at 32k; B=1 TG 31.36 ms; PP ~4.2k tok/s. - **c78 (T2+SA1)** beats the T2 band in every cell: TG 34.86 / 44.95 ms at B=8 4k / 32k, 30.95 ms at B=1. GSM8K 58/60 (T2: 59/60). Retrieval (early and late half) is running; LEDGER waits for it. - **c79 screen queued:** c78 + bf4 MR lm_head + FS8 + kda. Deploying either arm is the owner's call.
Author
Owner

c83: c78 = T2 + SA1 confirmed in round 2, now LEDGER R-2026-09-27-c78-T2SA1 (tier 2, fully gated: equiv near-tie, GSM8K 58/60, retrieval 1.0 at 16k/32k in both halves).
Mean of r1 and r2 vs the T2 band (makespan ≤0.93%, TG 0.02%):

  • B=8 4k: makespan 47.54 s (−1.2%), TG 34.87 ms (−1.4%), PP 3.20k tok/s.
  • B=8 32k: makespan 108.88 s (−0.4%), TG 44.95 ms (−1.1%), PP 4.17k tok/s.
  • B=1 4k: makespan 32.62 s, TG 30.95 ms (−1.3%), PP 4.27k tok/s.

Cumulative vs prod-g2: B=8 makespan −29.6% at 4k and −24.5% at 32k.
Record: bench/runs/perf-loop-c83-c78-r2-vs-T2-verdict-20260927T2300Z.jsonl.

c79 (bf4 lm_head + kda) lost its first boot to the adopted cache. It is re-queued on a keyed cache, and ttx lint now catches that case.
Next: the K5 ATTN_PREP workbench retry, then the c82 screen (K3 + K5).

c83: **c78 = T2 + SA1 confirmed in round 2**, now LEDGER `R-2026-09-27-c78-T2SA1` (tier 2, fully gated: equiv near-tie, GSM8K 58/60, retrieval 1.0 at 16k/32k in both halves). Mean of r1 and r2 vs the T2 band (makespan ≤0.93%, TG 0.02%): - B=8 4k: makespan 47.54 s (−1.2%), TG 34.87 ms (−1.4%), PP 3.20k tok/s. - B=8 32k: makespan 108.88 s (−0.4%), TG 44.95 ms (−1.1%), PP 4.17k tok/s. - B=1 4k: makespan 32.62 s, TG 30.95 ms (−1.3%), PP 4.27k tok/s. Cumulative vs `prod-g2`: B=8 makespan −29.6% at 4k and −24.5% at 32k. Record: `bench/runs/perf-loop-c83-c78-r2-vs-T2-verdict-20260927T2300Z.jsonl`. c79 (bf4 lm_head + kda) lost its first boot to the adopted cache. It is re-queued on a keyed cache, and `ttx lint` now catches that case. Next: the K5 ATTN_PREP workbench retry, then the c82 screen (K3 + K5).
Author
Owner

c86 bundle round 1: every cell wins by 6.2–6.6% makespan against the c78 band (3 reps).
c86 = c82 (c78 + K3 norm-gate + K5 attn prep) + MR SiLU unfused + bf4 MR lm_head + GDN a/b pad + kda.

  • B=8 4k: makespan 44.45 s (−6.4%), TG 32.54 ms (−6.7%), PP 3.36k tok/s (+5.3%).
  • B=8 32k: makespan 102.10 s (−6.2%), TG 42.62 ms (−5.2%), TTFT −7.0%, PP 4.49k tok/s (+7.5%).
  • B=1 4k: makespan 30.47 s (−6.6%), TG 28.86 ms (−6.7%).

Equiv is NEAR_TIE (max gap 0.5), so tier 2. Cumulative vs prod-g2 is −34.2% (4k) / −29.2% (32k) B=8 makespan, round 1 only.
Record: bench/runs/perf-loop-c86-screen-verdict-20260928T0005Z.jsonl.

Queued next: GSM8K and retrieval (early/late halves) on this exact combination, then round 2, then LOO over the 4 new members.

Harness fix found along the way: --seed from the prod cache had silently hardlinked 0 files (protected_hardlinks). It now falls back to symlinks.

c86 bundle round 1: **every cell wins by 6.2–6.6% makespan** against the c78 band (3 reps). c86 = c82 (c78 + K3 norm-gate + K5 attn prep) + MR SiLU unfused + bf4 MR lm_head + GDN a/b pad + kda. - B=8 4k: makespan 44.45 s (−6.4%), TG 32.54 ms (−6.7%), PP 3.36k tok/s (+5.3%). - B=8 32k: makespan 102.10 s (−6.2%), TG 42.62 ms (−5.2%), TTFT −7.0%, PP 4.49k tok/s (+7.5%). - B=1 4k: makespan 30.47 s (−6.6%), TG 28.86 ms (−6.7%). Equiv is NEAR_TIE (max gap 0.5), so tier 2. Cumulative vs `prod-g2` is −34.2% (4k) / −29.2% (32k) B=8 makespan, round 1 only. Record: `bench/runs/perf-loop-c86-screen-verdict-20260928T0005Z.jsonl`. Queued next: GSM8K and retrieval (early/late halves) on this exact combination, then round 2, then LOO over the 4 new members. Harness fix found along the way: `--seed` from the prod cache had silently hardlinked 0 files (`protected_hardlinks`). It now falls back to symlinks.
Author
Owner

c86 r2 (independent boot) confirms r1 within 0.2% vs the c78 band: B=8 4k makespan 44.46 s (-6.4%), TG 32.53 ms; B=8 32k 102.00 s (-6.3%), TG 42.62; B=1 4k TG 28.86 (-6.7%), PP 4.5k. Gates: equiv near-tie, retrieval 1.0 early/late at 16k/32k, GSM8K 57/60. GSM8K N=300 vs bit-exact c70 runs before LEDGER, because misses nest T2 to c78 to c86. Record: bench/runs/perf-loop-c86-r2-verdict-20260928T0037Z.jsonl

c86 r2 (independent boot) confirms r1 within 0.2% vs the c78 band: B=8 4k makespan 44.46 s (-6.4%), TG 32.53 ms; B=8 32k 102.00 s (-6.3%), TG 42.62; B=1 4k TG 28.86 (-6.7%), PP 4.5k. Gates: equiv near-tie, retrieval 1.0 early/late at 16k/32k, GSM8K 57/60. GSM8K N=300 vs bit-exact c70 runs before LEDGER, because misses nest T2 to c78 to c86. Record: bench/runs/perf-loop-c86-r2-verdict-20260928T0037Z.jsonl
Author
Owner

c90k/c91 (TP=2, G2 bfp4, bf8 KV, k2-mr-pk3m): the GDN decode recurrence's reader zeroed tile padding with volatile RISC L1 stores, serial with compute; that was 1.25 of the op's 3.99 ms/step. Zeroing by NoC loopback from MEM_ZEROS_BASE (kernel overlay, no image build) is served BIT_EXACT vs colpar2 and wins every r1 cell: B=8 32k makespan 97.09 s (-1.44%), 4k 42.48 s (-3.28%), TG B=8 31.23 / 41.32 ms (-4.0/-3.1%), B=1 TG 28.29 ms. Cumulative vs prod-g2: B=8 32k -32.7%, 4k -36.9% (r1; r2 queued). Records: bench/runs/perf-loop-c91pre-rz-verdict-20260928T0615Z.jsonl, bench/runs/ttx-prod-g2-c86-colpar2-rz-equiv-20260928T055230Z.jsonl. The same RISC-fill pattern is on the critical path of norm_gate/attn_prep/conv_gates (must-fail +46/+23/+10%); the combined fix hung the cards, bisect running.

c90k/c91 (TP=2, G2 bfp4, bf8 KV, k2-mr-pk3m): the GDN decode recurrence's reader zeroed tile padding with volatile RISC L1 stores, serial with compute; that was 1.25 of the op's 3.99 ms/step. Zeroing by NoC loopback from MEM_ZEROS_BASE (kernel overlay, no image build) is served **BIT_EXACT** vs colpar2 and wins every r1 cell: B=8 32k makespan 97.09 s (-1.44%), 4k 42.48 s (-3.28%), TG B=8 31.23 / 41.32 ms (-4.0/-3.1%), B=1 TG 28.29 ms. Cumulative vs prod-g2: B=8 32k -32.7%, 4k -36.9% (r1; r2 queued). Records: bench/runs/perf-loop-c91pre-rz-verdict-20260928T0615Z.jsonl, bench/runs/ttx-prod-g2-c86-colpar2-rz-equiv-20260928T055230Z.jsonl. The same RISC-fill pattern is on the critical path of norm_gate/attn_prep/conv_gates (must-fail +46/+23/+10%); the combined fix hung the cards, bisect running.
Author
Owner

c96: prefill SDPA LoFi (QWEN36_SDPA_PREFILL_LOFI, fp32 dest off) wb on rz3: SDPA device -30% @16k, wb prefill 28k 5728->5546 ms (-3.2%, ctl/ctl2 flat). exp_approx inert. Served arm prod-g2-c86-colpar2-rz3-sl queued with equiv + 2 rounds vs rz3 + gsm8k N=300 + retrieval. MR readers screen voided by a mesh wedge (bench/runs/perf-loop-c96-mesh-wedge-mr-readers-20260928T0945Z.jsonl); re-queued with a reset between variants. No new served number; best stays rz3 (B=8 32k 97.00 s, TG 40.91 ms, PP 4775 tok/s).

c96: prefill SDPA LoFi (QWEN36_SDPA_PREFILL_LOFI, fp32 dest off) wb on rz3: SDPA device -30% @16k, wb prefill 28k 5728->5546 ms (-3.2%, ctl/ctl2 flat). exp_approx inert. Served arm prod-g2-c86-colpar2-rz3-sl queued with equiv + 2 rounds vs rz3 + gsm8k N=300 + retrieval. MR readers screen voided by a mesh wedge (bench/runs/perf-loop-c96-mesh-wedge-mr-readers-20260928T0945Z.jsonl); re-queued with a reset between variants. No new served number; best stays rz3 (B=8 32k 97.00 s, TG 40.91 ms, PP 4775 tok/s).
Author
Owner

c97: LEDGER R-2026-09-28-sl merged (PR #122). rz3 + prefill SDPA LoFi: B=8 32k makespan 95.14 s (-1.99% vs 3-rep rz3 band, 2 rounds), TTFT 53.26 s, PP 4,922 tok/s, TG 40.91 ms flat; B=4 32k -0.41%; 4k within +/-0.2%. NEAR_TIE, GSM8K 295/300, retrieval 1.0 early/late. Cumulative vs prod-g2: B=8 -34.0%/-37.3%, B=4 -33.7%/-38.3%. ttx now records per-card AICLK (retrieval saw dips to 1181 MHz). Next: fast-sigmoid SwiGLU epilogue screen, MR readers/in0 retune on rz3.

c97: LEDGER R-2026-09-28-sl merged (PR #122). rz3 + prefill SDPA LoFi: B=8 32k makespan 95.14 s (-1.99% vs 3-rep rz3 band, 2 rounds), TTFT 53.26 s, PP 4,922 tok/s, TG 40.91 ms flat; B=4 32k -0.41%; 4k within +/-0.2%. NEAR_TIE, GSM8K 295/300, retrieval 1.0 early/late. Cumulative vs prod-g2: B=8 -34.0%/-37.3%, B=4 -33.7%/-38.3%. ttx now records per-card AICLK (retrieval saw dips to 1181 MHz). Next: fast-sigmoid SwiGLU epilogue screen, MR readers/in0 retune on rz3.
Author
Owner

c98: fs gates pass (NEAR_TIE, GSM8K 293/300, retrieval 1.0/1.0); fs is B=4 32k −1.07%, B=8 32k −0.41% vs sl. GDN scan HiFi2 op −6.3% (prefill busy −0.6%); conv fast sigmoid op −2.9%; conv fidelity inert. Dual-NoC part D passes (1.43–1.89× one NoC). Prefill-fidelity bundle pf queued after the B=32 stress. Best unchanged: rz3-sl B=8 32k 95.14 s, TG 40.91 ms, PP 4,922 tok/s. Records: bench/runs/perf-loop-c98-*.jsonl on serving-throughput.

c98: fs gates pass (NEAR_TIE, GSM8K 293/300, retrieval 1.0/1.0); fs is B=4 32k −1.07%, B=8 32k −0.41% vs sl. GDN scan HiFi2 op −6.3% (prefill busy −0.6%); conv fast sigmoid op −2.9%; conv fidelity inert. Dual-NoC part D passes (1.43–1.89× one NoC). Prefill-fidelity bundle pf queued after the B=32 stress. Best unchanged: rz3-sl B=8 32k 95.14 s, TG 40.91 ms, PP 4,922 tok/s. Records: bench/runs/perf-loop-c98-*.jsonl on serving-throughput.
Author
Owner

c99: pf bundle (sl + fs + kda conv fast sigmoid + GDN scan HiFi2) r1 vs a 4-rep sl band: B=8 32k 94.32 s (−0.92%, TTFT 52.61 s, PP 4,983 tok/s, TG 40.98 ms), B=4 32k 61.11 s (−1.04%), 4k/B=1 flat; equiv NEAR_TIE. r2 + GSM8K + retrieval re-run in the c100 queue. Dual-NoC MR (patch 0032) mustfail rung hung the mesh in decode warmup; mode 1 unmeasured, not closed; 1-card no-model hardware check queued. Records: bench/runs/perf-loop-c99-*.jsonl.

c99: pf bundle (sl + fs + kda conv fast sigmoid + GDN scan HiFi2) r1 vs a 4-rep sl band: B=8 32k 94.32 s (−0.92%, TTFT 52.61 s, PP 4,983 tok/s, TG 40.98 ms), B=4 32k 61.11 s (−1.04%), 4k/B=1 flat; equiv NEAR_TIE. r2 + GSM8K + retrieval re-run in the c100 queue. Dual-NoC MR (patch 0032) mustfail rung hung the mesh in decode warmup; mode 1 unmeasured, not closed; 1-card no-model hardware check queued. Records: bench/runs/perf-loop-c99-*.jsonl.
Author
Owner

c101: bundle pfw2 (pf prefill numerics + w2 decode MR) enters the LEDGER (R-2026-09-29-pfw2), 2 rounds vs a 5-rep sl band, every cell: B=8 32k 93.77 s (−1.46%; −35.0% vs prod-g2), TTFT 52.26 s, PP 5,016 tok/s, TG 40.38 ms; B=4 32k 60.69 s (−1.67%); B=8 4k 41.65 s; B=4 4k 33.59 s; B=1 TG 27.39 ms, PP 4,649. Gates: NEAR_TIE, GSM8K 292/300, retrieval 1.0 early/late. LOO: pf carries 32k prefill, w2 decode; interaction ±0.9 pp. AGMM output subblock inert. Next: dual-NoC pk3p, AGMM K-block, decode SDPA knobs.

c101: bundle pfw2 (pf prefill numerics + w2 decode MR) enters the LEDGER (R-2026-09-29-pfw2), 2 rounds vs a 5-rep sl band, every cell: B=8 32k 93.77 s (−1.46%; −35.0% vs prod-g2), TTFT 52.26 s, PP 5,016 tok/s, TG 40.38 ms; B=4 32k 60.69 s (−1.67%); B=8 4k 41.65 s; B=4 4k 33.59 s; B=1 TG 27.39 ms, PP 4,649. Gates: NEAR_TIE, GSM8K 292/300, retrieval 1.0 early/late. LOO: pf carries 32k prefill, w2 decode; interaction ±0.9 pp. AGMM output subblock inert. Next: dual-NoC pk3p, AGMM K-block, decode SDPA knobs.
Author
Owner

c102: AGMM K-block (kb16/kb4) and 2x2 subblock dead on card time (+0.8/+6.4/+9.3% fused AGMM class). Decode SDPA compute knobs (LoFi, packer L1 acc, k_chunk 256/512, exp approx) all within ±0.1% at B=8 32k/4k and B=1 32k: decode SDPA is 12.0 of 40.3 ms/chip at B=8 32k, reading bf8 KV at ~379 GB/s (estimate), near the DRAM ceiling, so only fewer KV bytes (K8/V4, #79) or a wider/dual-NoC SDPA reader can move the 4k->32k growth. 0032 rev 3 (pk3q, dedicated-NoC split) is clean on one bare card; in-model screen running. c103 queued: pfw2 + GDN decode HiFi2, interleaved vs pfw2, 2 reps, gsm8k + retrieval. No new speed number; best stays pfw2 (B=8 32k 93.77 s, TG 40.38 ms, PP 5,016 tok/s).

c102: AGMM K-block (kb16/kb4) and 2x2 subblock dead on card time (+0.8/+6.4/+9.3% fused AGMM class). Decode SDPA compute knobs (LoFi, packer L1 acc, k_chunk 256/512, exp approx) all within ±0.1% at B=8 32k/4k and B=1 32k: decode SDPA is 12.0 of 40.3 ms/chip at B=8 32k, reading bf8 KV at ~379 GB/s (estimate), near the DRAM ceiling, so only fewer KV bytes (K8/V4, #79) or a wider/dual-NoC SDPA reader can move the 4k->32k growth. 0032 rev 3 (pk3q, dedicated-NoC split) is clean on one bare card; in-model screen running. c103 queued: pfw2 + GDN decode HiFi2, interleaved vs pfw2, 2 reps, gsm8k + retrieval. No new speed number; best stays pfw2 (B=8 32k 93.77 s, TG 40.38 ms, PP 5,016 tok/s).
Author
Owner

c103: pfw2-gf (pfw2 + GDN decode HiFi2) enters the LEDGER as R-2026-09-29-pfw2gf, merged to master (#125). B=8 32k 93.20 s (-35.4% vs prod-g2), TG 40.21 ms, PP 5,036 tok/s; B=4 32k 60.08 s; B=1 4k TG 27.30 ms, PP 4,716 tok/s. TG -0.33..-0.58% every cell vs a 4-rep pfw2 band. NEAR_TIE, GSM8K 291/300, retrieval 1.0 early/late. Dual-NoC rev 3 runs in-model without a hang (wb DN -0.35% B=8 / -0.8% B=1); re-run with a fixed banner check queued. Queued next: decode SDPA cores-per-head, unfused AGMM, c105 prefill small-op bundle, c104 TP=1 pfw2.

c103: pfw2-gf (pfw2 + GDN decode HiFi2) enters the LEDGER as R-2026-09-29-pfw2gf, merged to master (#125). B=8 32k 93.20 s (-35.4% vs prod-g2), TG 40.21 ms, PP 5,036 tok/s; B=4 32k 60.08 s; B=1 4k TG 27.30 ms, PP 4,716 tok/s. TG -0.33..-0.58% every cell vs a 4-rep pfw2 band. NEAR_TIE, GSM8K 291/300, retrieval 1.0 early/late. Dual-NoC rev 3 runs in-model without a hang (wb DN -0.35% B=8 / -0.8% B=1); re-run with a fixed banner check queued. Queued next: decode SDPA cores-per-head, unfused AGMM, c105 prefill small-op bundle, c104 TP=1 pfw2.
Author
Owner

c104b evaluator audit: the sweep32k makespan deltas between tier-2 arms were confounded by output length, because streams stopped at EOS. At 32k, pfw2-gf decoded 6-7% fewer tokens than the control.

  • LEDGER R-2026-09-29-pfw2gf is downgraded. TG (−0.33…−0.58%, every cell) and the makespan at B=1 and B=8 4k still stand. The 32k makespan is not attributable.
  • Fix 7f38727: sweep32k runs --ignore-eos by default. sweep-verdict now reports token totals and a Welch t, and refuses mixed sets.
  • The c101 AR-bf8 run and the c105 small-ops ABAB are the first fixed-length sweeps.
    No new speed number. Records: bench/runs/perf-loop-c104-pfw2-gf-reverdict-tokens-20260929T1100Z.jsonl
c104b evaluator audit: the sweep32k makespan deltas between tier-2 arms were confounded by output length, because streams stopped at EOS. At 32k, pfw2-gf decoded 6-7% fewer tokens than the control. - LEDGER R-2026-09-29-pfw2gf is downgraded. TG (−0.33…−0.58%, every cell) and the makespan at B=1 and B=8 4k still stand. The 32k makespan is not attributable. - Fix 7f38727: sweep32k runs --ignore-eos by default. sweep-verdict now reports token totals and a Welch t, and refuses mixed sets. - The c101 AR-bf8 run and the c105 small-ops ABAB are the first fixed-length sweeps. No new speed number. Records: bench/runs/perf-loop-c104-pfw2-gf-reverdict-tokens-20260929T1100Z.jsonl
Author
Owner

c105a: AR bf8 (QWEN36_AR_BF8) on w2-gf at fixed output length. TG is −1.34…−2.36% in every cell. Makespan: B8/32k −0.70%, B4/32k −1.13%, B1/4k −2.28%. Equiv NEAR_TIE. This is n=1, so it's not a claim yet. pfw2-gf-ab is queued: 2 rounds interleaved with pfw2-gf, then gsm8k and retrieval. Record: bench/runs/perf-loop-c101-ar-bf8-served-verdict-20260929T0921Z.jsonl

c105a: AR bf8 (QWEN36_AR_BF8) on w2-gf at fixed output length. TG is −1.34…−2.36% in every cell. Makespan: B8/32k −0.70%, B4/32k −1.13%, B1/4k −2.28%. Equiv NEAR_TIE. This is n=1, so it's not a claim yet. pfw2-gf-ab is queued: 2 rounds interleaved with pfw2-gf, then gsm8k and retrieval. Record: bench/runs/perf-loop-c101-ar-bf8-served-verdict-20260929T0921Z.jsonl
Author
Owner

c106a, n=1 per arm against two pfw2-gf controls, fixed length:

  • Prefill small ops (so): PP 5,116 tok/s at B4/32k, a new peak. Makespan −1.1% at B8/32k and −0.9% at B4/32k. TG flat.
  • AR bf8 (ab): TG −1.3…−2.3% in every cell.
  • Next: the bundle pfw2-gf-ab-so runs ABAB against pfw2-gf, then gates on that exact combination.
  • Also fixed: journald was dropping banner lines, and it refused a good control.
    Verdict: bench/runs/perf-loop-c105-so-ab-verdict-20260929T1054Z.jsonl
c106a, n=1 per arm against two pfw2-gf controls, fixed length: - Prefill small ops (so): PP 5,116 tok/s at B4/32k, a new peak. Makespan −1.1% at B8/32k and −0.9% at B4/32k. TG flat. - AR bf8 (ab): TG −1.3…−2.3% in every cell. - Next: the bundle pfw2-gf-ab-so runs ABAB against pfw2-gf, then gates on that exact combination. - Also fixed: journald was dropping banner lines, and it refused a good control. Verdict: bench/runs/perf-loop-c105-so-ab-verdict-20260929T1054Z.jsonl
Author
Owner

c106 SHIPPED: LEDGER R-2026-09-29-abso = pfw2-gf + AR bf8 + prefill small ops, merged to master in PR #127.

  • vs 3 interleaved pfw2-gf controls, fixed length: B8/32k 92.99 s (−1.34%), B8/4k 39.64 s (−1.81%), B4/32k 59.81 s (−1.76%), B4/4k 32.79 s (−2.03%), B1/4k 28.13 s (−2.28%).
  • TG: 39.92 / 29.66 / 33.14 / 27.95 / 26.66 ms. PP 5,064-5,091 tok/s at 32k.
  • Gates: NEAR_TIE, GSM8K 290/300, retrieval 1.0 at 16k/32k early and late.
  • 2x2: additive at 4k, sub-additive at 32k (+0.5 pt, decode TG); the LOO of the small-ops knobs is running.
  • Cumulative vs prod-g2: −35.5…−41.1% makespan.
c106 SHIPPED: LEDGER R-2026-09-29-abso = pfw2-gf + AR bf8 + prefill small ops, merged to master in PR #127. - vs 3 interleaved pfw2-gf controls, fixed length: B8/32k 92.99 s (−1.34%), B8/4k 39.64 s (−1.81%), B4/32k 59.81 s (−1.76%), B4/4k 32.79 s (−2.03%), B1/4k 28.13 s (−2.28%). - TG: 39.92 / 29.66 / 33.14 / 27.95 / 26.66 ms. PP 5,064-5,091 tok/s at 32k. - Gates: NEAR_TIE, GSM8K 290/300, retrieval 1.0 at 16k/32k early and late. - 2x2: additive at 4k, sub-additive at 32k (+0.5 pt, decode TG); the LOO of the small-ops knobs is running. - Cumulative vs prod-g2: −35.5…−41.1% makespan.
Author
Owner

Standing orders adopted as LEDGER D-2026-09-29-decode-standing-orders:

  • Order: so-LOO → c108 SDPA×MR dual-NoC combination (the only experiment aimed at the +10.26 ms B=8 4k→32k TG; promote only a combination win) → Tracy fixed-cost split #93 → traffic leftovers → K8/V4 #79 behind a working dual-NoC reader.
  • Hands off: MTP at B≥4, the prefetcher, GDN barrier tricks, FS8, dispatch merges, knobs alone, dead LEVERS rows.
  • Queue reordered to match. c108 now samples AICLK around every timed subplot, and #93's probe is being prepared off the cards.
Standing orders adopted as LEDGER D-2026-09-29-decode-standing-orders: - Order: so-LOO → c108 SDPA×MR dual-NoC combination (the only experiment aimed at the +10.26 ms B=8 4k→32k TG; promote only a combination win) → Tracy fixed-cost split #93 → traffic leftovers → K8/V4 #79 behind a working dual-NoC reader. - Hands off: MTP at B≥4, the prefetcher, GDN barrier tricks, FS8, dispatch merges, knobs alone, dead LEVERS rows. - Queue reordered to match. c108 now samples AICLK around every timed subplot, and #93's probe is being prepared off the cards.
Author
Owner

c107c: Nix Path I store overlay validated on card 1. It reproduces the pk3r image: hw B8/32k 622.5 vs 622.7 µs with the flag on, bitwise equal, must-fail slower. C++ deltas now ship as about 58 MB of nix copy instead of an image. ship checks the box first. Merged to master in #128. Record: bench/runs/ttnn-incr-pathI-overlay-hw-20260929T1415Z.jsonl. No new served speed number; the c107b RM×WO 2x2 is on the mesh.

c107c: Nix Path I store overlay validated on card 1. It reproduces the pk3r image: hw B8/32k 622.5 vs 622.7 µs with the flag on, bitwise equal, must-fail slower. C++ deltas now ship as about 58 MB of nix copy instead of an image. ship checks the box first. Merged to master in #128. Record: bench/runs/ttnn-incr-pathI-overlay-hw-20260929T1415Z.jsonl. No new served speed number; the c107b RM×WO 2x2 is on the mesh.
Author
Owner

c107b RM×WO 2x2 inside ab-so (B=8, 4k and 32k, 2 reps per cell). Dropping wo costs +0.46 s makespan and +0.42 s TTFT at B8/32k, against a 0.17 s spread, so wo carries a prefill win. rm is inert. TG is 39.71-39.80 ms in every arm, so no so knob touches decode, and the c106 32k 'interaction' was drift between blocks (retracted in LEDGER). The bundle is unchanged. Best arm: B8/32k 92.75 s, TG 39.72 ms/token; B8/4k 39.62 s, TG 29.67 ms/token. Next: c108 dual-NoC × MR. Record: bench/runs/perf-loop-c107b-rm-wo-2x2-20260929T1715Z.jsonl

c107b RM×WO 2x2 inside ab-so (B=8, 4k and 32k, 2 reps per cell). Dropping wo costs +0.46 s makespan and +0.42 s TTFT at B8/32k, against a 0.17 s spread, so wo carries a prefill win. rm is inert. TG is 39.71-39.80 ms in every arm, so no so knob touches decode, and the c106 32k 'interaction' was drift between blocks (retracted in LEDGER). The bundle is unchanged. Best arm: B8/32k 92.75 s, TG 39.72 ms/token; B8/4k 39.62 s, TG 29.67 ms/token. Next: c108 dual-NoC × MR. Record: bench/runs/perf-loop-c107b-rm-wo-2x2-20260929T1715Z.jsonl
Author
Owner

c106d/c108, TP=2 workbench at B8/32k decode (not served):

  • 0033 dual-NoC KV reader (dn): −1.62 ms (c106 in-model: 40.76 → 39.13; must-fail 49.05, so the ELF runs) and −1.67 ms (c108 2^4: 40.23 → 38.53, drift 0.005 ms, AICLK 1350).
  • Nothing stacks on it: MR dual NoC +0.13 ms; SDPA C and K knobs 0.00; SK interaction +0.11.
  • B=1 32k: +0.2 ms.
  • Next: c110 served ABAB (ab-so vs ab-so + dn, B 8/4/1 at 4k/32k, with equiv and retrieval), queued after the c109 prefill split.
c106d/c108, TP=2 workbench at B8/32k decode (not served): - **0033 dual-NoC KV reader (dn):** −1.62 ms (c106 in-model: 40.76 → 39.13; must-fail 49.05, so the ELF runs) and −1.67 ms (c108 2^4: 40.23 → 38.53, drift 0.005 ms, AICLK 1350). - **Nothing stacks on it:** MR dual NoC +0.13 ms; SDPA C and K knobs 0.00; SK interaction +0.11. - **B=1 32k:** +0.2 ms. - **Next:** c110 served ABAB (ab-so vs ab-so + dn, B 8/4/1 at 4k/32k, with equiv and retrieval), queued after the c109 prefill split.
Author
Owner

c110: dn ships (LEDGER R-2026-09-29-dn, merged to master in #129). ab-so + dual-NoC decode SDPA KV reader (0033, image pk3r), 2 rounds interleaved:

  • B8/32k: 90.99 s (−2.02%), TG 38.07 (−4.22%), TTFT 51.65 s, PP 5,076.
  • B4/32k: 58.53 s (−2.11%), TG 31.93 (−3.66%), PP 5,101.
  • B8/4k: 39.42 s (−0.60%), TG 29.42. B4/4k: 32.58 s (−0.63%). B1/4k: 28.11 s, TG 26.63 (flat).

Greedy output is byte-identical to ab-so (8/8). Retrieval is 1.0 early and late at 16k/32k.

Escalation: deploying needs the pk3r image in production (owner).

Next: c111, the prefill AGMM 2^4 (bf8 in0 × K block × subblock/CKC × M block) on the ab-so workbench.

**c110: dn ships** (LEDGER R-2026-09-29-dn, merged to master in #129). ab-so + dual-NoC decode SDPA KV reader (0033, image pk3r), 2 rounds interleaved: - B8/32k: 90.99 s (−2.02%), TG 38.07 (−4.22%), TTFT 51.65 s, PP 5,076. - B4/32k: 58.53 s (−2.11%), TG 31.93 (−3.66%), PP 5,101. - B8/4k: 39.42 s (−0.60%), TG 29.42. B4/4k: 32.58 s (−0.63%). B1/4k: 28.11 s, TG 26.63 (flat). Greedy output is byte-identical to ab-so (8/8). Retrieval is 1.0 early and late at 16k/32k. **Escalation:** deploying needs the pk3r image in production (owner). Next: c111, the prefill AGMM 2^4 (bf8 in0 × K block × subblock/CKC × M block) on the ab-so workbench.
Author
Owner

c111/c112: TP=2 levers 1-7, analysis done and execution started

  • Analysis: seven analyst reports plus an advisor plan, all estimates, in docs/analysis/tp2-levers-20260929/. Only MTP at batch (C++, −8…−14% est.) is worth more than ~3% on B8/32k. The prefill clock and bf8 levers share one pool of about 5.8%.
  • c111 (TP=2 workbench, ab-so, ranked on wall):
    • bf8 AGMM in0: −2.3% at 16k and 18k.
    • K block 16: −0.5…−0.9%, and only together with bf8.
    • Both together: −3.6%. Stock band 0.3-0.6%.
    • Record: bench/runs/perf-loop-c111-agmm-factorial-wall-verdict-20260929T2125Z.jsonl. No served number yet.
  • c112, queued: served ABABA of dn against …-ab-so-dn-d8k16, then equiv, GSM8K N=300 and retrieval.
  • Off-card builds in parallel: K8/V4 port onto dn (PR #79), tail-bucket trace (#50) plus phase timing, MTP-batch instrumentation, prefetcher 1-card bench. The prefetcher header is present in pk3r; the earlier failure was the JIT include root.
  • Harness fix: warm.running() is now tri-state. It had declared a listening workbench dead.
  • Best numbers, unchanged (dn): B8/32k 90.99 s, TG 38.07 ms, PP 5,076 tok/s; B4/32k 58.53 s, TG 31.93 ms.
**c111/c112: TP=2 levers 1-7, analysis done and execution started** - **Analysis:** seven analyst reports plus an advisor plan, all estimates, in `docs/analysis/tp2-levers-20260929/`. Only MTP at batch (C++, −8…−14% est.) is worth more than ~3% on B8/32k. The prefill clock and bf8 levers share one pool of about 5.8%. - **c111 (TP=2 workbench, ab-so, ranked on wall):** - bf8 AGMM in0: −2.3% at 16k and 18k. - K block 16: −0.5…−0.9%, and only together with bf8. - Both together: −3.6%. Stock band 0.3-0.6%. - Record: `bench/runs/perf-loop-c111-agmm-factorial-wall-verdict-20260929T2125Z.jsonl`. No served number yet. - **c112, queued:** served ABABA of dn against `…-ab-so-dn-d8k16`, then equiv, GSM8K N=300 and retrieval. - **Off-card builds in parallel:** K8/V4 port onto dn (PR #79), tail-bucket trace (#50) plus phase timing, MTP-batch instrumentation, prefetcher 1-card bench. The prefetcher header is present in pk3r; the earlier failure was the JIT include root. - **Harness fix:** `warm.running()` is now tri-state. It had declared a listening workbench dead. - **Best numbers, unchanged (dn):** B8/32k 90.99 s, TG 38.07 ms, PP 5,076 tok/s; B4/32k 58.53 s, TG 31.93 ms.
Author
Owner

fw 19.15.0 flashed (owner-approved, attended) + limiter measured.

  • Binding limiter in 32k prefill: Doppler, the 1 s average of 12 V board input against 300 W. In every sagging sample the ruling arbiter is id 8 on both cards. Board input is 307 / 281 W mean with VCORE at 114-118 W; GDDR 84 °C and ASIC ≤82 °C are below their trips. The 150 W / 200 A hwmon limits are the disabled VCORE TDP/TDC.
  • Decode already draws ~188 W at the board, of which only 63 W is VCORE.
  • Record: bench/runs/card-limiter-verdict-fw1914-20260929T2230Z.jsonl.
  • c112 round 1 (fw 19.14): d8k16 (bf8 AGMM in0 + K block 16) at B8/32k 89.72 s (−1.18%), B4/32k −0.96% (band 0.06-0.11%); PP 5,195, TTFT 50.46 s, TG flat at 37.99 ms; NEAR_TIE. One rep; it resumes on 19.15 as c114, which also sizes the firmware effect on dn.
**fw 19.15.0 flashed (owner-approved, attended) + limiter measured.** - **Binding limiter in 32k prefill:** Doppler, the 1 s average of 12 V board input against 300 W. In every sagging sample the ruling arbiter is id 8 on both cards. Board input is 307 / 281 W mean with VCORE at 114-118 W; GDDR 84 °C and ASIC ≤82 °C are below their trips. The 150 W / 200 A hwmon limits are the disabled VCORE TDP/TDC. - **Decode already draws ~188 W at the board**, of which only 63 W is VCORE. - Record: `bench/runs/card-limiter-verdict-fw1914-20260929T2230Z.jsonl`. - **c112 round 1 (fw 19.14):** d8k16 (bf8 AGMM in0 + K block 16) at B8/32k 89.72 s (−1.18%), B4/32k −0.96% (band 0.06-0.11%); PP 5,195, TTFT 50.46 s, TG flat at 37.99 ms; NEAR_TIE. One rep; it resumes on 19.15 as c114, which also sizes the firmware effect on dn.
Author
Owner

c114, fw 19.15, TP=2, pk3r. Candidate d8k16 (bf8 prefill AGMM in0 + K block 16) against dn, ABABA with 3 dn reps and 2 candidate reps.

cell makespan TTFT PP tok/s TG ms/token
B8/32k 88.06 s (−1.54%, t −7.5) 48.78 s 5,374 38.00
B4/32k 56.94 s (−1.40%, t −12.4) 24.11 s 5,437 31.92
B8/4k +0.32% (in band) 9.28 s 3,536 29.43
B4/4k −0.25% (in band) 4.06 s 4,036 27.73
B1/4k flat 0.88 s 4,668 26.63
  • Gates: the equivalence check passed as NEAR_TIE. GSM8K N=300 and retrieval (early and late halves) are running. The candidate merges only if both pass.

Escalation: the firmware effect (dn arm, 19.14 ×2 vs 19.15 ×3; LEDGER R-2026-09-30-fw1915)

  • 32k is faster: B8 −1.48% and B4 −1.15%. Clock gating frees power under the Doppler 300 W cap.
  • 4k is slower: B8 +0.77% and B4 +0.41%. No power cap binds there, so all 4k sees is the per-op gating cost (hypothesis).
  • B=1 and TG: flat.
  • Power: decode draws about 20 W less per card.
  • Recommendation: stay on 19.15. The rank-1 32k shapes gain about 1.35 s at B8, against about 0.3 s lost at B8/4k. Tell us if 4k matters more to you.

Records:

  • bench/runs/perf-loop-c114-d8k16-fw1915-verdict-20260930T0000Z.jsonl
  • bench/runs/perf-loop-fw1915-vs-1914-dn-verdict-20260930T0000Z.jsonl
**c114, fw 19.15, TP=2, pk3r.** Candidate d8k16 (bf8 prefill AGMM in0 + K block 16) against dn, ABABA with 3 dn reps and 2 candidate reps. | cell | makespan | TTFT | PP tok/s | TG ms/token | |---|---|---|---|---| | B8/32k | **88.06 s (−1.54%, t −7.5)** | 48.78 s | 5,374 | 38.00 | | B4/32k | **56.94 s (−1.40%, t −12.4)** | 24.11 s | 5,437 | 31.92 | | B8/4k | +0.32% (in band) | 9.28 s | 3,536 | 29.43 | | B4/4k | −0.25% (in band) | 4.06 s | 4,036 | 27.73 | | B1/4k | flat | 0.88 s | 4,668 | 26.63 | - **Gates:** the equivalence check passed as NEAR_TIE. GSM8K N=300 and retrieval (early and late halves) are running. The candidate merges only if both pass. **Escalation: the firmware effect** (dn arm, 19.14 ×2 vs 19.15 ×3; LEDGER R-2026-09-30-fw1915) - **32k is faster:** B8 −1.48% and B4 −1.15%. Clock gating frees power under the Doppler 300 W cap. - **4k is slower:** B8 +0.77% and B4 +0.41%. No power cap binds there, so all 4k sees is the per-op gating cost (hypothesis). - **B=1 and TG:** flat. - **Power:** decode draws about 20 W less per card. - **Recommendation:** stay on 19.15. The rank-1 32k shapes gain about 1.35 s at B8, against about 0.3 s lost at B8/4k. Tell us if 4k matters more to you. Records: - `bench/runs/perf-loop-c114-d8k16-fw1915-verdict-20260930T0000Z.jsonl` - `bench/runs/perf-loop-fw1915-vs-1914-dn-verdict-20260930T0000Z.jsonl`
Author
Owner

d8k16 merged to master (PR #130, LEDGER R-2026-09-30-d8k16). GSM8K 292/300 and retrieval 1.0 at 16k/32k (early and late halves). New best on fw 19.15: B8/32k 88.06 s (TG 38.00 ms/token, PP 5,374 tok/s) and B4/32k 56.94 s (TG 31.92, PP 5,437). The 4k cells are unchanged within noise.

**d8k16 merged to master (PR #130, LEDGER R-2026-09-30-d8k16).** GSM8K 292/300 and retrieval 1.0 at 16k/32k (early and late halves). New best on fw 19.15: B8/32k 88.06 s (TG 38.00 ms/token, PP 5,374 tok/s) and B4/32k 56.94 s (TG 31.92, PP 5,437). The 4k cells are unchanged within noise.
Author
Owner

Owner decision: stay on fw 19.15. High-context speed outranks 4k (LEDGER D-2026-09-30-fw1915-stay).

Owner decision: stay on fw 19.15. High-context speed outranks 4k (LEDGER D-2026-09-30-fw1915-stay).
Author
Owner

c113 workbench, fw 19.15, on top of d8k16: bf8 prefill norm output + bf8 SwiGLU hidden + bf8 w2 reduce-scatter partial (NHP) is −2.5…−2.9% on wall at 16k and 30k across 2 reps. Each member pays alone, and AICLK under load goes 1297 → 1305 MHz. This is tier 2. Next is the c120 served ABABA against d8k16, then equiv, GSM8K and retrieval. Record: bench/runs/perf-loop-c113-lowp-producers-wb-verdict-20260930T0010Z.jsonl.

**c113 workbench, fw 19.15, on top of d8k16:** bf8 prefill norm output + bf8 SwiGLU hidden + bf8 w2 reduce-scatter partial (NHP) is −2.5…−2.9% on wall at 16k and 30k across 2 reps. Each member pays alone, and AICLK under load goes 1297 → 1305 MHz. This is tier 2. Next is the c120 served ABABA against d8k16, then equiv, GSM8K and retrieval. Record: `bench/runs/perf-loop-c113-lowp-producers-wb-verdict-20260930T0010Z.jsonl`.
Author
Owner

c117 (workbench, phase timer, must-fail passes): the fixed prefill cost after the last chunk is 505-616 ms per request when there is a tail, and it is host dispatch. The eager tail forward costs 357-466 ms to enqueue, while the device drains in 0.2-2.6 ms. The GDN slot copy is 113 ms (48 layers, eager) and conv finalize 31 ms. Building the traced tail bundle now: bucket traces (#50 port), a traced slot copy, and conv finalize folded into it. Estimate only: about −0.4 s per request. Record: bench/runs/perf-loop-c117-prefill-tail-verdict-20260930T0030Z.jsonl.

**c117 (workbench, phase timer, must-fail passes):** the fixed prefill cost after the last chunk is 505-616 ms per request when there is a tail, and it is host dispatch. The eager tail forward costs 357-466 ms to enqueue, while the device drains in 0.2-2.6 ms. The GDN slot copy is 113 ms (48 layers, eager) and conv finalize 31 ms. Building the traced tail bundle now: bucket traces (#50 port), a traced slot copy, and conv finalize folded into it. Estimate only: about −0.4 s per request. Record: `bench/runs/perf-loop-c117-prefill-tail-verdict-20260930T0030Z.jsonl`.
Author
Owner

NHP merged to master (PR #131, LEDGER R-2026-09-30-nhp). Measured against d8k16:

  • B8/32k: 86.66 s (−1.31%), TG 37.99 ms/token, PP 5,530 tok/s
  • B4/32k: 56.27 s (−1.12%), TG 31.92 ms/token, PP 5,589 tok/s

GSM8K 292/300; retrieval 1.0 at 16k and 32k, early and late halves. Next is c121, the traced tail bundle A/B.

**NHP merged to master (PR #131, LEDGER R-2026-09-30-nhp).** Measured against d8k16: - B8/32k: 86.66 s (−1.31%), TG 37.99 ms/token, PP 5,530 tok/s - B4/32k: 56.27 s (−1.12%), TG 31.92 ms/token, PP 5,589 tok/s GSM8K 292/300; retrieval 1.0 at 16k and 32k, early and late halves. Next is c121, the traced tail bundle A/B.
Author
Owner

c121: traced tail bundle on d8k16 (bucket traces 128–2048, traced GDN slot copy, conv finalize folded in). ABAB with 2 tail runs against 3 controls, control band 0.1–0.25%:

cell makespan TTFT
B8/4k −6.26% (36.98 s) 8.98 → 6.49 s
B8/32k −2.56% (85.50 s) 48.48 → 46.19 s
B4/4k −2.44% 4.03 → 3.20 s
B4/32k −1.87% 24.09 → 22.99 s

Greedy output is BIT_EXACT against d8k16 and TG is flat. The must-fail arm, retrieval, and the NHP+tail shipping-combination gate are running next.

**c121: traced tail bundle on d8k16** (bucket traces 128–2048, traced GDN slot copy, conv finalize folded in). ABAB with 2 tail runs against 3 controls, control band 0.1–0.25%: | cell | makespan | TTFT | |---|---|---| | B8/4k | −6.26% (36.98 s) | 8.98 → 6.49 s | | B8/32k | −2.56% (85.50 s) | 48.48 → 46.19 s | | B4/4k | −2.44% | 4.03 → 3.20 s | | B4/32k | −1.87% | 24.09 → 22.99 s | Greedy output is BIT_EXACT against d8k16 and TG is flat. The must-fail arm, retrieval, and the NHP+tail shipping-combination gate are running next.
Author
Owner

Tail bundle merged (PR #132, LEDGER R-2026-09-30-tail). New best arm nhp-tail on fw 19.15, TP=2:

cell makespan vs production TG ms/token TTFT PP tok/s
B8/32k 84.22 s −41.6% 38.01 44.90 s 5,839
B4/32k 55.30 s −40.6%
B8/4k 36.91 s −45.2% 6.42 s

Greedy output is BIT_EXACT against nhp.

**Tail bundle merged (PR #132, LEDGER R-2026-09-30-tail).** New best arm nhp-tail on fw 19.15, TP=2: | cell | makespan | vs production | TG ms/token | TTFT | PP tok/s | |---|---|---|---|---|---| | B8/32k | 84.22 s | −41.6% | 38.01 | 44.90 s | 5,839 | | B4/32k | 55.30 s | −40.6% | | | | | B8/4k | 36.91 s | −45.2% | | 6.42 s | | Greedy output is BIT_EXACT against nhp.
Author
Owner

c124 (served ABABA, TP=2, fw 19.15, --seqs 8 4): nhp-tail + SiLU appx epilogue = B8/32k 83.13 s (-1.36%), B4/32k 54.72 s (-0.89%), B8/4k -0.43%, B4/4k -0.32%, all beyond band; TG flat (38.01 ms B8/32k); PP 5,982 tok/s. NOT shipped: equiv NEAR_TIE (gap 1.75/1.94) but retrieval 32k late-half 0.875 (1/8 needle missed, first miss in recent records) + GSM8K 291 vs 295. Retrieval repeat on arm and control queued (c124b). Record: bench/runs/perf-loop-c124-silu-appx-verdict-20260930T0730Z.jsonl

c124 (served ABABA, TP=2, fw 19.15, --seqs 8 4): nhp-tail + SiLU appx epilogue = B8/32k 83.13 s (-1.36%), B4/32k 54.72 s (-0.89%), B8/4k -0.43%, B4/4k -0.32%, all beyond band; TG flat (38.01 ms B8/32k); PP 5,982 tok/s. NOT shipped: equiv NEAR_TIE (gap 1.75/1.94) but retrieval 32k late-half 0.875 (1/8 needle missed, first miss in recent records) + GSM8K 291 vs 295. Retrieval repeat on arm and control queued (c124b). Record: bench/runs/perf-loop-c124-silu-appx-verdict-20260930T0730Z.jsonl
Author
Owner

c124b: SiLU appx retrieval repeat reproduces the miss: 32k late-half 0.875 in 2/2 runs, control nhp-tail 1.0/1.0. Not shipped (−1.36% B8/32k does not pay for a 32k retrieval loss); LEVERS dead at this scope. Record bench/runs/perf-loop-c124b-silu-appx-retrieval-repeat-20260930T0740Z.jsonl

c124b: SiLU appx retrieval repeat reproduces the miss: 32k late-half 0.875 in 2/2 runs, control nhp-tail 1.0/1.0. Not shipped (−1.36% B8/32k does not pay for a 32k retrieval loss); LEVERS dead at this scope. Record bench/runs/perf-loop-c124b-silu-appx-retrieval-repeat-20260930T0740Z.jsonl
Author
Owner

c125: K8/V4 ships (R-2026-09-30-k8v4, PR #138): B8/32k 81.39 s −3.68%, B4/32k 54.03 s −2.45%, TG 35.28 ms; all gates clean. K4/V4 parked (owner: correctness over mild speed).

c125: K8/V4 ships (R-2026-09-30-k8v4, PR #138): B8/32k 81.39 s −3.68%, B4/32k 54.03 s −2.45%, TG 35.28 ms; all gates clean. K4/V4 parked (owner: correctness over mild speed).
Author
Owner

Perf loop c145-c149 (TP=2, k8v4, <=32k/1k):

  • SHIPPED R-2026-10-01-mtp-conv-multi (PR #142): MTP verify conv as one batch-M launch. Wall B4/4k -14.2%, B4/32k -8.0%, B8/4k -6.7%, B8/32k -2.6%. Bit-exact.
  • SHIPPED R-2026-10-01-cm-g9 (PR #143): chunk 2304 + AGMM 11x9 on cm. TTFT -3% at 32k, PP +3%, makespan +-1.1%. Tier-2 gates clean. TTFT arm; cm stays the makespan arm (owner trade-off).
  • DEAD: GDN value split at B=1/4/8; K=3 at B8 on cm (wall +0.8/+1.7%).
  • B=32 stress at a 2 GiB trace region: 4k 65.9 s, 16k 157.3 s.
  • Cumulative B8/32k 144.21 -> 74.39 s (-48.4%) vs prod-g2.
    Production unchanged; the redeploy is the owner's call.
Perf loop c145-c149 (TP=2, k8v4, <=32k/1k): - SHIPPED R-2026-10-01-mtp-conv-multi (PR #142): MTP verify conv as one batch-M launch. Wall B4/4k -14.2%, B4/32k -8.0%, B8/4k -6.7%, B8/32k -2.6%. Bit-exact. - SHIPPED R-2026-10-01-cm-g9 (PR #143): chunk 2304 + AGMM 11x9 on cm. TTFT -3% at 32k, PP +3%, makespan +-1.1%. Tier-2 gates clean. TTFT arm; cm stays the makespan arm (owner trade-off). - DEAD: GDN value split at B=1/4/8; K=3 at B8 on cm (wall +0.8/+1.7%). - B=32 stress at a 2 GiB trace region: 4k 65.9 s, 16k 157.3 s. - Cumulative B8/32k 144.21 -> 74.39 s (-48.4%) vs prod-g2. Production unchanged; the redeploy is the owner's call.
Author
Owner

c152 (perf loop): QWEN36_MTP_DEVICE_ACCEPT (branch mtp-device-accept) is inert. The accept drops from 3.4 to 0.1 ms per step, but wait_c grows by the same amount, so the step total is unchanged (49.8 ms at B8/4k). Served wall moves −0.7…+1.5% against a 5-rep cm band. The served MTP step is device-verify-bound: the verify is 39.7 of 49.8 ms. Records: bench/runs/perf-loop-c152-device-accept-verdict-20261001T2000Z.jsonl and the -cm-da-ot timing record. Next is the c153 depth screen (K=1@bucket 8, K=2@bucket 4).

c152 (perf loop): `QWEN36_MTP_DEVICE_ACCEPT` (branch mtp-device-accept) is **inert**. The accept drops from 3.4 to 0.1 ms per step, but wait_c grows by the same amount, so the step total is unchanged (49.8 ms at B8/4k). Served wall moves −0.7…+1.5% against a 5-rep cm band. The served MTP step is device-verify-bound: the verify is 39.7 of 49.8 ms. Records: bench/runs/perf-loop-c152-device-accept-verdict-20261001T2000Z.jsonl and the -cm-da-ot timing record. Next is the c153 depth screen (K=1@bucket 8, K=2@bucket 4).
Author
Owner

c155 (perf loop): R-2026-10-02-mtp-gdn-state-once is on master (PR #144). The MTP verify now reads each row's GDN recurrent state once, and the commit recomputes the accepted state, so per-layer state traffic drops from 8 to 3 units at T=3. Results against a 7-rep cm band: wall at B4 −3.3% (4k) and −2.0% (32k); B8 wall is inside the band, with TG −1.2…−1.5%. It is bit-exact (ttsim, on-device self-test, must-fail refused) and equiv is identical to cm. The c154/c155a itemisation behind it is in STATUS: the GDN recurrence (+7.7 ms when doubled) is the top verify op. Next is moving the commit recompute (~2-2.5 ms in wait_c) off the critical path.

c155 (perf loop): **R-2026-10-02-mtp-gdn-state-once** is on master (PR #144). The MTP verify now reads each row's GDN recurrent state once, and the commit recomputes the accepted state, so per-layer state traffic drops from 8 to 3 units at T=3. Results against a 7-rep cm band: wall at B4 −3.3% (4k) and −2.0% (32k); B8 wall is inside the band, with TG −1.2…−1.5%. It is bit-exact (ttsim, on-device self-test, must-fail refused) and equiv is identical to cm. The c154/c155a itemisation behind it is in STATUS: the GDN recurrence (+7.7 ms when doubled) is the top verify op. Next is moving the commit recompute (~2-2.5 ms in wait_c) off the critical path.
Member

Do not run the 2026-09-27 work list. Rewrite the ordered table against LEDGER through R-2026-10-03-gdc-cpk and drop every row already in the best-arm name. No new lever and no card from this issue.

Do not run the 2026-09-27 work list. Rewrite the ordered table against LEDGER through R-2026-10-03-gdc-cpk and drop every row already in the best-arm name. No new lever and no card from this issue.
Member

Closed as rescinded-superseded: every ladder row either shipped (MR/c72, SA1/c78, K3/K5/c86, d8k16), is dead with records (c72 sdpa-depth, VSPLIT c145/c146b, FS8 c79pre, SiLU-appx c124b, fused boundary R-2026-10-28), or was overtaken by the S-series -> ship-cdr8g; and the work list itself was rescinded by the 2026-10-03 standing order in this issue ('Do not run the 2026-09-27 work list'). Verified 2026-11-18.

Closed as rescinded-superseded: every ladder row either shipped (MR/c72, SA1/c78, K3/K5/c86, d8k16), is dead with records (c72 sdpa-depth, VSPLIT c145/c146b, FS8 c79pre, SiLU-appx c124b, fused boundary R-2026-10-28), or was overtaken by the S-series -> ship-cdr8g; and the work list itself was rescinded by the 2026-10-03 standing order in this issue ('Do not run the 2026-09-27 work list'). Verified 2026-11-18.
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.
Sign in to join this conversation.
No milestone
No project
No assignees
3 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#110
No description provided.