specsample: exact speculative sampling on the device, opt-in arm -s6-ss (T=1.0 at 39-57 tok/s/user) #292
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!292
Loading…
Reference in a new issue
No description provided.
Delete branch "opus/specsample-s6"
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?
Ships exact speculative sampling on the device as an opt-in serving arm,
…-gpgob-dfr-s6-ss. CONTROL does not move: greedy S6 stays the screening arm.What it is
QWEN36_DEVICE_SAMPLE=1): T/top_k/top_p/min_p sampling on the card. Without it, a T>0 row falls to vLLM's host sampler without MTP, at 6.4–17 tok/s/user.QWEN36_MTP_SPEC_SAMPLE=1,_SERVE=1):vllm_xargs {"tt_spec_rule": "exact"|"compare"}. Any other value is a 400."0"(dev_sample.py_MODE,spec_sample.py). CONTROL does not set them.Evidence
Arm
…-s5-cap-ss, rounds 1/2, LEDGERR-2026-10-21-opus-specsample(-ab), recordbench/runs/opus-specsample-ab-verdict-20261021.jsonl.TG tok/s per user at T=1.0, top_p 0.95, top_k 20 (exact rule, 2 reps paired by seed). PP and acceptance are in the README table.
tt_spec_rulegets a 400._verify_ops/_draft_steps. The gate goes red on the old v_-names mutant.Flag-off identity for CONTROL
This PR changes served sources (
mtp_batch.py,model.py,qwen36_vllm.py, the plugin). The CI card gate screens the changed arm (-s6-ss), not CONTROL with the flags off. So a separate card queue runs the identity check:2c73a004): equiv references (c8, with and without logprobs), GSM8K and retrieval.--compareagainst those references, and GSM8K paired (McNemar) against master's run.Verdict (coordinator, 2026-10-21): accepted as identical in distribution. It is not bit-exact at c8.
Why it is accepted:
2c73a004, with every flag unset, finds no op or host-path difference:_greedy_argmax_device/ draft-vocab ops.dev_sample.enabled()/spec_sample.serve().t0_next = emitted[-1]equalsids[m*bw+b]on the compare path, and_read_chaindoes the same device-0 read as_read_ids.TTSamplingParams.Records:
bench/runs/ttx-…-s6-equiv-20261021T162428Z.jsonl,…T162443Z.jsonl,…-s6-gsm8k-20261021T162458Z.jsonl,…-s6-retrieval-20261021T162623Z.jsonl(PR tree);…-s6-equiv-20261021T163305Z.jsonland…T163319Z.jsonl(master baseline).The
-s6-ssT=1.0 sweep (2 reps) is running, and will replace the S5+cap numbers in the README. Master5bac97af(gdn/tp.pyverify_double) is merged into this branch.What the owner would change to serve it (deploying is the owner's call)
Production must run this tree's sources, i.e.
mountProductionSourcesat this rev, with the S6 overlay. Then in nixos-llm:Depends on
PR #286 (
serve/sampling-defaults: the module options and the sampling tooling) is merged into this branch. Merge #286 first; this diff then shrinks to the sampler, the arm and the docs.Not in this PR
-s5-cap-ssarm the numbers were measured on. It stays onlaunch/opus-specsample; the records carry its full effective env.🤖 Generated with Claude Code
A request that omits sampling fields is not served greedy, as had been assumed. vLLM's default --generation-config auto applies the checkpoint's {T 1.0, top_k 20, top_p 0.95}, and the server log warns about it. Such requests therefore already run host-sampled with MTP off. That path costs 6.4 vs 66.6 tok/s/user at B=8 (agentic pi bench, r2 vs r3). The recommended T=0.6/top_p 0.95/top_k 20 defaults are wired as an option. A non-greedy default is asserted to pair with QWEN36_DEVICE_SAMPLE, or with an explicit samplingDefaultsOnHost. With null (the default), the unit script renders byte-identical to production's (checked by eval), and the VM test asserts that no override is rendered. Deploying it is the owner's call. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>77697b78) and the LEDGER's citation cbb3e28d62b82a7a9d) 5beb3b86dd77b51794, and the probe's own failed run kept) b0c461f47e16f547a5) 4ff8fcc566The rule switch was a coin flip: the seed's reserved bit 30 was read AFTER s-sample4's seed fold, which hashes the seed, so the bit was pseudo-random per request and a client could not choose the rule. Now: * the rule is an EXPLICIT per-request field (the sampling params' extra_args 'tt_spec_rule'), else the seed's reserved bit 30, else the arm's default (QWEN36_MTP_SPEC_SAMPLE_RULE); * the plugin resolves it BEFORE the fold and writes it back into the reserved bit (the fold now keeps bit 30), so the rule the client chose survives; * the bit is stripped from the noise key (dev_sample.SEED_MASK30), so the same client seed gives the same noise under both rules and a one-boot A/B is paired; * bench/serving-bench.py --spec-rule sets it per request. Also, two defects found on the way: * the served path CRASHED: the target's candidate block was built without the noise the block builder reads (blk['noise']), so candidates() raised KeyError('noise') on the first step. The block now reuses the verify's noise (the device sampler's v_gum) and the boot refuses a mismatched candidate width; * the drafter's greedy pick came from the wide top-K's first column, whose tie order is unspecified, so it was NOT the argmax the rest of the stack uses (the lowest global id among the tied maxima). The logits are bf16, so the tie is common enough to change the draft and, at T=0, the served token: the block now computes the tie-broken argmax, and a greedy row (T == 0) takes it under both rules. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>Two defects the gate's own cells exposed: * the tie-broken argmax gave the INELIGIBLE columns the LARGEST score (1e9), so the argmax picked a non-tied column; the ineligible score must be the smallest (-1e9), so a tied column always wins and the lowest id among the tied maxima wins the tie; * chi_square's p-value came out as 1.0 for a huge chi2 (the series underflowed), which turned the MUSTFAIL into a PASS. The upper tail now uses the standard series + continued fraction (chi2 = 3.84 at dof = 1 gives p = 0.05, the textbook value). The gate's chi-square now uses ONE shared candidate block for all the rows (the rows differ only in their noise), so the histogram over the block's ids collects every row's emission. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>bench/runs/m-specsample3-served-sim-20261021T034426Z.jsonl: the SERVED path at the served shapes (2 chips, the per-chip vocab 124160, M = 32, T = 1.0 / top_k = 20 / top_p = 0.95): * the served candidate block: the ids as a set per row (the bf16 candidates are tied, so the order inside the block is not a contract), the values exactly, the tie-broken argmax against the host's reference; * the tie rule: a PLANTED tie picks the LOWEST global id (the argmax rule), not the sort's pick; * the distribution exactness on the DEVICE's own emitted tokens: chi2 = 52.3, dof = 29, p = 0.0051 against the device's own p (the SFPU's exp is an approximation: the device-vs-host gap is reported as 0.035); * the MUSTFAIL: a deliberately wrong residual is REJECTED (chi2 = 4442, p = 0); * the T=0 identity: the host's greedy emission is the target's argmax on every row (and the device's residual is NOT the argmax on 30 of 32 rows, which is why the greedy row keeps the compare rule's bookkeeping); * the rule switch (the explicit field, the seed's reserved bit, the arm's default; the plugin's copy agrees with the metal's; the noise key excludes the rule bit; an unknown value is refused); * the host's emission bookkeeping under both rules, and the flag-off regression. ttsim is correctness only: no number in the record is a speed number. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>7ce1a4e9' into rv/m-specsample3 746545746bBefore: m-specsample3 carried the rule switch in seed bit 30. Its chi-square never accepted a draft (q was built from a different block than p), and its served gate never went through _verify_ops. Its 0.035 device-vs-host p gap was blamed on the rule. The gap was in the cut. ttnn.softmax at its default config is off by 0.0037 to 0.024, and ROW_MAJOR sums are off by about 4e-4 relative. A stable TILE softmax matches the host's fp64 p to 1e-8 at the served shape. The step harness found a second, real difference: bf16 logits tie at the k-th value. vLLM keeps every tie, and the old cut kept exactly k. cut() now keeps ties at the k-th value, as vLLM's apply_top_k_top_p does. The ttsim segfault was a use-after-free in candidates(), and it is fixed. The real topk_large_indices runs in ttsim at per=124160. The rule is now an explicit request field, vllm_xargs {"tt_spec_rule": "exact"|"compare"}. platform.validate_request checks it at admission, so any other value is a 400. It travels per row on a TTSpecSamplingParams subclass, which survives async_decode's rebuild. With the flag off nothing is captured or attached. s-sample4's 31-bit seed fold and vLLM's cut order are kept. Gates: bench/probes/sim_spec_sample_exact.py (distribution, served shape, must-fail) and bench/probes/sim_spec_sample_step.py (_verify_ops wiring, v_-name and drafter-param mutants, plain vs overlap paths, T=0 identity). Arm …-s5-cap-ss; one-boot A/B queue bench/queues/opus-specsample-ab.txt (not launched). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>The exact speculative-sampling rule is selected per request via vllm_xargs {"tt_spec_rule": ...}. To run the distribution check under each rule on one boot, every sample request must carry that field. The value is recorded in the samples config. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>2c73a004) into opus/specsample-s6 cbe13adf7aeee9a816) into opus/specsample-s6verdict: approve
tier: T2
rationale: Device-side exact speculative sampling (
QWEN36_DEVICE_SAMPLE+QWEN36_MTP_SPEC_SAMPLE[_SERVE]) as a fully opt-in serving arm-s6-ss; CONTROL does not move. Every new flag defaults to "0"/off and the off path is byte-identical (greedy rows take_greedy_argmax_deviceunchanged; the plugin's device-sampling gate and the nixsamplingDefaults/--override-generation-configare null/default-off, leaving the unit script byte-identical). The correctness gates are present and cited: boot self-tests (bitwise vs host fp32, with a flipped-accept/MUSTFAIL branch), the served-path ttsim gates (red on the v_-name mutant), the 24x400 sampling-dist check (0 tokens outside support, both rules), a bogustt_spec_rule-> 400 at admission, GSM8K 58/60 + retrieval 1.00 at T=1.0, and the A/B table in the body.concerns:
bench/arms/...-s6-ss.tomlis a derived arm (inheritsthe S6 control) whose only semantic delta is the new[env]levers — the union intent (S6 flags ON + the two new levers ON) is deliberate, not a leak. The device proof is the card A/B, which is NOT in this head's CI: run 9763 (head84d643f2) failed only on the nixfmt--checkstep (formatting, since fixed atb6f7a695), so the "Serialized card gate" was blocked and no A/B number exists yet. Thehuman-approvedlabel is held until the card gate fires and the arm produces a winner vs CONTROL.patches/prod-local-metal/.../mtp_batch.pyaccept()now computest0_nextfromemitted[b][-1]instead ofids[m_list[b]*bw+b]. On the off/compare pathemitted[b][-1] == ids[m*bw+b], so it's byte-identical; under the exact rule the last emitted token is the residual/target sample, which is what the chain must continue from. Correct, but it is a shared code path touched by this PR — the card A/B at T=1.0 is the confirmation.samplingDefaults/samplingDefaultsOnHostoptions come from the merged PR #286 which this branch supersedes-then-carries: merging #292 lands those options too. #286 is already merged, so there is no double-land risk — but keep #292's diff review scoped to the sampler + arm + docs, not the options (those are #286's).QWEN36_DEVICE_SAMPLEmounted via nixmountProductionSourcesbecomes standing behavior of everytenstorrentServingunit that sets the env; the readiness probe correctly REFUSES a boot with the flag on but noself-test exactbanner, so a mis-armed server can't serve on the host silently. Intended — say so at deploy time.-s5-cap-ssarm the numbers were measured on is explicitly not in this PR (stays onlaunch/opus-specsample); the cited records carry its full effective env, so the T=1.0 table is verifiable againstbench/runs/opus-specsample-ab-verdict-20261021.jsonl.Model note: session running
agent-dense(the requested LiteLLM alias) — the dispatch pre-applied it; no mid-session swap was needed.Card gate —
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssvsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6#292refrefs/pull/292/headb6f7a695ad27b47d7d175d0779b13f36d6bb361cmerged ontomaster(measured tree, fingerprint in the verdict comment)cfx-llm2, slot mesh (card0+card1)/nix/store/x7hp6nmaqwn9pjqvwpijhbdjf0w9fx14-vm-test-run-tenstorrent-servingttx abexit 0 (3 = aborted: the job fails even if a control record exists); gates exit 1gsm8k / retrieval / equiv do not gate merge. A FAIL below is a report.
Gates
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssequiv: kindREFUSEDverdictNone(bench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-equiv-20261021T143804Z.jsonl)prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssgsm8k: kindREFUSEDverdictNone(bench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-gsm8k-20261021T143804Z.jsonl)prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssretrieval: kindREFUSEDverdictNone(bench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-retrieval-20261021T143804Z.jsonl)PP tok/s and TG tok/s per user (TG ms/token secondary)
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssRecords
bench/runs/ttx-ab-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-switch-20261021T131942Z.jsonlbench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-equiv-20261021T143804Z.jsonlbench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-gsm8k-20261021T143804Z.jsonlbench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-retrieval-20261021T143804Z.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ab20261021T131942Z-r0.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-ab20261021T131942Z-r0.jsonlFull jsonl from this run: https://git.bitp.cz/bitpartner/tt-stack/actions/runs/9766 (artifact
bench-runswhen the upload step ran).Cards verdict: success
89d13c8f06a1d0594642d58a769012b58b3667b063403308df8f8fad4f495a59(CONTROLprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6, armsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss, 553 card files82d3d9af6633fda9)b6f7a695ad27b47d7d175d0779b13f36d6bb361cmerged onto baseeee9a816be0ed56a8fe4783d6031d1e14a8919d7A later event with the same fingerprint reuses this verdict instead of booting the cards.
CI card run #9766 is green. Two notes before merge:
-s6-ssruns TG/user −17.4% to −21.3% against S6 in all 6 cells, with PP within ±1.4%. The arm always carries the candidate machinery, so it is for sampled traffic, and S6 stays the greedy arm. The README now says this (9b100f58). The owner should weigh it before pointing all production traffic at-s6-ss.-s6-sswere REFUSED. Another queue's…-s5-capboot held the mesh slot when the gates tried to boot. That is slot contention, not a code failure, and these gates do not gate merge. At T=1.0 the arm's quality evidence is the round-2 run on S5+cap: GSM8K 58/60, retrieval 1.00, and the distribution check passing.The flag-off identity check of CONTROL is still queued on the cards: S6 equiv references on master's tree, then CONTROL on this tree compared against them, plus GSM8K paired against master's run. I'll post it here when it runs.
🤖 Generated with Claude Code
Card gate —
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssvsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6#292refrefs/pull/292/head9b100f589276106326df501d139d823f66de0558merged ontomaster(measured tree, fingerprint in the verdict comment)cfx-llm2, slot mesh (card0+card1)/nix/store/x7hp6nmaqwn9pjqvwpijhbdjf0w9fx14-vm-test-run-tenstorrent-servingttx abexit 0 (3 = aborted: the job fails even if a control record exists); gates exit 0gsm8k / retrieval / equiv do not gate merge. A FAIL below is a report.
Gates
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssequiv: kindMEASUREDverdictpass(bench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-equiv-20261021T155407Z.jsonl)prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssgsm8k: kindMEASUREDverdictpass(bench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-gsm8k-20261021T155407Z.jsonl)prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssretrieval: kindMEASUREDverdictpass(bench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-retrieval-20261021T155407Z.jsonl)PP tok/s and TG tok/s per user (TG ms/token secondary)
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ssRecords
bench/runs/ttx-ab-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-switch-20261021T153744Z.jsonlbench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-equiv-20261021T155407Z.jsonlbench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-gsm8k-20261021T155407Z.jsonlbench/runs/ttx-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-retrieval-20261021T155407Z.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ab20261021T153744Z-r0.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss-ab20261021T153744Z-r0.jsonlFull jsonl from this run: https://git.bitp.cz/bitpartner/tt-stack/actions/runs/9774 (artifact
bench-runswhen the upload step ran).Cards verdict: success
b7c1ad15956db59e40519cc5152d80385aa19b849020aff88aa8d78fe09c58f3(CONTROLprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6, armsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s6-ss, 553 card files194d1ab44557452a)9b100f589276106326df501d139d823f66de0558merged onto base5bac97af09c8888f2abcf5d63efe5a0852c93875A later event with the same fingerprint reuses this verdict instead of booting the cards.
Flag-off identity for CONTROL S6 (
$A-s6, flags unset): PR tree vs master2c73a004, c8 greedy, same cards, 2026-10-21--logprobs 0band→memory) and p4_critique @72 (specific→critical), both gap 0.0Records:
opus-specsample-s6/bench/runs/ttx-…-s6-equiv-20261021T162428Z.jsonl,…T162443Z.jsonl,…-s6-gsm8k-20261021T162458Z.jsonl,…-s6-retrieval-20261021T162623Z.jsonl; baselinemaster-s6-ref/bench/runs/ttx-…-s6-equiv-20261021T163305Z.jsonl,…T163319Z.jsonl.What this shows:
Off-card audit of the diff against
2c73a004, every changed file with all flags unset:_verify_samplereturns_greedy_argmax_device(logits)whendev_sample.enabled()is off._MTPHead.draft_idsruns the same draft-vocab/argmax ops as before. The extra trace inputs are only added underdev_sample.enabled()/spec_sample.serve().t0_next = emitted[b][-1], and on the compare path that equalsids[m*bw+b]. The draft reads go through_read_chain, which does the sameto_torch(device 0)[:bw]read as_read_ids._ss_with_rules,_ds_assign_seedsand_ds_fold_user_seedreturn early when the model attrs are False.type(sampling_params)is stillTTSamplingParams._tt_device_sampling_greedy_onlyis still True.gdn/tp.pyand the rest are unchanged vs the ref tree.Note: master has since moved to
5bac97af(gdn/tp.pyverify_double), so this branch needs a master merge before landing.5bac97afinto opus/specsample-s6 (#292)e0d54216(#294 sim-run overlay fix) into opus/specsample-s6 (#292)agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.