bench: ThinkingCap vs Qwen3.8-27B-FP8 baseline on TT, no MTP #83
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!83
Loading…
Reference in a new issue
No description provided.
Delete branch "thinkingcap-baseline"
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?
ThinkingCap-Qwen3.8-27B-FP8 vs base Qwen3.8-27B-FP8 on the cards, without MTP: one source
tree, one image, differing only by checkpoint. TP=2,
prod-argmax, no prefix caching, fourrungs (4k/8k/16k/32k) × B={4,8}.
Result (LEDGER
R-2026-09-24-tc-baseline): both checkpoints pass infbench stages 0–3 atevery rung, 8/8 suites, once patch 0019 is present.
47.9–62.5 ms/token (ITL p50), prefill 2,250–3,250 tok/s, TTFT 7.3 s (4k, B=4) to
79.5 s (32k, B=8 last stream).
224 → 145 (−35%), mean 387 → 185 (−52%), mean time-to-answer at B=8 32.0 → 20.8 s
(−35%), 60-item wall 344 → 201 s (−42%). Accuracy 58/60 → 57/60, within noise at n=60.
Lands the
bench/infbench/tc-baseline/suite, the records, abench/gsm8k.pychange and.claude/skills/tt-model-baseline/SKILL.md. This is the denominator for MTP (#63) and for themodel switch.
Resurrections caught and re-deleted
The branch was cut before PR #68, so the merge tried to bring back 21 files that overhaul
deliberately removed. All re-deleted in the merge commit:
CLAUDE.md,docs/DIRECTIVES-LEDGER.md,docs/DOC-STATUS.md,docs/GOAL-VLLM-SERVING.md,docs/LOOP-ITERATIVE-IMPROVEMENT.md,docs/PRODUCTION-27B.md,docs/AGY-TAKEOVER-BRIEF.md,docs/HANDOVER-20260919.md,docs/PASS-SDPA-STREAMING-E2E.md,docs/THATCH-FIR-DRIFT.md,docs/UPSTREAM-WATCH-PLUGIN-METAL.md,nix/production-serving-recipe.nix;bench/runs/records that already live underbench/runs/archive/2026-09/and wouldotherwise have existed twice.
docs/is back to 11 files,AGENTS.mdis still the lean rewrite.Production files: master's side taken, and why it matters
Four conflicted; master is a strict superset of this branch for each, verified by diff:
qwen36_vllm.py— master has patch 0019 (QWEN36_PREFILLED_SLOTS_FIX) and the branchdoes not. Taking the branch's side would have re-introduced exactly the 2026-09-22
regression PR #68 fixed.
model.py— master adds the issue #47 unaligned-resume asserts.modules/tenstorrent-serving.nix— master adds the 0019 banner check and the Phase 2agating docs.
scripts/vllm-tt-serve.sh— now a thin ttx shim, so the branch's body cannot be merged.scripts/mesh-degree-preflight.sh, which that shim calls, does land here.One thing does not survive, deliberately: the branch's
TT_DEVICE_BY_IDresolver in thelegacy serve script (resolve
/dev/tenstorrent/by-id/blackhole-*at start, after anytt-smi -r). It has no home in the shim; if it is wanted, it belongs inttx. The knowledgeitself is in the
tt-card-slotskill. Flagging it rather than dropping it silently.Locally green:
check-cited-records.py,shellcheck,nix flake check, and the 41 ttx unittests.
🤖 Generated with Claude Code
It read the document and pushed back before accepting it. All four were right: - Section 5 still listed MALLOC_ARENA_MAX and swappiness as levers to batch, contradicting section 2, which had just dropped them on evidence. Section 5 was written before the result landed and I never reconciled it. - Section 2 carried stale in-flight bullets ('Arm 1 running >2h', 'Arm 2 chained to auto-start') sitting directly under the conclusion that both arms finished. - 'PR #34 is merged - verify it deploys' gave no way to verify it. Merging is not deploying: the unit comes from the Nix closure via nixos-llm. Added the command and how to read either outcome. - 'Ship device argmax + prefix caching' was ambiguous. The arm is NAMED prefix but vLLM prefix caching is off and blocked; the cached fraction is the benchmark reusing a prompt head. Renamed and warned. Also recorded the batching lesson where it will be read: two levers were dropped without being convicted because one arm could not attribute its own failure. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>The hugepages=8 control -- the ORIGINAL aperture, no arena cap, stock swappiness -- failed stage 3 at 1 of 32 with the byte-identical assertion ("expected one of ['391']; got: '33'") that the RAM bundle failed on. That settles it. The failure appears at both hugepage counts, with and without the arena cap, with and without the swap change, and under both trace modes. It is the intermittent defect patch 0019 bounded at <=0.85%/request rather than eliminated, and it is not attributable to any host-RAM lever. Retracts the suspicion that MALLOC_ARENA_MAX or swappiness hurt correctness. The earlier record already declined to convict them on one rep; this is the direct evidence that they were innocent. They stay dropped for buying nothing -- arena capping measurably made RSS and VmHWM worse. Two consequences worth carrying. This is a live production defect: about one in 32 concurrent requests returns a coherent-but-wrong answer that passes serially. And methodologically, a single stage-3 rep cannot separate an arm's own defect from this baseline rate, so any arm reporting exactly 1-of-32 needs repeats before that failure is pinned on it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.