P/D consolidation: RTX decode + K8/V4 + prod snapshot + archive + docs + PD-RECIPE onto master #383

Merged
orchestra merged 135 commits from opus/pd-master-consolidation into master 2026-11-09 19:14:44 +01:00
Member

P/D consolidation onto master. Owner, 2026-11-09: put every P/D lever, the prod scripts and configs, the docs, and a recipe on master.

This branch merges reviewed PR heads. When it lands, those PRs show as merged.

PR head merged review
#372 opus/rtx-decode-night 78369291 Codex R1: code OK; the HISTORY evidence FIX is done here (ef57cfd6)
#369 opus/rtx-decode-lane f43d26e6 Codex R1: code OK, coolwait fix confirmed; HISTORY evidence FIX done here (ef57cfd6)
#370 opus/rtx-kv4 0f5abdc2 Codex R4: LAND
#382 opus/rtx-k8b4-connector 7398f898 Codex R4 FIX → kv4-lane fix → Codex R5 LAND (supersedes 00759f9f)
#384 codex/pd-prod-snapshot 8bc17d1f (+ cd4ce910 here) Claude LAND; Codex R6 FIX on 8bc17d1f, fixed in cd4ce910
#385 opus/pd-branch-archive c27ca707 Codex R4: LAND-WITH-NITS, nit fixed in c27ca707
#386 codex/pd-docs-fix (#371 #367 #366 #381 #377 #343 + fixes) 1b80a572 Codex R2 findings → fixes → Claude LAND
#387 codex/pd-recipe (docs/PD-RECIPE.md) ebc40352 Claude LAND on 1d1559f9; my edit ebc40352 got Codex R6 LAND

Held, not in this branch:

  • #374 (AR-Q8): the RTX lane waits for its GPU result.
  • #379 (pp32k projection): R2 FIX, owner pp32k lane.
  • #336 (night-window): R3 BLOCK.
  • #380 (SGLang eval): no lane agreement.
  • #346 and #348: WIP. #348's code is in the archive.

Hand-resolved content:

  • HISTORY and LEDGER: union by date. A new Chapter 8 heading covers 2026-11-09.
  • sitecustomize.py: kv4 registrations appended after the lane's.
  • Connector and bfp_unpack: taken from #382. These are the prod bytes, plus the 7398f898 refusal.

Every other file the merged heads changed is byte-identical to its reviewed head. Codex R7 checks the auto-merged files.

Gates run locally: check-cited-records OK, utilization --check OK, check-gate-parity OK, shellcheck OK. No card files are touched.

Impl-Model: anthropic/claude-opus-5.5

🤖 Generated with Claude Code

P/D consolidation onto master. Owner, 2026-11-09: put every P/D lever, the prod scripts and configs, the docs, and a recipe on master. This branch merges reviewed PR heads. When it lands, those PRs show as merged. | PR | head merged | review | |---|---|---| | #372 opus/rtx-decode-night | 78369291 | Codex R1: code OK; the HISTORY evidence FIX is done here (ef57cfd6) | | #369 opus/rtx-decode-lane | f43d26e6 | Codex R1: code OK, coolwait fix confirmed; HISTORY evidence FIX done here (ef57cfd6) | | #370 opus/rtx-kv4 | 0f5abdc2 | Codex R4: LAND | | #382 opus/rtx-k8b4-connector | 7398f898 | Codex R4 FIX → kv4-lane fix → Codex R5 LAND (supersedes 00759f9f) | | #384 codex/pd-prod-snapshot | 8bc17d1f (+ cd4ce910 here) | Claude LAND; Codex R6 FIX on 8bc17d1f, fixed in cd4ce910 | | #385 opus/pd-branch-archive | c27ca707 | Codex R4: LAND-WITH-NITS, nit fixed in c27ca707 | | #386 codex/pd-docs-fix (#371 #367 #366 #381 #377 #343 + fixes) | 1b80a572 | Codex R2 findings → fixes → Claude LAND | | #387 codex/pd-recipe (docs/PD-RECIPE.md) | ebc40352 | Claude LAND on 1d1559f9; my edit ebc40352 got Codex R6 LAND | Held, not in this branch: - #374 (AR-Q8): the RTX lane waits for its GPU result. - #379 (pp32k projection): R2 FIX, owner pp32k lane. - #336 (night-window): R3 BLOCK. - #380 (SGLang eval): no lane agreement. - #346 and #348: WIP. #348's code is in the archive. Hand-resolved content: - HISTORY and LEDGER: union by date. A new Chapter 8 heading covers 2026-11-09. - sitecustomize.py: kv4 registrations appended after the lane's. - Connector and bfp_unpack: taken from #382. These are the prod bytes, plus the 7398f898 refusal. Every other file the merged heads changed is byte-identical to its reviewed head. Codex R7 checks the auto-merged files. Gates run locally: check-cited-records OK, utilization --check OK, check-gate-parity OK, shellcheck OK. No card files are touched. Impl-Model: anthropic/claude-opus-5.5 🤖 Generated with [Claude Code](https://claude.com/claude-code)
GMU 0.85 OOMs by 20 MB in MTP draft graph capture with FIPCIE=1 (pre-NIC it fit); 0.84 -> B8 32k KV-pressure stalls.
Greedy: prompt 1 identical, prompt 2 one near-tie reasoning token, same answer. hold2 window aborted (slot acquire 120 s cap vs mesh-dirty reset).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Suffix decoding on 522 recorded ThinkingCap agent outputs (Arctic 0.3.0 as vLLM 0.32 calls it): AL 1.8-2.1 alone; a
suffix-or-MTP hybrid inside the K=3 verify width does not beat MTP; a wide B1-only hybrid models +10..21% (agentic).
Dynamic K: K=3 stays optimal at B4/B8 (Marlin m-block at M=16/32); B1 K=5 +2% (bench) / +14% (agentic, modelled).
Block verification (vLLM V2 rejection sampler): +2..4% AL at K=3 in a synthetic MC. No drafting change reaches 100 at B8.
No GPU used. Queues p1-blockv, p2-stepk, p3-dynk for the #334 claim runner (dt-arm.sh).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
build_agentic_rank.py mixes the general FR-Spec rank (Zipf pseudo-frequency) with agent prompt/output + codefb
counts from rtx-drafter gen-v1 (w=0.7). At N=65536: agent 93.2% -> 99.2% LORO, blend 98.8% -> 99.2%,
gsm8k 99.58% -> 99.55%. Arm dt/dva.env (RTXOPT_DRAFT_VOCAB_FILE), ABBA queue p5-dva.q chained after P1+P2.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Also: prof2.sh prefill-time floor (32k profiles caught prefill), build_agentic_rank.py carries the tokenizer block
(the dva arm failed closed at boot without it; P5 re-queued).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The target's VocabParallelEmbedding shard (62,080 x 5120 bf16 = 606 MiB/GPU, shared
with the MTP draft) is copied to pinned host memory after GPUModelRunner.load_model and
the Parameter becomes a UVA (zero-copy) CUDA view of it, before KV profiling, so the pool
grows by ~66k tokens. No runner change: the fused vocab-parallel gather + all-reduce read
the view; no D2H sync (the step's ids are produced on the GPU), graph-safe. Load-time
self-test (host copy vs device shard, layer forward before/after bit-identical, freed MB)
fails closed. Evidence (vLLM 0.32 file:line) in the embed_host.py docstring.

Arm dt/dvaeh.env = dva + RTXOPT_EMBED_HOST=1, EXPECT_POOL_MIN=350000.
CPU tests: rtxopt/tests/test_embed_host_cpu.py (6/6 pass). Not run on a card yet.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
GPU0 runs 29-33% below GPU1-3 clocks (SW thermal 83% of busy samples) and TP=4 waits for it:
4-6 ms/step at B8 32k in the 11-06 profile, est. 6-10 ms now. x8->x16 upper bound -4 ms/step at B8
(likely 1-2), <=0.5 ms at B1; links average 9% (p90 25% on x8). VRAM: 38 MiB free per GPU, live
queueing is max-num-seqs bound. Idle-slot microbench staged, not run (adw2 claim held the box).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
attnbench: BatchPrefill fa2 causal CUDA-graph verify path (--fi-prefill-splits), records the
FlashInfer plan actually built (cta_tile_q, chunk, CTAs), refused variants recorded, clocks.
arbench: fi-cfg backend with explicit IpcLaunchConfig sweeps, --nbufs cold L2, rank-0
--gpu0-skew-us spin injector, ranks_bit_identical check.
fi_ipc_rtx: JIT copy of FlashInfer 0.7.0.post1 PCIe-IPC AR adding Variant kStagger=4
(barrier-free sentinel 2-shot with neighbour-ordered pushes, world 4).
Argon design docs copied as argon-*.md.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
fi_ipc_rtx (JIT module renamed pcie_ipc_comm_rtx_pace_v1): Variant kPace*=6..11, world_size 4.
STAGED_RING's code line for line, but each of its 6 full 4-rank barriers
(st.release.sys to 3 peers + ld.acquire.sys polls = MEMBAR.ALL.SYS + CCTL.IVALL)
becomes one credit: before pass q+1 into destination d a rank waits only for
d's pass-q writer (pred = r+1, or r+2 at the RS->AG and call->call wraps), so
each GPU still has one inbound stream per block index (no incast) without
waiting on the slowest of 4. Relaxed credits (no fence; SASS: 0 MEMBAR vs 7),
PACE_REL = release/acquire credits, PACE_L2/3/4/6 = credit after (8-L)/8 of the
pass. Bit-identical to STAGED_RING by construction; shares its slots, epoch and
generation counter, so the two mix call to call; graph-replay safe.

- tests/sim_ar_pace.py: CPU protocol model (mixed STAGED/RING/PACE*, grids 1-8,
  INT32 wrap): no deadlock, outputs exact, no incast; must-fail controls caught.
- arbench: PACE names, VARIANT:tuned geometry, bit-compare vs first config,
  --mix-check N.
- ar_pace.py + sitecustomize: RTXOPT_AR_PACE swaps STAGED_RING capture sizes in
  RTXOPT_AR_PACE_TOKENS to kPace at the tuned geometry, warmup bit self-test
  (fail closed), banner per worker. arms/night-arpace.env = deployed dva + flag.
- rtx-night-ar.sh: <=8 min idle GPU sweep (not run: no GPU time here).

Built on cfx-llm1 with no GPU visible; nothing measured yet.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
rtxopt/topk_gather.py patches GPUModelRunner.sample (eager, after the verify graph): on a verify step whose
every request is greedy or has 1 <= top_k <= KLOC (32) and no logprobs/penalties/bias/min_p/bad_words/
allowed ids/min_tokens/structured output, each TP rank sends its top-KLOC (values, ids) in one [rows, 64]
fp32 all-gather instead of the [rows, 62080] bf16 logits all-gather; the full-vocab row is rebuilt (union
of the 128 candidates at their ids, every other column strictly below the smallest candidate, FILL=floor,
or -inf with FILL=ninf) and the stock rejection sampler runs unchanged. Boundary-tie counter, fallback
counter by reason, boot self-test against the stock all-gather + Triton top-k/top-p (fail closed).
tests/test_topk_gather_ref.py: CPU, 4 fake shards; processed rows, probabilities and full MTP verify
outputs bit-identical to the full-gather path; must-fails. arms/night-topk.env = deployed decode.env +
the flag. decode-serve.sh puts rtxopt on PYTHONPATH for the flag.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The served verify (FI 0.7.0.post1 BatchDecode, tensor cores) packs 4 tokens x 6 heads into a CTA_TILE_Q=64
tile (4x1 warps, 37.5% rows used, fp8 repack pass); host checks show it runs NUM_MMA_KV=4 with 96 KB smem,
i.e. 1 CTA/SM while the planner sizes the grid for 2 (the q1 tile-16 kernel is also 1 CTA/SM: its 4-warp
merge buffer is 64 KB).

rtxopt/fi_vattn.py copies the installed FlashInfer include/csrc into an overlay, patches it (macros,
default off) and JIT-builds a separate module (own URI) per variant: t16 (verify rows as two tile-16
1x4 tiles), t16p2 (+ 2-pass cross-warp merge: 40 KB smem, 2 CTAs/SM; default), w22p2 (tile 32 in a
2x2 warp layout, 48.5 KB, 2 CTAs/SM, experimental), w22, p2. Only verify plans (q_len_per_req in
RTXOPT_VERIFY_ATTN_QLENS, default 4; fp8 KV, bf16 Q/O, hd256) are routed to it; a per-device self-test
vs the stock module (and the expected tile) fails closed before the first verify plan and prints the
"RTXOPT_VERIFY_ATTN=<v> engaged" banner. attnbench.py --custom <variants>; arms/night-vattn.env;
night/vattn-bench.sh + night/vattn-deploy.sh (merge-safe deploy onto the live sitecustomize).

Host-only evidence (cfx-llm1, no GPU): all 5 modules build; ptxas: tile16 1x4 254 regs / 0 spill,
w22 tile32 236 regs / 0 spill; smem table and CPU routing tests in bench/runs/rtx-night-vattn-20261108/.
No GPU number yet.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Map entries a-b:VARIANT (no overlaps, fail closed); RTXOPT_AR_PACE must still be
set (any variant or 'map') since it triggers the sitecustomize hook, so the deployed
sitecustomize.py needs no change. Every paced size goes through the warmup bit
self-test; banner prints the map, per-size variant and unused variants.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
dynk-w3 left router.env PD_TT_URL on the gate port :8001: pd40g.sh rollback took the
newest cutover-backup/*/ dir, which was adwin's router-code-<tag>/ (sorts after the
timestamp dirs, holds no router.env), so the cp failed silently.

- pd40g.sh rollback: only enable's YYYYmmddTHHMMSSZ/ backups; FAIL on a failed restore.
- router-prod-restore.sh (cfx-llm1): PD_TT_URL := :8000 in router.env + router.env.pd,
  back to pd mode, restart pd-router only when idle (router tt_gate + RTX/TT vLLM
  running+waiting = 0), verify prod /health, router /health, one routed request;
  prints a RELEASE-CHECK line.
- adwin.sh end_window and dynk-window.sh restore call it; adwin posts RELEASE only on
  a passing RELEASE-CHECK (else NOTE, cards stay claimed).
(cherry-picked from c327ae36 on opus/rtx-dynk-fix; dynk-window.sh hunk dropped, file not on this branch)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: night-combo post-ship watch
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Failing after 5m24s
tt-stack-ci / Build simulators and check the host module (pull_request) Failing after 5m26s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 16m1s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: PR does not merge cleanly onto base
7836929171
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- marlin_f16acc/: vLLM 0.32 Marlin rebuilt for sm_86: bf16 activations converted to fp16 in registers, fp16 group
  scales, fp16 tensor-core accumulation (full rate on GA102) for M <= 32, optional per-k-tile fp32 flush, bf16 out.
- fi_plan_ring.py: lifts the #57352 overlay's pinned plan-buffer budget (8) that costs a 20 ms host wait per B8 step.
- dynk_cg_fix.py / pad_dyn_sd.py + registration: parity with the deployed rtxopt (from opus/rtx-dynk-fix).
- marlinbench: rtxopt_marlin variants, per-M error vs fp32, outlier probe. lane/lane-window.sh: claimed-window driver.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Item 1 (fp16-acc Marlin) dead: no M=32 gain, step is a tile-config effect.
Item 2 (FI plan ring) inert: the 20 ms sync is off the critical path.
EMBED_HOST: KV pool 325,028 -> 391,700 (B8x32k fits), candidate pending gates.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- RTXOPT_SMALL_GEMV: Triton split-K GEMV with last-CTA reduction for the 48 bf16 in_proj_ba calls (interpreter test PASS, sm_86 AOT compile ok).
- xqa_sm86.py: FlashInfer XQA (TRT-LLM mha.cu) JIT-built for sm_86 (FlashInfer gates it to SM90+); attnbench --xqa.
- lane-window.sh: ctl after an arm reboots prod (ABBA), bench step (BENCH_CMDS, BENCH_DROP), prof step, acceptance per arm, same prompts per window (SALT_LABEL).
- deploy-stage.sh: copy staged rtxopt files with .bak-<tag> backups.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
w4a8_screen.py: CPU emulation of Marlin a8 numerics on the served int4 checkpoint (scale-level rules, per-token
int8 acts per TP shard, outlier split, skip regex), layer-wise HF forward with per-stream residuals, end-of-model
KL / top-1 vs W4A16, LMHEAD_Q8 and bf16-weight yardsticks, int32 accumulator headroom, activation dumps.
w4a8_gpu_check.py: zp-fold (uint4 + zp 7/8, |s|) a8 kernel check vs W4A16 and vs emulation on real weights and
acts, CUDA-graph M sweep; --selftest (CPU) proves the fold exact on real shards.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
marlin_layout_check.py (CPU): port of gptq_marlin_repack_kernel == vLLM's test reference for both modes; the a8
and W4A16 repacks of the same int4 values share 0% of words on real shards, and the index map the W4A16 kernel
would read from the a8 buffer is not separable into k and n permutations (stays within each 32-row k block);
scale and zp permutations differ; bytes per TP=4 rank.
docs/upstream/vllm-marlin-w4a8-signed-scales.md: draft issue (not filed) with file:line root cause, GPU repro,
zp-fold workaround and suggested fixes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1. lane-window.sh cut EXPECT_BANNERS at the first entry holding '=' (DRAFT_HEAD_Q=shared): FI_PLAN_RING,
   SMALL_GEMV and XQA_SM86 were never banner-checked by the driver in w4a/w4b2/w5b. banners() in lane-lib.sh
   uses cut -f2-; test_lane_lib.sh covers it. By hand: FI_PLAN_RING=96 engaged x4 in every arm log and per prod boot;
   SMALL_GEMV/XQA were dropped by the bench step (x0, intended).
2. Claims restated: ~0% at B1/B8 4k and agent B1 32k, +4..+11% at 32k and B4 4k; arm boots spread up to 7.4%
   per cell (not 2-4%); KV +31%. LEDGER, HISTORY, README, walkthrough, decode.env comment (repo + prod).
3. Restore: launch with KillMode=mixed + TimeoutStopSec=900, TERM trap, pd-mode pd only after the restored
   decode answers (else RESTORE FAILED, router left tt-only). Skill: "Abort and restore" procedure.
4. sitecustomize: drop the KV4_3D (kv4_3d.py not in this tree) and DYNK_CG_FIX registrations and the
   dynk_cg_fix.py / pad_dyn_sd.py files; they belong to their own lanes' PRs.
5. deploy-stage.sh refuses (exit 2, nothing copied) when the deployed sitecustomize registers RTXOPT_* flags or
   _from_file patches the stage lacks, unless --force. Against prod it now names DYNK_CG_FIX, K8V4, KV4_3D.
6. cells.sh samples foreign load before, every 20 s during and after each cell; any sample over LOAD_MAX or
   unmeasurable sends the record to <label>.discarded.jsonl. foreign-load.sh fails closed (no cgroup, unreadable
   counters, unit restarted).
7. W4A8 README/LEDGER/upstream draft: accuracy stats recomputed (mean/median/max), speed row is a8zp without
   the outlier split.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
6a4af238 committed only the two file removals (a pathspec error aborted the add). This commit carries the rest of
its message: banners() with cut -f2- + test_lane_lib.sh, honest claims (LEDGER/HISTORY/README/walkthrough/
decode.env comment), abort-safe restore (KillMode=mixed, TimeoutStopSec=900, pd only after decode answers, skill
"Abort and restore"), KV4_3D/DYNK_CG_FIX registrations out of sitecustomize, deploy-stage.sh registration guard
(--force), cells.sh during/after-cell load sampling with discard, fail-closed foreign-load.sh, W4A8 stats wording.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- rtxopt/marlin_a8x/csrc/rtxopt_a8x.cu + build.sh: bf16-MMA GEMM for M<32 that reads vLLM's is_a_8bit Marlin
  layout (zp-folded), plain C ABI, nix CUDA 13.0, sm_86; split-K with deterministic reduction; 11 configs, 0 spills.
- rtxopt/marlin_a8x.py: RTXOPT_MARLIN_M32=a8x (via marlin_m32.register, no sitecustomize change): zp fold, a8
  repack, int8 Marlin at M>=RTXOPT_MARLIN_A8_MIN_M, a8x kernel below, both in one custom op; optional static
  outlier split from a calibration file; per-layer self-check M=1/M=64; banner with neg-scale fraction + extra MiB.
- marlin_m32.py: plain a8 now refuses negative group scales (the uint16 level bug); mode a8x delegates.
- tests: CPU emulation of the kernel's index math on real shards (20/20 bit-identical W), hooks test (8/8),
  GPU test (window only).
- w4a8_gpu_check.py: variant a8x[:c<cfg>][:w<warps>], --served merged shapes weighted by count, --gate.
- w4a8_screen.py: --calib-out (per-channel absmax), act=cal<K> (the lever's static outliers, --calib-in).
- lane/a8x.env, SKILL.md section.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1. Abort latency: bash defers a TERM trap until the foreground child exits (up to 1800 s for marlinbench). Every
   long window command now runs via step() (lane-lib.sh: setsid background + wait, own process group); on_term kills
   the step's group and exits, then restore runs. restore's health loop is capped at RESTORE_WAIT=480 s (< 900 s
   TimeoutStopSec). test_lane_lib.sh: TERM ends a driver blocked in a 297 s step within 5 s, restore runs, the step's
   children are gone (fails without the group kill).
2. Silent banner pass: `source lane-lib.sh || exit 1`; an arm env without EXPECT_BANNERS, or with none left after
   bench drops, is refused. Skill: scp list now has lane-lib.sh, deploy-stage.sh, test_lane_lib.sh, cells.sh,
   foreign-load.sh + a test run; BENCH_CMDS ';' split and '^PASS' pitfalls; CUDA builds off the card hosts.
3. Nit: arm-boot spread 7.3% (116.9/108.9), control spread 3.2% (README, walkthrough, decode.env comment repo + prod).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
w7 (cfx-llm1 GPU1, 23:45-23:48 CET, #334 CLAIM/RELEASE, RELEASE-CHECK rc=0). Unit test ALL PASS (repack = reference,
M 1..32 vs stock <= 1.4e-4, CUDA graph = eager). Speed on gate_up_proj, the arm's only int8 layer: rule <= 1.03x at
M 1/4/16 and >= 1.3x faster at M >= 32 both fail; cfg/warps sweep finds nothing better. Static-outlier calval:
gate_up only 1.73e-3 KL, all-but-down 1.65e-2 (rejected). LEDGER R-2026-11-08-rtx-w4a8 update (also the 7.3%/3.2%
nit in R-2026-11-08-rtx-ehq8).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1. prof: coolwait.sh (up to 1800 s) now runs via step(), so TERM aborts it and restore runs.
2. The empty-banner check moved before boot and now checks the arm's OWN levers: lost_levers() (lane-lib.sh) lists
   the extra env's EXPECT_BANNERS entries missing after bench drops; any loss refuses the boot unless
   ALLOW_PARTIAL_ARM=1 (and at least one own lever survives). test_lane_lib.sh 18/18 (3 new).
3. Nits: sitecustomize doc lists a8x; a8x.env no longer says "shipped config"; test_marlin_a8x_hooks sc_real SKIPs
   without vLLM like m32's test; skill notes ALLOW_PARTIAL_ARM.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
merge #369 opus/rtx-decode-lane @f43d26e6 (LEDGER/HISTORY: union, 11-08 beat stays in Chapter 7)
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
f514131624
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Grok added 22 commits 2026-11-09 16:44:16 +01:00
- bfp_unpack.launch_bfp_to_int4_paged: TT bfp8_b/bfp4_b tiles -> vLLM 0.32 int4_per_token_head paged KV (RHT as two
  bf16 dots, asymmetric 4-bit per token-head, zp in the scale's low mantissa bits); CPU interpreter test bit-exact vs
  a truncating reference (test_kernel_kv4.py; the GPU run also compares with vLLM's reshape_and_cache_int4)
- TTHandoffConnector: accepts an int4_per_token_head cache (banner TT_HANDOFF_KV4), same staging/flush path
- tools/pd-split/rtx/kv4: kv4-window.sh (control + arm + gates, trap restore), toolcall_check.py (2 x 30-turn
  long-context tool-call gate)
- tools/kvarn: the 2026-11-06 KVarN numerics study scripts + kvq_vint4.py (vLLM int4 / fp8-K int4-V variants)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
w1/w3 on cfx-llm1 2026-11-08: int4_per_token_head pool 598,607 vs 325,028 tokens, but MAL 2.09 vs 3.07 and B1 32k
TG/user 32 vs 162 (2D grid for the q_len-4 verify). bf16 on TRITON_ATTN keeps MAL 3.05 (backend not the cause);
--kv-cache-dtype-skip-layers 0 (MTP layer bf16) pads every group to the bf16 page: pool 155,938, MAL 1.68.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
pd-split: #368 review low items: fills through the TT gate (--fill-url, router /pd/fill), fill status cleanup + consumed signal, deeper-GDN rule only for FA+GDN groups
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
d422d4fb19
- router: --fill-url (default '' = TT directly, unchanged); POST /pd/fill/v1/completions forwards a connector's fill
  export to TT through the same TT gate (tt-max-inflight, sjf) as the router's own exports; non-export bodies 400.
- receiver/broker: a handoff claimed and then released is remembered (bounded) as consumed; poll replies carry
  consumed: true, so the fill thread's grace probe no longer logs a false 'not complete' and writes a stale .err when
  the RTX imported the fill before TT's 200 came back.
- connector: fill .err verdicts are deleted when the load is released and pruned (>1 h) at connector start;
  divergent_hit's deeper-GDN override only runs when every group is full attention or GDN (else vLLM's hit is kept
  and counted as deeper_gdn_other_group).

Deploy needs a window (broker + decode restart, decode.env fill_allow += the router URL, router --fill-url).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
walkthrough §9: n1d TTFT breakdown (B8: TT queue 67%, TT prefill 22%) and what TT prefill rate buys
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
994d5719c4
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
#375 review fixes: /pd/fill accepts only fill-shaped bodies (own broker target, aligned start, fill id; max_tokens forced 1); abandoned fills leave the TT gate; fill ids unique per attempt; .err verdicts kept >=10 min for every TP rank (periodic prune, no per-rank delete); consumed cleared on resend
All checks were successful
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 12m6s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 6m47s
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m59s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
e130fb57cb
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
pd broker: read-only op=inspect for the Inference-flow dashboard (nixos-llm #989)
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
c2d5040ed1
Live handoffs (oldest first, <=64: state writing|ready|importing, tokens, bytes,
frames, first arena offset, age, t_open/t_ready/t_claim, export/wait/import s,
ranks released), cumulative totals (handoffs, bytes in/out, import ok/failed,
ended by reason), the last 32 finished handoffs with latencies, and the arena's
free-extent map (<=64 [off,len]). Snapshot under the receiver lock (median 23 us
held at 64 live), formatted outside it; arena read under its own lock after.
op=stats is unchanged (keys and values).

Also: a claimed handoff that is dropped or reaped no longer reads as
"consumed" (it was not imported); the fill grace probe no longer takes it as
success.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
pd broker inspect review lows: bytes_out_total counts held frames (a re-sent frame once); bool caps ignored
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m24s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 8m37s
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 21m46s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
b79e89bddc
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
TTHandoffConnector picks launch_bfp_to_k8b4_paged when the cache is int4_per_token_head and RTXOPT_K8V4=bfp4
(banner TT_HANDOFF_K8B4), for both the attention-layer and the MTP-layer import. fp8 KV is unchanged.
bfp_unpack.py gains the kv4 and k8b4 sections from opus/rtx-kv4. test_kernel_k8b4.py (needs rtxopt/k8v4.py from
opus/rtx-kv4): CPU interpreter PASS, byte-equal on all cases, V values exact.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
w7 profile attribution of the B1 4k gap (unpaced 4-token AR from a fresh autotune, fixed at the ship; 8-CTA split-KV
at 4k), ship/watch scripts, RTXOPT_K8V4_MINCHUNK/CTAS knobs (default unchanged) + bench sweep, records, walkthrough,
skill, HISTORY.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Not deployed yet (prod runs 529b9414); goes out with the next decode-restart window.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
prefill_k8b4 gathered bf16 K/V for the summed context of every request in a non-uniform step (1 KiB/token/rank,
~460 MiB at 7 x 64k sessions + a chunk), memory vLLM's profiling never sees. Requests now go through FA2 in groups
whose context sum stays <= cap (a longer single request alone). GPU test cases for caps 120/100/1 added; not yet run
(needs the window's ktest); not deployed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
merge #382 opus/rtx-k8b4-connector @00759f9f (connector + bfp_unpack taken from #382 = the bytes deployed on cfx-llm1; the parked K4/V4 int4 import path of #370 stays in #370's history)
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
4e69d83f3d
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: evidence lines for the night-combo replay/ship and the ehq8 beat (Codex review R1 on #372/#369)
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
ef57cfd635
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
Member

Independent review (R4): OpenAI Codex gpt-6.1-sol, run by the P/D consolidation lead (Claude Opus 5.5). Read-only; no hardware run.

Routing: the conflict resolutions are clean. R4-1 is inherited from #382 and is being fixed on #382.


Consolidation merge resolutions @ef57cfd635

VERDICT: FIX

R4-1 is inherited by the chosen #382 connector. No additional conflict-resolution defect found.

Inspected git show --remerge-diff for all five requested commits. Additionally compared nonblank, non-heading line multisets in each parent's HISTORY and LEDGER with each merge result: no parent content was lost in any of the ten file/merge combinations. Headings were excluded from that automated union check because chapter headings were deliberately reorganized; the resulting narrative remains grouped by date/chapter.

  • 74c4b7a8: HISTORY union retains both parents, with the incoming November 8 story in Chapter 7 and November 9 material separated.
  • f5141316: HISTORY and LEDGER unions retain both lanes.
  • 5556db76: against its first parent, sitecustomize changes only the KV4/K8V4 documentation and registrations plus whitespace. The lane registrations remain byte-identical; the new KV4_3D and K8V4 registrations appear before installation of the finder. No lane hook was replaced by the KV4 hook.
  • 4e69d83f: both tt_handoff_connector.py and bfp_unpack.py are byte-for-byte identical to #382 @00759f9f. Removal of the K4/V4 connector dispatch is deliberate and registration now refuses bare int4_per_token_head. The diagnostic refusal is also lost, producing R4-1.
  • 49c628a4: remerge-diff is empty; no new hand-resolved conflict.
  • ef57cfd6: the night-combo summary path exists at that tip and records TG/user 75.191 and output 533.66 tok/s. The qualified dynk W3 control path exists on its source branch and is copied by 88607d6c; its summary records 68.956 and 524.93. The ehq8 LEDGER identifier and records directory exist. The new prose explicitly distinguishes uncommitted serve-log/watch facts from committed replay evidence; this is a verification limitation, not independent proof of those operational facts.
**Independent review (R4): OpenAI Codex gpt-6.1-sol, run by the P/D consolidation lead (Claude Opus 5.5).** Read-only; no hardware run. **Routing:** the conflict resolutions are clean. R4-1 is inherited from #382 and is being fixed on #382. --- ## Consolidation merge resolutions @ef57cfd6357ca70321c0022aceef5e4e5f02798e VERDICT: FIX R4-1 is inherited by the chosen #382 connector. No additional conflict-resolution defect found. Inspected git show --remerge-diff for all five requested commits. Additionally compared nonblank, non-heading line multisets in each parent's HISTORY and LEDGER with each merge result: no parent content was lost in any of the ten file/merge combinations. Headings were excluded from that automated union check because chapter headings were deliberately reorganized; the resulting narrative remains grouped by date/chapter. - 74c4b7a8: HISTORY union retains both parents, with the incoming November 8 story in Chapter 7 and November 9 material separated. - f5141316: HISTORY and LEDGER unions retain both lanes. - 5556db76: against its first parent, sitecustomize changes only the KV4/K8V4 documentation and registrations plus whitespace. The lane registrations remain byte-identical; the new KV4_3D and K8V4 registrations appear before installation of the finder. No lane hook was replaced by the KV4 hook. - 4e69d83f: both tt_handoff_connector.py and bfp_unpack.py are byte-for-byte identical to #382 @00759f9f. Removal of the K4/V4 connector dispatch is deliberate and registration now refuses bare int4_per_token_head. The diagnostic refusal is also lost, producing R4-1. - 49c628a4: remerge-diff is empty; no new hand-resolved conflict. - ef57cfd6: the night-combo summary path exists at that tip and records TG/user 75.191 and output 533.66 tok/s. The qualified dynk W3 control path exists on its source branch and is copied by 88607d6c; its summary records 68.956 and 524.93. The ehq8 LEDGER identifier and records directory exist. The new prose explicitly distinguishes uncommitted serve-log/watch facts from committed replay evidence; this is a verification limitation, not independent proof of those operational facts.
Grok added 32 commits 2026-11-09 16:54:07 +01:00
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>
skill: pd-enterprise-bench, the owner's enterprise-GPU bench method for the P/D stack
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m46s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 7m29s
cards-fresh cards: not needed (C1) fp=2946ee7708acdd9b
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 18m42s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
4c09f84c21
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
pd-enterprise-bench: worst-case cold burst and best-case 30k shared prefix + 2-6k unique scenarios
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 7m19s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 11m21s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 9m23s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
9187c9e845
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Scenario A (cold 4k/32k x B1/B4/B8) and B (30k shared prefix + 2-6k) waterfalls through Bifrost,
joined with pd-router.jsonl and the RTX TT_HANDOFF import lines; night-combo RTX decode per-op
torch profiles at B1 4k/32k, B4 32k, B8 4k; TT prefill cold/hit cost model from 152+70 router
records; real agentic traffic mix (234 requests) and the top-10 costs by time x frequency.
Records: bench/runs/pd-path-breakdown-20261108/ (#334 window 12:45-13:48 CET).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
PD-PATH-BREAKDOWN: cite the records dir as a glob (check-cited-records)
All checks were successful
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m6s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 14m31s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 44m32s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
e47f525000
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: 2026-11-08 delta KV export ships (P/D path)
All checks were successful
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 13m28s
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m54s
cards-fresh cards: not needed (C1) fp=2946ee7708acdd9b
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 17m27s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
157cc209ea
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: n1d ships (B8 TG/user 84 -> 159, follow-up turns 35-42 -> 182-188)
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 6m55s
tt-stack-ci / Report upstream drift (pull_request) Failing after 3m51s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 12m57s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=7d0922d2e7c868ef
c6266b75c1
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
HISTORY: #373 broker fixes live, router restarts without 502s
Some checks failed
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
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
832aa6e858
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Merge remote-tracking branch 'origin/master' into docs/history-pd-delta
All checks were successful
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 11m45s
tt-stack-ci / Report upstream drift (pull_request) Successful in 3m26s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 17m32s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
813444f34d
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>
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>
HISTORY: Hermes re-review went from ~30 min (NV only) to under 1 min on P/D with prefix caching
All checks were successful
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 7m58s
tt-stack-ci / Report upstream drift (pull_request) Successful in 5m30s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 25m23s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
03dfe96078
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The four branches have no PR and edit shared files master has moved past, so their
code lands as diffs under tools/pd-split/archive/ (README: flag, status, evidence).
Records they cite are copied at the same bench/runs paths (5 files over 5 MB stay on
the branch, listed). §8.14 from opus/pd-reprefill; one prompt-label stem rewritten as
$G9W3_LABEL so the citation checker does not take it for a record.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>

# Conflicts:
#	docs/HISTORY.md
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>

# Conflicts:
#	docs/HISTORY.md
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>

# Conflicts:
#	docs/LEVERS.md
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
merge #386 codex/pd-docs-fix @1b80a572
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
3ade12df26
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codex review R4 on #382 (MEDIUM): tt_mtp_dump reinterpreted k8b4 rows as e4m3 [K|V] and logged 'wrote'.
Refuse with NotImplementedError at entry, like #370's int4 refusal. CPU test test_dump_kv_refuses_int4_cache
[k8b4, kv4]: passes with the fix, fails without it (2 failed on revert); test_cpu.py 15 passed (cfx-llm1 CPU).
Diagnostic path only; normal import unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Production configuration has moved past the original design and template defaults. Record the snapshot state, exact entry points, window rules and open concurrency gaps so an operator can reconstruct the split from the consolidated tree.

Co-Authored-By: Codex gpt-6.1-sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
merge #387 codex/pd-recipe @ebc40352 (PD-RECIPE.md, README + design links)
All checks were successful
cards-fresh cards: not needed (C1) fp=617283e09d4aa5be
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 22m37s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 9m59s
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m49s
cards-fresh / Re-check cards-fresh on open PRs (push) Successful in 35m25s
819c6abead
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
orchestra changed title from P/D consolidation: RTX decode night + lane (#372, #369) onto master to P/D consolidation: RTX decode + K8/V4 + prod snapshot + archive + docs + PD-RECIPE onto master 2026-11-09 17:02:10 +01:00
Author
Member

Independent final review (R7): OpenAI Codex gpt-6.1-sol, on head 819c6abe. It covers the content no earlier review covered.

R7 — final incremental pre-merge review

#383 opus/pd-master-consolidation @819c6abead

VERDICT: LAND

No new findings in the requested R7 scope. This verdict covers the remaining integration checks, not a repeat review of content covered by R1–R6. No performance measurement was made and no new speed number was produced.

1. Combined reviewed heads

Executed both requested per-file diffs, from lane f43d26e6 and kv4 0f5abdc2 to 819c6abe, for all four files. Inspected the resulting changes.

File (under tools/pd-split/rtx/) Result
attnbench.py Identical to lane; kv4-to-final diff contains lane's opt-in XQA benchmark additions.
cells.sh Identical to lane; kv4-to-final diff contains lane's load gating/sampling and SALT_LABEL additions.
decode-serve.sh Identical to lane; kv4-to-final diff contains lane's additional activation predicates.
rtxopt/sitecustomize.py Retains lane's registrations/documentation and kv4's KV4_3D/K8V4 registrations/documentation. No lost change or extra integration behavior found.

Independently reconstructed a three-way merge using common ancestor 78369291717c61738620c43972563b0d444e62f7. The first three files merge cleanly and match the final blobs byte-for-byte. For sitecustomize, standalone git merge-file reports one conflict: lane deletes a blank line where kv4 inserts its final registrations. Keeping the kv4 insertion produces the final blob byte-for-byte. This is a textual adjacency, not a lost functional lane change; all lane additions elsewhere merge cleanly.

Validation:

  • bash -n passes for cells.sh and decode-serve.sh.
  • Python compilation passes for attnbench.py and rtxopt/sitecustomize.py using py_compile.compile(..., doraise=True) with bytecode written to a temporary directory (the same compiler used by python3 -m py_compile, while preserving the read-only worktree).
  • Executed sitecustomize via runpy after removing every RTXOPT_* environment variable: _PATCHES == {}, sys.meta_path unchanged, environment unchanged, and no vllm/torch/triton imports. Thus no finder or patch is registered when unset.
  • python3 tools/pd-split/rtx/rtxopt/tests/test_fi_plan_ring_cpu.py: PASS, including invalid-budget and missing-target refusals.
  • python3 tools/pd-split/rtx/rtxopt/tests/test_marlin_a8x_hooks.py: six host cases PASS; a8_refuses_signed not run: missing dep torch; sc_real not run: missing dep vllm. The script exits 1 due to the missing-torch case, not an observed assertion failure.
  • python3 tools/pd-split/rtx/rtxopt/tests/test_fi_vattn_cpu.py: not run: missing dep torch.

Tests used system python3; no dependencies installed or hardware accessed.

2. cd4ce910 MANIFEST correction

Resolved. tools/pd-split/prod-snapshot/20261109/MANIFEST.md:17 now identifies the captured connector as #382 at 00759f9f, distinguishes repository 7398f898, and explicitly says they are not byte-identical pending deployment.

Evidence: SHA256 of 00759f9f:tools/pd-split/connector/tt_handoff_connector.py is 9ca04f17007960f188fe74b13e7c04a092ccd818174d07687b17a92dcd7e8cb9, matching the stated capture hash prefix. The connector diff from 00759f9f to 7398f898 adds only the _dump_kv k8b4/kv4 refusal and its comment, exactly as the corrected wording says. The correction remains present at the reviewed head.

3. Merge-resolution audit

git show --remerge-diff produces commit metadata only, with no diff hunks, for each requested merge:

  • 3ade12df26fbf2f9879e20df318a338840fa1fb6 (#386)
  • ac43b239f848bab06b988128f42f37f816b35fa6 (#385)
  • f7f5c88a045a75674463fb2650afdad7ad7787a0 (#384)
  • 819c6abead24b6d3d153fd8ef09b4eae20047f26 (#387)
  • 5d1387f302c31af4ec8cca53259083ae94be7750 (#382 fix)

No hand-resolved hunk appears in these merges.

4. Whole-branch scope sanity

Ran git diff --stat origin/master 819c6abe -- . ':!bench/runs' and independently filtered the corresponding name-only diff. Local supplied origin/master is f386d5cc22d7cad0b1f32b44d3d8c45041497f54. Overall non-record diff: 245 files changed, 35,877 insertions, 78 deletions.

Nine files fall outside the listed allowed directories/file, all under tools/kvarn (648 additions total):

  • tools/kvarn/env.sh
  • tools/kvarn/gen32k.py
  • tools/kvarn/kvarn_numerics.py
  • tools/kvarn/kvq_vint4.py
  • tools/kvarn/run-k8v4.sh
  • tools/kvarn/run-vint4.sh
  • tools/kvarn/run.sh
  • tools/kvarn/summarize.py
  • tools/kvarn/test_kvarn_numerics.py

These are scope exceptions to list, not a newly established defect; their contents were not re-reviewed in this incremental check.

Repository remained unchanged (git status --short empty). No fj, SSH, servers, model downloads, deployments, or card operations were performed.

**Independent final review (R7): OpenAI Codex gpt-6.1-sol, on head 819c6abe.** It covers the content no earlier review covered. # R7 — final incremental pre-merge review ## #383 opus/pd-master-consolidation @819c6abead24b6d3d153fd8ef09b4eae20047f26 VERDICT: LAND No new findings in the requested R7 scope. This verdict covers the remaining integration checks, not a repeat review of content covered by R1–R6. No performance measurement was made and no new speed number was produced. ### 1. Combined reviewed heads Executed both requested per-file diffs, from lane `f43d26e6` and kv4 `0f5abdc2` to `819c6abe`, for all four files. Inspected the resulting changes. | File (under tools/pd-split/rtx/) | Result | |---|---| | attnbench.py | Identical to lane; kv4-to-final diff contains lane's opt-in XQA benchmark additions. | | cells.sh | Identical to lane; kv4-to-final diff contains lane's load gating/sampling and SALT_LABEL additions. | | decode-serve.sh | Identical to lane; kv4-to-final diff contains lane's additional activation predicates. | | rtxopt/sitecustomize.py | Retains lane's registrations/documentation and kv4's KV4_3D/K8V4 registrations/documentation. No lost change or extra integration behavior found. | Independently reconstructed a three-way merge using common ancestor `78369291717c61738620c43972563b0d444e62f7`. The first three files merge cleanly and match the final blobs byte-for-byte. For sitecustomize, standalone `git merge-file` reports one conflict: lane deletes a blank line where kv4 inserts its final registrations. Keeping the kv4 insertion produces the final blob byte-for-byte. This is a textual adjacency, not a lost functional lane change; all lane additions elsewhere merge cleanly. Validation: - `bash -n` passes for cells.sh and decode-serve.sh. - Python compilation passes for attnbench.py and rtxopt/sitecustomize.py using `py_compile.compile(..., doraise=True)` with bytecode written to a temporary directory (the same compiler used by `python3 -m py_compile`, while preserving the read-only worktree). - Executed sitecustomize via runpy after removing every RTXOPT_* environment variable: `_PATCHES == {}`, sys.meta_path unchanged, environment unchanged, and no vllm/torch/triton imports. Thus no finder or patch is registered when unset. - `python3 tools/pd-split/rtx/rtxopt/tests/test_fi_plan_ring_cpu.py`: PASS, including invalid-budget and missing-target refusals. - `python3 tools/pd-split/rtx/rtxopt/tests/test_marlin_a8x_hooks.py`: six host cases PASS; `a8_refuses_signed` not run: missing dep torch; `sc_real` not run: missing dep vllm. The script exits 1 due to the missing-torch case, not an observed assertion failure. - `python3 tools/pd-split/rtx/rtxopt/tests/test_fi_vattn_cpu.py`: not run: missing dep torch. Tests used system python3; no dependencies installed or hardware accessed. ### 2. cd4ce910 MANIFEST correction Resolved. `tools/pd-split/prod-snapshot/20261109/MANIFEST.md:17` now identifies the captured connector as #382 at `00759f9f`, distinguishes repository `7398f898`, and explicitly says they are not byte-identical pending deployment. Evidence: SHA256 of `00759f9f:tools/pd-split/connector/tt_handoff_connector.py` is `9ca04f17007960f188fe74b13e7c04a092ccd818174d07687b17a92dcd7e8cb9`, matching the stated capture hash prefix. The connector diff from 00759f9f to 7398f898 adds only the `_dump_kv` k8b4/kv4 refusal and its comment, exactly as the corrected wording says. The correction remains present at the reviewed head. ### 3. Merge-resolution audit `git show --remerge-diff` produces commit metadata only, with no diff hunks, for each requested merge: - `3ade12df26fbf2f9879e20df318a338840fa1fb6` (#386) - `ac43b239f848bab06b988128f42f37f816b35fa6` (#385) - `f7f5c88a045a75674463fb2650afdad7ad7787a0` (#384) - `819c6abead24b6d3d153fd8ef09b4eae20047f26` (#387) - `5d1387f302c31af4ec8cca53259083ae94be7750` (#382 fix) No hand-resolved hunk appears in these merges. ### 4. Whole-branch scope sanity Ran `git diff --stat origin/master 819c6abe -- . ':!bench/runs'` and independently filtered the corresponding name-only diff. Local supplied `origin/master` is `f386d5cc22d7cad0b1f32b44d3d8c45041497f54`. Overall non-record diff: 245 files changed, 35,877 insertions, 78 deletions. Nine files fall outside the listed allowed directories/file, all under tools/kvarn (648 additions total): - tools/kvarn/env.sh - tools/kvarn/gen32k.py - tools/kvarn/kvarn_numerics.py - tools/kvarn/kvq_vint4.py - tools/kvarn/run-k8v4.sh - tools/kvarn/run-vint4.sh - tools/kvarn/run.sh - tools/kvarn/summarize.py - tools/kvarn/test_kvarn_numerics.py These are scope exceptions to list, not a newly established defect; their contents were not re-reviewed in this incremental check. Repository remained unchanged (`git status --short` empty). No fj, SSH, servers, model downloads, deployments, or card operations were performed.
Owner

verdict: request_changes
tier: T2

rationale: Scope mismatch between the branch and its own description. The title/body say only #372 and #369 land here, and explicitly mark #370 (opus/rtx-kv4) and #382 (opus/rtx-k8b4-connector) as HELD "until its window-9 verdict." But the head (ef57cfd6) also contains the merges of #370 (5556db76, 49c628a4) and #382 (4e69d83f), none of which are in master. Merging this lands 879 files / ~47,000 insertions and ships #370 + #382 ahead of the gate the body says they are still behind.

concerns:

  • [block] Branch ancestry — ef57cfd6 includes merge #370 opus/rtx-kv4 (5556db76/af3e42b8, 49c628a4/0f5abdc2) and merge #382 opus/rtx-k8b4-connector (4e69d83f/00759f9f). Neither #370 nor #382 is in master, yet the PR body's table lists both as HELD (kv4 K8/bfp4V "window w9 running; lands after its verdict"; k8b4-connector "HELD"). Either split those two merges out of this branch (let them land via their own w9-gated PRs) or update the body to explicitly clear #370 + #382 to ship now, with the w9 verdict attached. As written, merging #383 silently advances content the drafter documented as not yet cleared.
  • [block] #382 content specifically — tools/pd-split/connector/bfp_unpack.py (+267), test_kernel_k8b4.py (+153), test_kernel_kv4.py (+180), and edits to tt_handoff_connector.py are new in this PR and are the connector/k8b4 work the body ties to the still-running w9 window. This is the highest-stakes part (P/D connector on the prod inference path).
  • [nit] docs/HISTORY.md / docs/LEDGER.md — body says the only hand-edited (conflict-resolved) content is the union of these two; that part checks out and is fine.

verified clean: no secret/token/credential leakage in the diff; no hard red-flag patterns (--no-verify, force-push, magicRollback/autoRollback disabled, StrictHostKeyChecking=no); no flake.*, secrets/**, or .forgejo/** touched. #374 (ar-q8) content is correctly absent (0 files).

note: I could not read CI state for this head — GET /actions/runs on tt-stack timed out / returned empty for the ci user. Please confirm the head's CI is green before merge.

Model: ollama/agent-dense

**verdict:** request_changes **tier:** T2 **rationale:** Scope mismatch between the branch and its own description. The title/body say only #372 and #369 land here, and explicitly mark #370 (opus/rtx-kv4) and #382 (opus/rtx-k8b4-connector) as HELD "until its window-9 verdict." But the head (`ef57cfd6`) also contains the merges of #370 (`5556db76`, `49c628a4`) and #382 (`4e69d83f`), none of which are in master. Merging this lands 879 files / ~47,000 insertions and ships #370 + #382 ahead of the gate the body says they are still behind. **concerns:** - [block] Branch ancestry — `ef57cfd6` includes `merge #370 opus/rtx-kv4` (`5556db76`/`af3e42b8`, `49c628a4`/`0f5abdc2`) and `merge #382 opus/rtx-k8b4-connector` (`4e69d83f`/`00759f9f`). Neither #370 nor #382 is in master, yet the PR body's table lists both as HELD (kv4 K8/bfp4V "window w9 running; lands after its verdict"; k8b4-connector "HELD"). Either split those two merges out of this branch (let them land via their own w9-gated PRs) or update the body to explicitly clear #370 + #382 to ship now, with the w9 verdict attached. As written, merging #383 silently advances content the drafter documented as not yet cleared. - [block] #382 content specifically — `tools/pd-split/connector/bfp_unpack.py` (+267), `test_kernel_k8b4.py` (+153), `test_kernel_kv4.py` (+180), and edits to `tt_handoff_connector.py` are new in this PR and are the connector/k8b4 work the body ties to the still-running w9 window. This is the highest-stakes part (P/D connector on the prod inference path). - [nit] `docs/HISTORY.md` / `docs/LEDGER.md` — body says the only hand-edited (conflict-resolved) content is the union of these two; that part checks out and is fine. **verified clean:** no secret/token/credential leakage in the diff; no hard red-flag patterns (`--no-verify`, force-push, `magicRollback`/`autoRollback` disabled, `StrictHostKeyChecking=no`); no `flake.*`, `secrets/**`, or `.forgejo/**` touched. #374 (ar-q8) content is correctly absent (0 files). **note:** I could not read CI state for this head — `GET /actions/runs` on tt-stack timed out / returned empty for the `ci` user. Please confirm the head's CI is green before merge. Model: ollama/agent-dense
Author
Member

Codex (gpt-6.1-sol) review R7 on head 819c6abe: LAND within R7 scope (integration checks; R1–R6 covered the component heads, see table in the PR body). Full report below. Coordinator check (Claude): no deleted files, no secrets in the added env/records, destructive commands limited to scratch/overlay dirs.

R7 — final incremental pre-merge review

#383 opus/pd-master-consolidation @819c6abead

VERDICT: LAND

No new findings in the requested R7 scope. This verdict covers the remaining integration checks, not a repeat review of content covered by R1–R6. No performance measurement was made and no new speed number was produced.

1. Combined reviewed heads

Executed both requested per-file diffs, from lane f43d26e6 and kv4 0f5abdc2 to 819c6abe, for all four files. Inspected the resulting changes.

File (under tools/pd-split/rtx/) Result
attnbench.py Identical to lane; kv4-to-final diff contains lane's opt-in XQA benchmark additions.
cells.sh Identical to lane; kv4-to-final diff contains lane's load gating/sampling and SALT_LABEL additions.
decode-serve.sh Identical to lane; kv4-to-final diff contains lane's additional activation predicates.
rtxopt/sitecustomize.py Retains lane's registrations/documentation and kv4's KV4_3D/K8V4 registrations/documentation. No lost change or extra integration behavior found.

Independently reconstructed a three-way merge using common ancestor 78369291717c61738620c43972563b0d444e62f7. The first three files merge cleanly and match the final blobs byte-for-byte. For sitecustomize, standalone git merge-file reports one conflict: lane deletes a blank line where kv4 inserts its final registrations. Keeping the kv4 insertion produces the final blob byte-for-byte. This is a textual adjacency, not a lost functional lane change; all lane additions elsewhere merge cleanly.

Validation:

  • bash -n passes for cells.sh and decode-serve.sh.
  • Python compilation passes for attnbench.py and rtxopt/sitecustomize.py using py_compile.compile(..., doraise=True) with bytecode written to a temporary directory (the same compiler used by python3 -m py_compile, while preserving the read-only worktree).
  • Executed sitecustomize via runpy after removing every RTXOPT_* environment variable: _PATCHES == {}, sys.meta_path unchanged, environment unchanged, and no vllm/torch/triton imports. Thus no finder or patch is registered when unset.
  • python3 tools/pd-split/rtx/rtxopt/tests/test_fi_plan_ring_cpu.py: PASS, including invalid-budget and missing-target refusals.
  • python3 tools/pd-split/rtx/rtxopt/tests/test_marlin_a8x_hooks.py: six host cases PASS; a8_refuses_signed not run: missing dep torch; sc_real not run: missing dep vllm. The script exits 1 due to the missing-torch case, not an observed assertion failure.
  • python3 tools/pd-split/rtx/rtxopt/tests/test_fi_vattn_cpu.py: not run: missing dep torch.

Tests used system python3; no dependencies installed or hardware accessed.

2. cd4ce910 MANIFEST correction

Resolved. tools/pd-split/prod-snapshot/20261109/MANIFEST.md:17 now identifies the captured connector as #382 at 00759f9f, distinguishes repository 7398f898, and explicitly says they are not byte-identical pending deployment.

Evidence: SHA256 of 00759f9f:tools/pd-split/connector/tt_handoff_connector.py is 9ca04f17007960f188fe74b13e7c04a092ccd818174d07687b17a92dcd7e8cb9, matching the stated capture hash prefix. The connector diff from 00759f9f to 7398f898 adds only the _dump_kv k8b4/kv4 refusal and its comment, exactly as the corrected wording says. The correction remains present at the reviewed head.

3. Merge-resolution audit

git show --remerge-diff produces commit metadata only, with no diff hunks, for each requested merge:

  • 3ade12df26fbf2f9879e20df318a338840fa1fb6 (#386)
  • ac43b239f848bab06b988128f42f37f816b35fa6 (#385)
  • f7f5c88a045a75674463fb2650afdad7ad7787a0 (#384)
  • 819c6abead24b6d3d153fd8ef09b4eae20047f26 (#387)
  • 5d1387f302c31af4ec8cca53259083ae94be7750 (#382 fix)

No hand-resolved hunk appears in these merges.

4. Whole-branch scope sanity

Ran git diff --stat origin/master 819c6abe -- . ':!bench/runs' and independently filtered the corresponding name-only diff. Local supplied origin/master is f386d5cc22d7cad0b1f32b44d3d8c45041497f54. Overall non-record diff: 245 files changed, 35,877 insertions, 78 deletions.

Nine files fall outside the listed allowed directories/file, all under tools/kvarn (648 additions total):

  • tools/kvarn/env.sh
  • tools/kvarn/gen32k.py
  • tools/kvarn/kvarn_numerics.py
  • tools/kvarn/kvq_vint4.py
  • tools/kvarn/run-k8v4.sh
  • tools/kvarn/run-vint4.sh
  • tools/kvarn/run.sh
  • tools/kvarn/summarize.py
  • tools/kvarn/test_kvarn_numerics.py

These are scope exceptions to list, not a newly established defect; their contents were not re-reviewed in this incremental check.

Repository remained unchanged (git status --short empty). No fj, SSH, servers, model downloads, deployments, or card operations were performed.

Codex (gpt-6.1-sol) review R7 on head 819c6abe: **LAND** within R7 scope (integration checks; R1–R6 covered the component heads, see table in the PR body). Full report below. Coordinator check (Claude): no deleted files, no secrets in the added env/records, destructive commands limited to scratch/overlay dirs. # R7 — final incremental pre-merge review ## #383 opus/pd-master-consolidation @819c6abead24b6d3d153fd8ef09b4eae20047f26 VERDICT: LAND No new findings in the requested R7 scope. This verdict covers the remaining integration checks, not a repeat review of content covered by R1–R6. No performance measurement was made and no new speed number was produced. ### 1. Combined reviewed heads Executed both requested per-file diffs, from lane `f43d26e6` and kv4 `0f5abdc2` to `819c6abe`, for all four files. Inspected the resulting changes. | File (under tools/pd-split/rtx/) | Result | |---|---| | attnbench.py | Identical to lane; kv4-to-final diff contains lane's opt-in XQA benchmark additions. | | cells.sh | Identical to lane; kv4-to-final diff contains lane's load gating/sampling and SALT_LABEL additions. | | decode-serve.sh | Identical to lane; kv4-to-final diff contains lane's additional activation predicates. | | rtxopt/sitecustomize.py | Retains lane's registrations/documentation and kv4's KV4_3D/K8V4 registrations/documentation. No lost change or extra integration behavior found. | Independently reconstructed a three-way merge using common ancestor `78369291717c61738620c43972563b0d444e62f7`. The first three files merge cleanly and match the final blobs byte-for-byte. For sitecustomize, standalone `git merge-file` reports one conflict: lane deletes a blank line where kv4 inserts its final registrations. Keeping the kv4 insertion produces the final blob byte-for-byte. This is a textual adjacency, not a lost functional lane change; all lane additions elsewhere merge cleanly. Validation: - `bash -n` passes for cells.sh and decode-serve.sh. - Python compilation passes for attnbench.py and rtxopt/sitecustomize.py using `py_compile.compile(..., doraise=True)` with bytecode written to a temporary directory (the same compiler used by `python3 -m py_compile`, while preserving the read-only worktree). - Executed sitecustomize via runpy after removing every RTXOPT_* environment variable: `_PATCHES == {}`, sys.meta_path unchanged, environment unchanged, and no vllm/torch/triton imports. Thus no finder or patch is registered when unset. - `python3 tools/pd-split/rtx/rtxopt/tests/test_fi_plan_ring_cpu.py`: PASS, including invalid-budget and missing-target refusals. - `python3 tools/pd-split/rtx/rtxopt/tests/test_marlin_a8x_hooks.py`: six host cases PASS; `a8_refuses_signed` not run: missing dep torch; `sc_real` not run: missing dep vllm. The script exits 1 due to the missing-torch case, not an observed assertion failure. - `python3 tools/pd-split/rtx/rtxopt/tests/test_fi_vattn_cpu.py`: not run: missing dep torch. Tests used system python3; no dependencies installed or hardware accessed. ### 2. cd4ce910 MANIFEST correction Resolved. `tools/pd-split/prod-snapshot/20261109/MANIFEST.md:17` now identifies the captured connector as #382 at `00759f9f`, distinguishes repository `7398f898`, and explicitly says they are not byte-identical pending deployment. Evidence: SHA256 of `00759f9f:tools/pd-split/connector/tt_handoff_connector.py` is `9ca04f17007960f188fe74b13e7c04a092ccd818174d07687b17a92dcd7e8cb9`, matching the stated capture hash prefix. The connector diff from 00759f9f to 7398f898 adds only the `_dump_kv` k8b4/kv4 refusal and its comment, exactly as the corrected wording says. The correction remains present at the reviewed head. ### 3. Merge-resolution audit `git show --remerge-diff` produces commit metadata only, with no diff hunks, for each requested merge: - `3ade12df26fbf2f9879e20df318a338840fa1fb6` (#386) - `ac43b239f848bab06b988128f42f37f816b35fa6` (#385) - `f7f5c88a045a75674463fb2650afdad7ad7787a0` (#384) - `819c6abead24b6d3d153fd8ef09b4eae20047f26` (#387) - `5d1387f302c31af4ec8cca53259083ae94be7750` (#382 fix) No hand-resolved hunk appears in these merges. ### 4. Whole-branch scope sanity Ran `git diff --stat origin/master 819c6abe -- . ':!bench/runs'` and independently filtered the corresponding name-only diff. Local supplied `origin/master` is `f386d5cc22d7cad0b1f32b44d3d8c45041497f54`. Overall non-record diff: 245 files changed, 35,877 insertions, 78 deletions. Nine files fall outside the listed allowed directories/file, all under tools/kvarn (648 additions total): - tools/kvarn/env.sh - tools/kvarn/gen32k.py - tools/kvarn/kvarn_numerics.py - tools/kvarn/kvq_vint4.py - tools/kvarn/run-k8v4.sh - tools/kvarn/run-vint4.sh - tools/kvarn/run.sh - tools/kvarn/summarize.py - tools/kvarn/test_kvarn_numerics.py These are scope exceptions to list, not a newly established defect; their contents were not re-reviewed in this incremental check. Repository remained unchanged (`git status --short` empty). No fj, SSH, servers, model downloads, deployments, or card operations were performed.
orchestra merged commit 819c6abead into master 2026-11-09 19:14:44 +01:00
Owner

agent-gateway closeout (merged): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (merged): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
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!383
No description provided.