upstream scan 2026-11-09: #283 not affected (latent), ranked ports #377

Closed
orchestra wants to merge 0 commits from upstream-scan-20261109 into master
Member

Desk research only: no card time, no deploy, no served code changed. Doc: docs/upstream/2026-11-09-upstream-scan.md; test: tests/test_state_slot_continuing_chunk.py (host-only, python3 -m unittest tests.test_state_slot_continuing_chunk, 5/5).

  • plugin #283 (correctness): not affected, latent. Our allocator is the pre-#283 code (P/model_runner.py:1699-1740) and does re-place a continuing chunk, but the served S12 prefix path resumes GDN state from the host snapshot keyed by request id or from the B=1 scratch tagged (req, start), never from the decode slot. The test runs the real allocator + PrefixCache + resident_order through #283's scenario, with a falsifier (a slot-reading model is corrupted) and a positive control (#283's fix). Port #283 anyway (S).
  • plugin #282: applies to every prefill first token and to TT-only decode fallback steps (~5.5%); ESTIMATE +4-6% TT-only aggregate TG, ~0 in P/D. S port (wrap vLLM 0.26 Sampler).
  • #64929 / #284 / TIS #5553: main was 2.2-2.8x slower than atupe's branch; we already have the mechanisms. Skip as a whole (vLLM 0.31; MambaSpec costs device DRAM at TP=2); cherry-pick the bfp4 drafter LM head and prefill-over-pending-verify.
  • #64604: GDN decode only, prefill gain 0; fold norm-in-kernel into the #346 SO_2PASS spec.
  • #64715: not a flag on our pin and not merged (stacked on #64093); a JIT-only firmware one-liner is possible; <= 0.5%.
  • Top prefill port: #63316 GDN fused-scan stack (ESTIMATE -2..-4% prefill). Mandatory for any bump: #59623, #64247.

🤖 Generated with Claude Code

Desk research only: no card time, no deploy, no served code changed. Doc: `docs/upstream/2026-11-09-upstream-scan.md`; test: `tests/test_state_slot_continuing_chunk.py` (host-only, `python3 -m unittest tests.test_state_slot_continuing_chunk`, 5/5). - **plugin #283 (correctness): not affected, latent.** Our allocator is the pre-#283 code (P/model_runner.py:1699-1740) and does re-place a continuing chunk, but the served S12 prefix path resumes GDN state from the host snapshot keyed by request id or from the B=1 scratch tagged (req, start), never from the decode slot. The test runs the real allocator + PrefixCache + resident_order through #283's scenario, with a falsifier (a slot-reading model is corrupted) and a positive control (#283's fix). Port #283 anyway (S). - **plugin #282:** applies to every prefill first token and to TT-only decode fallback steps (~5.5%); ESTIMATE +4-6% TT-only aggregate TG, ~0 in P/D. S port (wrap vLLM 0.26 Sampler). - **#64929 / #284 / TIS #5553:** main was 2.2-2.8x slower than atupe's branch; we already have the mechanisms. Skip as a whole (vLLM 0.31; MambaSpec costs device DRAM at TP=2); cherry-pick the bfp4 drafter LM head and prefill-over-pending-verify. - **#64604:** GDN decode only, prefill gain 0; fold norm-in-kernel into the #346 SO_2PASS spec. - **#64715:** not a flag on our pin and not merged (stacked on #64093); a JIT-only firmware one-liner is possible; <= 0.5%. - Top prefill port: #63316 GDN fused-scan stack (ESTIMATE -2..-4% prefill). Mandatory for any bump: #59623, #64247. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream scan 2026-11-09: #283 not affected (latent) + CPU test; #282/#284/#64604/#64715 verdicts; ranked ports
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
ef2c30d747
Desk research only. Adds docs/upstream/2026-11-09-upstream-scan.md and
tests/test_state_slot_continuing_chunk.py (host-only, 5/5).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
LEVERS Pending: tt-metal #59623 and #64247 marked pin-bump must-haves
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
708c1dfdbb
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner

verdict: approve
tier: T1 (docs + host-only test; additive-only, nothing ships)

rationale: Desk-research scan: one new doc (docs/upstream/2026-11-09-upstream-scan.md) and one host-only test. No code, CI, arms, or served behaviour touched; no card time. I ran the PR's test in-kernel against the PR's own tree (patches/prod-local-plugin/prod-local-metal files fetched at the head): all 5/5 pass, including the falsifier (slot-reading model is corrupted, test 2 is not vacuous) and the #283-fix control (test 4). The headline claim — our allocator is pre-#283 (re-placement exists, test 1 documents it) but the served S12 path resumes from host snapshots / tagged B=1 scratch, never from the decode slot — is verified by the test, not just asserted. No head CI run exists on this branch: expected for docs+test-only, nothing to build.

concerns:

  • [warn] The doc's estimates are ESTIMATE/third-party (clearly labelled as such); nothing here is a commitment to merge #283/#282 — the "port #283 anyway" recommendation is advisory until a lever reads state from a decode slot. Fine to land as documentation.
  • [nit] tests/test_state_slot_continuing_chunk.py AST-execs the served model_runner.py (exec(compile(...)), noqa S102) — it is our own file, host-only, no network; acceptable, but if the served runner ever gains import-time side effects the test breaks at collection, not assert.
**verdict:** approve **tier:** T1 (docs + host-only test; additive-only, nothing ships) **rationale:** Desk-research scan: one new doc (`docs/upstream/2026-11-09-upstream-scan.md`) and one host-only test. No code, CI, arms, or served behaviour touched; no card time. I ran the PR's test in-kernel against the PR's own tree (`patches/prod-local-plugin`/`prod-local-metal` files fetched at the head): all 5/5 pass, including the falsifier (slot-reading model is corrupted, test 2 is not vacuous) and the #283-fix control (test 4). The headline claim — our allocator is pre-#283 (re-placement exists, test 1 documents it) but the served S12 path resumes from host snapshots / tagged B=1 scratch, never from the decode slot — is verified by the test, not just asserted. No head CI run exists on this branch: expected for docs+test-only, nothing to build. **concerns:** - [warn] The doc's estimates are ESTIMATE/third-party (clearly labelled as such); nothing here is a commitment to merge #283/#282 — the "port #283 anyway" recommendation is advisory until a lever reads state from a decode slot. Fine to land as documentation. - [nit] `tests/test_state_slot_continuing_chunk.py` AST-execs the served `model_runner.py` (`exec(compile(...))`, noqa S102) — it is our own file, host-only, no network; acceptable, but if the served runner ever gains import-time side effects the test breaks at collection, not assert.
scan doc: the #283 test moves to the port PR
All checks were successful
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m18s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m4s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 45m6s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
8eed2ee068
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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).


#377 upstream-scan-20261109 @8eed2ee068

VERDICT: FIX

  • P2 — docs/upstream/2026-11-09-upstream-scan.md:82: locally measured baseline claims lack the required record citations. The document claims a measured 5.5% host-fallback share over 14 days and 55–75→7–11 tok/s, citing only “PR #346 doc.” The source list identifies that doc as docs/research/upstream-20261104.md on another branch; it exists on neither this reviewed head nor origin/master. The local 486 tok/s on two chips comparison at line 132 likewise names no LEDGER ID or record path. These inputs materially drive the +4–6% priority estimate and the per-chip comparison. Minimal fix: commit/cite the relevant measurement records, or cite an available LEDGER result that identifies them; otherwise label the inputs as unverified reported values and avoid treating them as measured local baselines. No claim here that the numbers are false: they are unsubstantiated at the permitted review scope.

Conflict requested by the review: docs/LEVERS.md only, at the beginning of the Pending table (head line 215). Master adds the CKPT_DEFER/cdr row; this branch adds two PIN-BUMP MUST-HAVE rows (#59623 and #64247). Trivial additive conflict: keep all three rows under the existing header. The document itself has no conflict. merge-tree conflict tree: d7fffa32872a856bff841b2d4b39854efc691f30. A temporary union retaining both sides passes the citation checker: 175 docs scanned. The exact head remains conflicted until resolved by its author.

Audit scope: upstream measurements are explicitly THIRD-PARTY and linked to upstream PRs; estimates are explicitly estimates, not new hardware results. Those upstream links and mutable merge-status claims were not fetched during this repository/evidence review and are not certified as independently reproduced. S3 share inputs agree with the committed 294.66 ms profile (GDN 26.12 ms, RS 16.09 ms, matmul 153.78 ms). PP head/layer arithmetic is consistent: TP2 per-chip Nv24 versus PP-stage Nv48; each PP stage has 24 GDN and eight attention layers. No production code is changed by this PR.

**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). --- ## #377 upstream-scan-20261109 @8eed2ee068473e85f7bdb28ceb09a23b5fb0abef VERDICT: FIX - **P2 — `docs/upstream/2026-11-09-upstream-scan.md:82`: locally measured baseline claims lack the required record citations.** The document claims a measured 5.5% host-fallback share over 14 days and 55–75→7–11 tok/s, citing only “PR #346 doc.” The source list identifies that doc as `docs/research/upstream-20261104.md` on another branch; it exists on neither this reviewed head nor `origin/master`. The local **486 tok/s on two chips** comparison at line 132 likewise names no LEDGER ID or record path. These inputs materially drive the +4–6% priority estimate and the per-chip comparison. **Minimal fix:** commit/cite the relevant measurement records, or cite an available LEDGER result that identifies them; otherwise label the inputs as unverified reported values and avoid treating them as measured local baselines. No claim here that the numbers are false: they are unsubstantiated at the permitted review scope. Conflict requested by the review: **`docs/LEVERS.md` only**, at the beginning of the Pending table (head line 215). Master adds the CKPT_DEFER/cdr row; this branch adds two PIN-BUMP MUST-HAVE rows (#59623 and #64247). **Trivial additive conflict:** keep all three rows under the existing header. The document itself has no conflict. `merge-tree` conflict tree: `d7fffa32872a856bff841b2d4b39854efc691f30`. A temporary union retaining both sides passes the citation checker: **175 docs scanned**. The exact head remains conflicted until resolved by its author. Audit scope: upstream measurements are explicitly THIRD-PARTY and linked to upstream PRs; estimates are explicitly estimates, not new hardware results. Those upstream links and mutable merge-status claims were not fetched during this repository/evidence review and are not certified as independently reproduced. S3 share inputs agree with the committed 294.66 ms profile (GDN 26.12 ms, RS 16.09 ms, matmul 153.78 ms). PP head/layer arithmetic is consistent: TP2 per-chip Nv24 versus PP-stage Nv48; each PP stage has 24 GDN and eight attention layers. No production code is changed by this PR.
Author
Member

Closing the leftover: the 11-09 scan + plugin-port test are on master (8eed2ee0, 452d84ad, 9f5aa330); three-way diff vs master is empty — verified 2026-11-18.

Closing the leftover: the 11-09 scan + plugin-port test are on master (8eed2ee0, 452d84ad, 9f5aa330); three-way diff vs master is empty — verified 2026-11-18.
orchestra closed this pull request 2026-11-18 13:02:43 +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
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
tt-stack-ci / Report upstream drift (pull_request) Successful in 6m18s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m4s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 45m6s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped

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!377
No description provided.