c139: MTP warm tail + K by bucket is the best arm (B8/32k -2.7%, B4/4k -6.5%; gates clean) #141
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!141
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?
This merges the c139 bundle (LEDGER
R-2026-10-01-mtp-warm-kb): the MTP warm tail (2048 prompt positions) plus K by bucket (8:2, 4:3, 2:3, 1:3), on top of the MTP stack. The new best arm is…-nhp-tail-k8v4-mtp-stack-warm-kb.Results (TP=2; the stack control ran 3 times and the bundle twice, interleaved):
The 2×2 attribution and its interaction terms are in the LEDGER entry.
Gates:
Against the loop's production baseline, B8/32k goes from 144.21 to 75.65 s (−47.5%). Deploying to production is the owner's call.
The PR also includes the c134b, c137 and DFlash2-oracle records and the queue fixes.
🤖 Generated with Claude Code
Before: the MTP KV of a new request started empty at its first decode position (MTP-BATCH R3), so the first drafts of every request ran on a cold cache, and every bucket speculated at the global K even though B=8 verifies 32 rows at K=3 for 2.64 tokens/row-step. Warm tail: after prefill, one KV-only MTP pass over the last min(N, L) prompt positions writes (h_s, tok_{s+1}) at RoPE s, relative index s - (L - n), and seeds the slot's origin so decode continues at index n. The last row uses the host argmax of the prefill logits; a different first token only re-origins the slot. Fixed Wn rows per boot, compiled in the phase-2 prefill warmup before any trace is parked, persistent buffers, no new trace; pad rows land in one extra MTP scratch block. The chunk-trace output is gathered before the tail replay can reuse it. K by bucket: per-bucket K <= global K (plugin lookahead), Bw*(K+1) <= 32, refused otherwise. Evidence (off-card only, no speed number): host tests (20 new; k8v4 budget test import fixed); ttsim bench/runs/mtp-warm-tail-sim-20261001T012051Z.jsonl - window gather bitwise at D=2560, warm fill vs per-position eager writes within bf8/bf4 quantisation, pairing/RoPE/index must-fails >= 10x away. ttsim lacks rsqrt/rms_norm (sfpgt), so the probe's norm scale is host-side. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.