Production: ONESTEP + SNAP_PACK + CKPT_DEFER/HEAD_DEFER/KV_TIER_STORE_DEFER (cold PP +7..+35%) #344
No reviewers
Labels
No labels
cards:go
hermes-approved
human-approved
human-approved
iter
0
iter
1
iter
2
iter
3
prio:high
prio:low
prio:med
priority/high
state
blocked
state
doing
state
done
state
review
state
todo
x280
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!344
Loading…
Reference in a new issue
No description provided.
Delete branch "opus/cold-prefix-s10"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Production ship of the cold-prefix levers into the production arm
s12-prefix-host-vsplit-sf(name kept for nixos-llm). Owner-approved 2026-11-03 21:15 CET ("Yes deploy it, those are good numbers"). LEDGERR-2026-11-03-cold-prefix-s10(decomposition) andR-2026-11-03-cold-prefix-l1234(ship numbers). Scope: these levers only (no P/D anchor fix / export arm).What
QWEN36_PREFIX_ONESTEP: an align-mode prompt runs in ONE engine step; GDN checkpoint at the last block boundary taken in-step (scheduler sim on served vLLM 0.26.0: hits unchanged, B8 x 128k co-resident).QWEN36_PREFIX_SNAP_PACK: checkpoint reads packed 8 GDN layers per device read (ttsim 46/46 bitwise).QWEN36_PREFIX_CKPT_DEFER(L1): the checkpoint is staged on device (4-entry pool allocated before any trace capture, 151.5 MiB/card) and read back at the next engine step, before consume/prepare/tier stores. In-serving self-test vs the in-step read (bitwise + wrong-input branch); ttsim 48-layer cells bitwise after the live state is overwritten.QWEN36_PREFIX_HEAD_DEFER(L3): ONESTEP head row's MTP warm finish parked behind its slot copy + staging, flushed before the tail's begin_prefix.QWEN36_KV_TIER_STORE_DEFER(L4): host-tier stores queued in-step, run at the next step start.s12-prefix-host-vsplit-sf= served job ofs12phv-1m-onestep-pack-l1234(arm_identity_shafdefc9697b71ccc8equal;ttx renderdiffers only in the container name).s12phv-1m-ctl/-onestep/-packre-parented ons12phv-kv1m-gdnids(identities unchanged).bench/runs/cold-pp-gate-s12-prefix-host-vsplit-sf-20261103T221004Z.jsonlfrom the twin's w5 card gates 20261103T192821Z: agent-sessions pass, retrieval pass, gsm8k 59/60, equiv pass. Gates ran on treea8e35491; served sources (patches/) unchanged since. No rebase was needed (masterd154d004is the branch base).modules/tenstorrent-serving.nixmountsprefix_onestep.py(list_tree rule). Nix specs regenerated;test_prod_matches_nixasserts the five flags.Cold A/B (cfx-llm0 window w5, vs S12PHV-1M = current production job
s12phv-1m-ctl, salted, 1024 out, n=1)TTFT max −7…−26%. TG/user −0.5…−2.7%: the deferred readback (~0.4 s) lands in the first decode step (one-time per request). Records ab20261103T194006Z (T=1.0), ab20261103T191154Z (greedy). Memory: +151.5 MiB device DRAM per card (pool); host side unchanged (container 76g).
Verification
ttx lint s12-prefix-host-vsplit-sfOK;ttx nix-spec --checkOK;scripts/check-gate-parity.py --allOK;check-cited-recordsOK;overview.py --checkOK; nixfmt OKpython3 -m unittest discover -s tools/ttx/tests(ttx-test-python): 739 tests, OK after the module mount fix (test_prod_matches_nix 26/26)prefix-ckpt-defer-sim-20261103T182402Z,prefix-snap-pack-sim-20261103T113545Zall_ok🤖 Generated with Claude Code
26456e08, clean) e6c08a9e32Greedy, n=1, PP tok/s ctl -> onestep+pack: B8 4k 4737 -> 4978, B8 32k 6648 -> 6714, B4 4k 4535 -> 4992, B4 32k 6625 -> 6768, B1 4k 5543 -> 5810, B1 32k 6567 -> 6678. TG/user within -1.8..+1.8%. The B8 FAILED kind (every arm, ctl included, in w1 and w3) is the serving-bench low_entropy_streams heuristic: p2_extract ("list every measurement...") has distinct_token_frac 0.071 (w1, T=1) / 0.012 (w3, greedy). The same value shows up in every arm on the same salt, the corpus sha is unchanged, and the 10-31 salts gave 0.51-0.58. So it is salt-dependent prompt content, harness-side, not a lever regression. Driver: ssh -n inside the step loop. ssh had been eating the steps file, so every step after the first was lost. An unreachable /metrics is no longer read as idle: w3 started on a still-booting production, and the stop SIGKILLed it at the unit's 60 s stop timeout. The next ttx boot was clean. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>verdict: approve (hold label — head CI still running)
tier: T1 (production-ship; additive + flag-gated)
rationale: Production ship of the cold-prefix levers (ONESTEP, SNAP_PACK, CKPT_DEFER, HEAD_DEFER, KV_TIER_STORE_DEFER) into the CONTROL arm
s12-prefix-host-vsplit-sf. Every lever is additive-only, default-off (getenv(...,0)=="1"), with correctness self-tests and MUSTFAIL wrong-input branches. ci.yml change is comment-only (CONTROL name unchanged, no gate weakened). The one new .nix line is a read-only bind-mount ofprefix_onestep.pywith the same list_tree rule as its inert siblings. No secrets, noshell=True, norm -rf, no auth-scope/rollout-policy changes.concerns:
ci.yml:211head CI run 11006 stillrunning(commit77acc6f83f) — the 739-test / 4-gate re-run on the new head is in flight. Per the running-CI rule I am not applyinghuman-approvedyet; re-review/label once 11006 lands green. The device proof is the w5 card gates 20261103T192821Z, already recorded..forgejo/workflows/ci.ymlCONTROL-line comment now names the 5 new levers as standing CONTROL behavior; deliberate promotion (owner-approved 21:15 CET "Yes deploy it"), just noting it is now a standing default for every future screen on this arm.patches/.../model.py:_prefix_cache_snapshot_fastsignature gained adn_states=Nonekwarg and an early_ckpt_poolbranch beforeprefix_snap.enabled()— behavior-preserving (old callers pass nothing); just flagging the added coupling.Verified clean: secret scan (0 hits), red-flag catalogue (0 blocks: the
ssh setsid nohup docker statsis a CI card-gate monitor probe; theexec(compile())is a self-contained test that git-shows a fixed repo path), all levers default-off, gate stampall_ok:true(agent-sessions pass / retrieval acc 1.0 / gsm8k 59/60 / equiv pass), both sim-gatesall_ok:truebitwise with MUSTFAIL refused.Cards skipped
Cards unavailable on
cfx-llm0for PR #34477acc6f83f5ad356deddbaa78686ff92879c371a.systemctl is-active tenstorrent-serving.service=active(needinactive)75305804kB (need >= 4000000)No slot taken, no boot. This skip is green.
agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.