perf loop c68-c70: 0030 merged core ranges (B=8 -2.5..-4.2%), RS cfg knob, records, ttx tooling #111
No reviewers
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!111
Loading…
Reference in a new issue
No description provided.
Delete branch "serving-throughput"
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?
Perf-loop cycles 68–70 plus tooling, into master.
Levers that improve (both bit-exact by construction, and opt-in by image or flag):
patches/tt-metal/0030, imagevllm-tt:k2-mr-pk3m. The GDN/attn descriptor factories now pass merged CoreRangeSets, which removes a ~24–28 µs dispatch gap in front ofgdn_conv_gatesand the recurrence on every GDN layer. Cause proven on 1 card (bench/runs/dispatch-gap-20260927T160058Z.jsonl).QWEN36_PREFILL_RS_CFG(prefill reduce-scatter knobs). Unset, it is byte-identicaltt_all_reduce.prod-g2-EFS-c70= both), BIT_EXACT at B=8 (bench/runs/ttx-prod-g2-EFS-c70-equiv-20260927T165758Z.jsonl). Served A/B round 1 againstprod-g2-EFS-pk3-control:Measured negatives, recorded:
Also:
D-2026-09-27-speed-over-bitexact(#110).--seq.modules/tenstorrent-host.nix(not deployed).Production (
tenstorrent-serving.service) is not changed. Deploying stays the owner's call.🤖 Generated with Claude Code
Believed: the chunked-prefill SDPA reader (one NoC read barrier per 4 tiles, 2 K/V CB slots) and the phased GDN scan (each head's NV v-blocks re-reading the shared per-chunk tiles) were where the remaining prefill data-movement headroom was (PREFILL-KERNEL-DEEPDIVE T3/T4). Built both as bit-exact levers in a new image vllm-tt:k2-mr-pk2+0027+0028 (k2-mr-pk3), each failing closed without the image's op surface and logging one '<FLAG> engaged' banner, composing with the Q128 GQA-mcast and fused-GDN levers. What the evidence changed: per bench/runs/pk3-gdn-ttsim-20260927T1045Z.jsonl the lever outputs are ttsim-equivalent (bitwise equal, o and state) to the default programs at BH=24/48, and use_mcast refuses (TT_FATAL) at an unplaceable BH=26; the SDPA depth lever has the same comparison record. ttsim has no timing model, so nothing here is a hardware number yet: the one-card op probe (bench/probes/pk3/op-probe.sh, 10% kill line) and the arms prod-g2-EFS-H / prod-g2-EFS-pk3-{control,depth,scanmcast} / prod-g2-E-pk3-{control,scanmcast} are the next step. Co-Authored-By: pi (agent-dense) <noreply@local>A 1-chunk prefill profile (TP=2, 16k/2048) showed 37% of the 645 us device span idle and a per-kernel breakdown (AGMM 27%, matmul 11%, CCL 10%, GDN scan 8%, SDPA 6.6%, tilize/untilize ~7%, writers ~6%, eltwise ~6%). We could not say WHERE the idle sat because summarize_programs only reported the span-minus- durations total, so this is a read-only desk audit of what actually converts layout and what fuses what on the prefill path, ahead of running the Part 1 gap section against a real profile. Traces one GDN layer and one attention layer of the production tree (patches/prod-local-metal + the fork base under /home/orchestra/ttm-build/src for layer.py/mlp.py/ccl.py), with file:line: (a) every layout-converting op (to_layout/tilize/untilize/row-major/slice/ reshape) with tensor shape and the reason it's there — the GDN conv1d relayout chain (G4-G11) and the fused-projection slices are the source of the 2305 tilize_wh / 2497 untilize_wh / ~6% writer programs; (b) the three row-parallel out-projs and their tt_all_reduce->one reduce_scatter_minimal_async (Linear, 2 links, 2 buffers) each, and the mmrs/colpar alternatives with the tt-metal validate() constraints and the 1x2 MMRS deadlock; (c) eltwise ops that could fuse into a matmul epilogue or norm, and which are already blocked (conv-SiLU PCC 0.84, out-gate NaN, Ring-only RS-add). Candidates ranked by (programs removed x estimated share). Every number labelled ESTIMATE; no hardware, no new speed number. Co-Authored-By: pi (agent-dense) <noreply@local>agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.