Perf-loop planning board (moved from PR #90) #223
Labels
No labels
cards:go
hermes-approved
human-approved
human-approved
iter
0
iter
1
iter
2
iter
3
prio:high
prio:low
prio:med
priority/high
state
blocked
state
doing
state
done
state
review
state
todo
x280
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#48 prefix caching: deploy decision — the correctness gate is clear, this is the largest remaining makespan win
bitpartner/tt-stack
#63 MTP on ThinkingCap-Qwen3.8-27B-FP8 (TP=2): inventory, per-row B=4/8 design, go/no-go, phased gates
bitpartner/tt-stack
#78 asymmetric KV cache - keys bfp8_b, values bfp4_b (K8/V4)
bitpartner/tt-stack
#93 perf-loop: Tracy-split the G2 fixed decode cost (host vs CCL) — TP=1 vs TP=2
bitpartner/tt-stack
#95 deploy: ThinkingCap-G2 as default checkpoint (token cut, not tok/s)
bitpartner/tt-stack
#94 deploy: ship prefix caching (gates 2–4) — measured makespan −73…−86% on shared-prefix
bitpartner/tt-stack
#96 MTP: constrained-K @ B=4/8 (B=1 matrix secondary)
bitpartner/tt-stack
#97 prefill: measure GDN out-proj column-parallel A/B on 2×p150a (
QWEN36_GDN_OUTPROJ_COLPAR)
bitpartner/tt-stack
#98 spec: ngram/lookup accept oracle (batch-spec rescue)
bitpartner/tt-stack
#133 MTP: truncated draft lm_head / MTP_DRAFT_VOCAB (portable amd-qwen borrow)
bitpartner/tt-stack
#135 prefill: adaptive chunk/shape policy (amd-qwen shaped; not RDNA microkernels)
bitpartner/tt-stack
#134 bench: MTP harness borrow — decode telemetry + lossless sample-compare + EOS checkpoint token
bitpartner/tt-stack
#136 MTP: GDN snapshot/restore across speculative steps (amd-qwen adapt)
bitpartner/tt-stack
#137 MTP: T-dim / tensor-parallel sharding of draft path for 2×p150a
bitpartner/tt-stack
#150 MTP/decode: GDN verify residual traffic / small-ops ablation (c154 ~18.9 ms)
bitpartner/tt-stack
#149 MTP: so1 commit recompute off critical path (overlap / fold into C)
bitpartner/tt-stack
#151 prefill: AGMM LoFi-peak efficiency + named Tracy instrumentation (~61% B8/32k wall)
bitpartner/tt-stack
#152 decode: kda2 + lm_head LoFi LOO attribution (R-2026-10-02-p1)
bitpartner/tt-stack
#153 decode: MR dual-NoC weight stream — one-card gate only (mesh hung c99)
bitpartner/tt-stack
Reference
bitpartner/tt-stack#223
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Planning board moved out of PR #90 (perf-loop c1). #90 is closed because its commits are already on master. The board comments are copied below verbatim, oldest first, with links to the originals.
From #90 comment 9261 (2026-09-26T04:44 Prague) — #90 (comment)
Grill sub-issues (2026-09-26, Tenstorrent)
Opened / linked as dependencies of this PR (parent blocked by these):
Already linked: #63 (MTP umbrella).
PARK / WATCH (not opened as deps): weight-read/bf4 until #93; Thatch pair/quad #66; AGMM widen #51; SDPA k_chunk; metal #55548 / vllm #131.
Simultaneous ownership: perf-loop → #93 then #97 · deploy → #94+#95 · MTP → #96 · KV → #79 · spec → #98.
From #90 comment 10306 (2026-09-29T15:16 Prague) — #90 (comment)
Decode advisory (post-c106 /
R-2026-09-29-abso) — for the loop agentBaseline: arm
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so, TP=2, G2 bfp4, bf8 KV. Makespan 92.99 / 39.64 / 59.81 / 32.79 / 28.13 s; TG 39.92 / 29.66 / 33.14 / 27.95 / 26.66 ms; vsprod-g2−35.5…−41.1%. Gates: NEAR_TIE, GSM8K 290/300, retrieval 1.0. B=1 already clears 30 tok/s. Open decode problem: +10.26 ms TG from 4k→32k at B=8 (long-ctx), not more DRAM.1. Immediate keep / kill
2. Highest-EV decode left on our cards
minimal_matmul); shard padding ~5.9% dead on w1/w3. Cheap after c108.3. Newest techniques — what to lift
mtp-thinkingcap; lift traced draft + on-device accept only — not a perf-loop arm4. Do not chase
MTP at B=4/8 · SDPA knobs alone · AGMM alone · GDN fuse/lead-in/batch · own-core NoC loopback · MR retune beyond shipped · bf8 lm_head MR · FS8 · dispatch merges · prefetcher until pin · any LEVERS dead row without new scope.
5. Protocol
Must-fail + restart wb per variant · hang kernels one-card first ·
--ignore-eos/ fixed 1024 out · interleaved ≥2 controls + Welch · log AICLK · tiers: bit-exact → near-tie → REAL only if ≥5% and quality · re-gate the stacked bundle · LEDGER closes, LEVERS indexes · no ttsim perf.6. Standing orders
— Tenstorrent (grill-first decode advisory, 2026-09-29)
From #90 comment 10423 (2026-09-30T09:08 Prague) — #90 (comment)
Grill sub-issues — amd-qwen / tinygrad borrow-adapt lane (2026-09-30, Tenstorrent)
Eval framing: portable wins first from jacobrosenthal
amd-qwen-on-master/ related AMD ROCm Qwen3.8 serving; reshape for TT/vllm-tt/ThinkingCap where needed. External — not TT silicon claims. Parent board remains this PR (#90).Opened / linked as dependencies of #90
MTP_DRAFT_VOCABSKIP (no new GO issues)
Notes
MTP_DRAFT_VOCAB(#133) separate as highest portable win.From #90 comment 10454 (2026-09-30T10:19 Prague) — #90 (comment)
Batch-spec board (locked 2026-09-30, D. H. / Tenstorrent)
Programme: batch-spec decode for agent serving — win at B=4 and B=8; B=16 stretch only.
Sequencing (parallel lanes):
Spec strategy: prioritize ngram + DSpark accept stacking on the shared verify path (#98, #66), then constrained MTP (#96 short K under row budget B·(K+1)≤32, plus #133 draft vocab). Spine remains #63 per-row verify + GDN commit.
Retitle notes (this comment):
PARK: QuietBox/metal DFlash2 product ports until accept+batch wall proven.
Umbrella: stay under #90; keep #63/#66 as separate tickets.
From #90 comment 10965 (2026-10-02T20:32 Prague) — #90 (comment)
Created and linked under #90: #149, #150, #151, #152, #153, #154.
Note: mesh-MTP-only-after-c69d is superseded as physics by #140–#144; the owner drafters-over-mtp priority still stands.
QWEN36_GDN_OUTPROJ_COLPAR)Perf board 2026-11-18 — full open-issue/open-PR triage, ranked top 10
Posted by the perf orchestrator (handover 2026-11-18). Basis: all 96 open issues + all 33 open
PRs triaged against
docs/LEDGER.md,docs/LEVERS.md, the shipped arms (ship-cdr8gbanners verified in
bench/arms/ship-cdr8g.toml/nix/serve-arms/ship-cdr8g.json) and therecords under
bench/runs/. Closures I verified myself; nothing was closed on a say-so.Work continues on this board; item owners are the orchestrator's workers.
Where we are today (LEDGER
R-2026-11-16-ship-cdr8g; #334 post-deploy watch 11-17):PP 6962–7016 tok/s at 32k cold (target 10k, ~30% gap); TG/user B4 53.8 / B8 52.3 plain 32k
fresh boots on TT-only; P/D RTX decode TG/user p50 191 / p10 155 (300-req watch), TTFT p50
1.4–2.2 s. System TG ≥ 100/user is met at p50 by the RTX tier; the TT-only path (last
resort + spec-decode base) is the ~52 cell that still misses.
Top 10, execute in this order
R-2026-11-13-column-stream, c164/plain32k verdicts). Ship only with the B8 fix + tier-2 gates; owner-accepted fallback: gate to B≤2QWEN36_PD_EXPORT_MAX_QUEUED_MB=12288into the prod export arm + regen + PR; (b) PRclaude/pd-kv-admissioncf82276eto master (carries the deployed router admission hotfix +opus/router-delta-margin); (c) replay the 11-16 incident trafficdocs/runbooks/108-prefill-rs.md); PP is 30% short of 10kscan_step+ equiv/GSM8K/retrieval gate + 1–2 windowsRestart=on-failuremissed an exit-0 EngineCore death). Cause-fix already on master; missing: nixos-llm restart/watchdog change + re-gateParked tail (not top-10, tracked): #61 SFPU trellis microbench (½ card-day), #62 wider-KL
sample + lm_head-bf4 accuracy (CPU), #71 S7 G_FP32+AB_BF8 served gate (1 window), #58
PARKED(RAM) +6.9 GiB/chip, #307 host-tail re-audit on cfx-llm0, watchers #215/#216/#217/#218
(=bump hazards for #208), #60, #258 runner cap, #351 LSA.
Issue-closure math (executing now, each with a creditor citation): ~45 of 96 open issues
close on evidence already on master — shipped inside
ship-cdr8g/S-lineage arms (#48 #50#63 #78 #94 #95 #97 #104 #107 #133 #136 #149 #159 #48...), measured-dead with records
(#51 #53–#57 #64 #66 #93 #105 #106 #109 #135 #137 #139 #150 #153 #213...), superseded
(#72→#354, #245→#337, #304→S7 device sampler, #110 rescinded 10-03, #256 kept, #257/#259
handovers, #154 items dispositioned). KEEP list: #334 (P/D hub), #403, #393, #337, #160,
#108, #214, #209, #208, #61, #62, #69, #71, #98, #103, #161, #303–#310 (owner),
#351–#360 (owner), #223 (this board).
PP/TG reporting rule stays: every status cites PP tok/s and TG tok/s/user per B with context.
Tally after executing the closures (2026-11-18, same day)
re-verified in
bench/arms/ship-cdr8g.toml, LEDGER/LEVERS rows, on-master commits, orin-issue records). #304 stays open only because Forgejo refuses closes with an open
dependency edge (comment posted there; #310 tracker owner decides the re-scope).
same-day superseded, #261/#266/#267/#270/#273/#262 stale or already shipped — branches
preserved for provenance).
Queue next (board items 2-3): #403 diagnostic TEST ORDER for the next night window;
QWEN36_PD_EXPORT_MAX_QUEUED_MB8192→12288 arm toml + regen + PR (files verified free ofevery open PR); a PR for the deployed router admission fix (claude/pd-kv-admission) to follow.