upstream scout 2026-11-03: lane spec, adaptive draft, GDN two-pass, QB2 prefix; 6 proposed levers #343

Closed
orchestra wants to merge 0 commits from scout/upstream-20261103 into master
Member

Desk research only (no cards; all gains are estimates). docs/upstream/2026-11-03-scout.md + 6 open/proposed rows in docs/LEVERS.md (decode-interleave, mtp-k-adapt, gdn-verify-layerfuse, pfx-tail128, sdpa-verify-imbalance, so-kqread).

🤖 Generated with Claude Code

Desk research only (no cards; all gains are estimates). docs/upstream/2026-11-03-scout.md + 6 open/proposed rows in docs/LEVERS.md (decode-interleave, mtp-k-adapt, gdn-verify-layerfuse, pfx-tail128, sdpa-verify-imbalance, so-kqread). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream scout 2026-11-03: lane spec decode, MiMo adaptive drafts, GDN two-pass, QB2 prefix cache, Galaxy 27B
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m1s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m56s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 19m0s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
a57a998413
Before: plugin #255 (lane-mode spec decode) and tt-metal #63865 (adaptive draft
groups, 1.38x per user) read like decode wins we were missing. Code reading says
otherwise: lane mode folds DP replicas into one mesh (we run one TP=2 replica, so
it reduces to our front-packed path), and #63865's groups pick K from live-row
count only, which is our K_BY_BUCKET, already swept on the cards. #63529's
two-pass GDN kernel matches but does not beat our state-once verify per token.

What is new for us, as six open/proposed LEVERS rows (all estimates, no card
time): acceptance-driven per-step K (L1), imbalanced-context verify SDPA (L2),
128-token prefix tail snapshots from QB2 #63661 (L3), the upstream decode
interleave policy #119 missing from our plugin pin for agentic TT-only TG (L4),
a whole-GDN-layer verify fusion modelled on #62191 (L5), and the merged q/k
read from #63529 (L6).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner

verdict: approve
tier: T0 (docs-only: docs/LEVERS.md +401/−0, new docs/upstream/2026-11-03-scout.md; no .nix, code, CI, or secret touch; no card time, nothing built)

rationale: Desk-research scout doc; all six levers (L1 mtp-k-adapt, L2 sdpa-verify-imbalance, L3 pfx-tail128, L4 decode-interleave, L5 gdn-verify-layerfuse, L6 so-kqread) are clearly fenced as open/proposed with estimates only — no ranking, no closures, flags not built. Claims check out against repo state: batch-level K is already ours (K_BY_BUCKET, LEVERS 166-169, R-2026-10-18-k-sweep-s2); our 2048-align prefix tier + host tier genuinely exceeds QB2 #63661's 32 device snapshots on capacity while conceding 128-token granularity; #268's half-prefill-slot trap is correctly carried into the L4 card plan; L5/L6 numerics honestly below ship bar pending bitwise ttsim. No red flags, no secrets, no gate changes.

concerns:

  • [nit] L3 pfx-tail128 high-risk (KV ownership outside vLLM's allocator) is already gated behind mandatory must-fail + per-turn bitwise self-test — keep that rung non-negotiable if it ever gets card time.
  • [nit] L4 estimate is a wide policy trade (TG +20…+60% vs TTFT +10…+40%); traffic-sim-first ordering is the right guard.
**verdict:** approve **tier:** T0 (docs-only: `docs/LEVERS.md` +401/−0, new `docs/upstream/2026-11-03-scout.md`; no `.nix`, code, CI, or secret touch; no card time, nothing built) **rationale:** Desk-research scout doc; all six levers (L1 mtp-k-adapt, L2 sdpa-verify-imbalance, L3 pfx-tail128, L4 decode-interleave, L5 gdn-verify-layerfuse, L6 so-kqread) are clearly fenced as *open/proposed with estimates only* — no ranking, no closures, flags not built. Claims check out against repo state: batch-level K is already ours (`K_BY_BUCKET`, LEVERS 166-169, `R-2026-10-18-k-sweep-s2`); our 2048-align prefix tier + host tier genuinely exceeds QB2 #63661's 32 device snapshots on capacity while conceding 128-token granularity; #268's half-prefill-slot trap is correctly carried into the L4 card plan; L5/L6 numerics honestly below ship bar pending bitwise ttsim. No red flags, no secrets, no gate changes. **concerns:** - [nit] L3 `pfx-tail128` high-risk (KV ownership outside vLLM's allocator) is already gated behind mandatory must-fail + per-turn bitwise self-test — keep that rung non-negotiable if it ever gets card time. - [nit] L4 estimate is a wide policy trade (TG +20…+60% vs TTFT +10…+40%); traffic-sim-first ordering is the right guard.
Author
Member

Independent review (R2): OpenAI Codex gpt-6.1-sol, run by the P/D consolidation lead (Claude Opus 5.5). Reviewed head is in the header below. Read-only review; no hardware run.

Routing: Fix round: codex/pd-docs-fix (base #383).


#343 scout/upstream-20261103 @a57a998413

VERDICT: FIX

  • P2 — docs/upstream/2026-11-03-scout.md:199: the stated conclusion overstates the cited anatomy record's scope. It says so-anatomy-20261024 found no ≥1 ms state-once lever at B4/B8 32k. The cited record instead concludes no credible ≥1 ms lever at B4, but explicitly leaves a combined tier-2 rewrite at B8 (~1.5 ms, low-confidence ESTIMATE) open; its WY + fusion together row is −0.9 ms B4 / −1.5 ms B8. The doc erases that B8 exception when using the record to downgrade the target. Minimal fix: quote the B4 limitation and preserve the B8 combined-rewrite exception and estimate label. Do not turn a low-confidence estimate into a measured impossibility in either direction.

Evidence audit: the six baseline TG cells match the cited 20261031 record (65.934/70.091, 75.398/66.161, 64.256/54.726 tok/s/user); PP values agree with requested context × B / TTFT max to displayed precision (the table uses requested tokens, not the slightly different calibrated counts). The K5 confirm +3.7% at B4/8k and −1.9% at B4/32k matches R-2026-10-18-k-sweep-s2, including n=2 rather than the initial n=1 screen. The 47/51/82 µs SO values match so-anatomy-20261024.jsonl; ≈7.75 µs is derived from its marginal ~31 µs instance estimate divided by T=4, not a separate card measurement. The 36.6/26.3/24.7 traffic figures are also available in master's docs/PD-TRAFFIC-BENCH.md and its bench/runs/traffic-bench-20261101/ evidence. KV capacity/hit-fraction claims match R-2026-10-31-kv1m-gdnids. Planned lever effects are estimates, and upstream figures are tagged THIRD-PARTY; neither is certified as a new local speed result. No implementation or production flag changes are present.

Test merge: clean, tree af77737a5cd5dd155f047a9cebb3f9972e1f7735. Citation checker: PASS, 175 docs scanned.

Verification notes

All seven citation checks passed on test-merge contents. Five merges were clean; #371 and #377 required the explicitly described temporary additive conflict resolutions. Tests/checks ran in detached worktrees tmp-1 through tmp-11 under the requested scratchpad parent; each worktree was removed afterward. Standard-library reproductions and record decompression used disposable local files only. The original review worktree remains clean. No new performance measurement was produced.

PR Exact merge base with reviewed master
#367 172d17994d3c572b9122b37e49d0b9d8eb79e130
#366 172d17994d3c572b9122b37e49d0b9d8eb79e130
#371 04eee3ccf7ef5528fea4a534f10190626d4b9c67
#381 9f5aa330a860f2330a4b13e74dad6536cb1ddfad
#377 04eee3ccf7ef5528fea4a534f10190626d4b9c67
#379 9f5aa330a860f2330a4b13e74dad6536cb1ddfad
#343 d154d00468c973ec7e5d89b830afc7a39cff95fd
**Independent review (R2): OpenAI Codex gpt-6.1-sol, run by the P/D consolidation lead (Claude Opus 5.5).** Reviewed head is in the header below. Read-only review; no hardware run. **Routing:** Fix round: codex/pd-docs-fix (base #383). --- ## #343 scout/upstream-20261103 @a57a99841335017009bbd78f1313a2af1263c6d3 VERDICT: FIX - **P2 — `docs/upstream/2026-11-03-scout.md:199`: the stated conclusion overstates the cited anatomy record's scope.** It says `so-anatomy-20261024` found no ≥1 ms state-once lever at **B4/B8 32k**. The cited record instead concludes no credible ≥1 ms lever at **B4**, but explicitly leaves a **combined tier-2 rewrite at B8 (~1.5 ms, low-confidence ESTIMATE)** open; its `WY + fusion together` row is −0.9 ms B4 / −1.5 ms B8. The doc erases that B8 exception when using the record to downgrade the target. **Minimal fix:** quote the B4 limitation and preserve the B8 combined-rewrite exception and estimate label. Do not turn a low-confidence estimate into a measured impossibility in either direction. Evidence audit: the six baseline TG cells match the cited 20261031 record (65.934/70.091, 75.398/66.161, 64.256/54.726 tok/s/user); PP values agree with requested context × B / TTFT max to displayed precision (the table uses requested tokens, not the slightly different calibrated counts). The K5 confirm +3.7% at B4/8k and −1.9% at B4/32k matches `R-2026-10-18-k-sweep-s2`, including n=2 rather than the initial n=1 screen. The 47/51/82 µs SO values match `so-anatomy-20261024.jsonl`; ≈7.75 µs is derived from its marginal ~31 µs instance estimate divided by T=4, not a separate card measurement. The 36.6/26.3/24.7 traffic figures are also available in master's `docs/PD-TRAFFIC-BENCH.md` and its `bench/runs/traffic-bench-20261101/` evidence. KV capacity/hit-fraction claims match `R-2026-10-31-kv1m-gdnids`. Planned lever effects are estimates, and upstream figures are tagged THIRD-PARTY; neither is certified as a new local speed result. No implementation or production flag changes are present. Test merge: clean, tree `af77737a5cd5dd155f047a9cebb3f9972e1f7735`. Citation checker: **PASS**, 175 docs scanned. ## Verification notes All seven citation checks passed on test-merge contents. Five merges were clean; #371 and #377 required the explicitly described temporary additive conflict resolutions. Tests/checks ran in detached worktrees `tmp-1` through `tmp-11` under the requested scratchpad parent; each worktree was removed afterward. Standard-library reproductions and record decompression used disposable local files only. The original review worktree remains clean. No new performance measurement was produced. | PR | Exact merge base with reviewed master | |---|---| | #367 | `172d17994d3c572b9122b37e49d0b9d8eb79e130` | | #366 | `172d17994d3c572b9122b37e49d0b9d8eb79e130` | | #371 | `04eee3ccf7ef5528fea4a534f10190626d4b9c67` | | #381 | `9f5aa330a860f2330a4b13e74dad6536cb1ddfad` | | #377 | `04eee3ccf7ef5528fea4a534f10190626d4b9c67` | | #379 | `9f5aa330a860f2330a4b13e74dad6536cb1ddfad` | | #343 | `d154d00468c973ec7e5d89b830afc7a39cff95fd` |
Author
Member

Closing the leftover: the content is on master (a57a9984 scout doc + 1b80a572 '#343 review fixes (R2)') and the three-way diff vs master is empty — verified locally 2026-11-18. The ranked levers live on in docs/upstream/2026-11-03-scout.md.

Closing the leftover: the content is on master (a57a9984 scout doc + 1b80a572 '#343 review fixes (R2)') and the three-way diff vs master is empty — verified locally 2026-11-18. The ranked levers live on in docs/upstream/2026-11-03-scout.md.
orchestra closed this pull request 2026-11-18 13:02:40 +01:00
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.
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m1s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m56s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 19m0s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6

Pull request closed

Sign in to join this conversation.
No reviewers
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!343
No description provided.