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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!77
Loading…
Reference in a new issue
No description provided.
Delete branch "agy/issue-49"
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?
Documents why Phase 2a (
deviceResident,enablePrefixCaching) defaults OFF, and adds aNixOS VM check that pins the serving unit's durable defaults so they cannot be lost silently
again.
Module (
modules/tenstorrent-serving.nix) — option descriptions only, no behaviourchange.
deviceResident: the 09-22 record was invalidated by degenerate text, so there iscurrently no valid measurement of resident decode's effect; its async lever is disabled
under prefix caching anyway (
--no-async-scheduling); anddeviceArgmax+ prefix cachingfailed 1 of 32 concurrent requests.
enablePrefixCaching: the −87.5% makespan / −95% TTFTfigure is a warm 98.3%-cached burst; cold prefill on that arm is slower (−35% at 8.4k, n=1).
Both carry the gates needed before either becomes durable.
New check
tests/tenstorrent-serving.nix, wired intonix flake check. It asserts--tool-call-parser qwen3_xml(never hermes),QWEN36_SDPA_STREAMING,QWEN36_MERGE_BATCH_GUARD,QWEN36_PREFILLED_SLOTS_FIX,QWEN36_DECODE_LOGITS_RM, theproduction source mounts, and that resident decode and prefix caching are off by default.
The check as pushed could never pass and is fixed in this merge: it parsed
systemctl show -p ExecStart --valuewithsplit()[0], but systemd prints{ path=… ; argv[]=… }, so itcat'd"{"; and its assertions matched unquoted text whilethe generated script quotes every value. It now regexes
path=out of the record andcompares against a quote-stripped copy. Verified green locally:
nix build .#checks.x86_64-linux.tenstorrent-servingandnix flake check.Also fixed two stale citations the branch introduced: a record that is not on master (it
lands with
decode-campaign-53-55, now marked so) and the retiredDIRECTIVES-LEDGERbyits
0aaa…label, nowdocs/LEDGER.md.Master merged in first (branch was cut before PR #68). Verified after the merge:
docs/still 11 files, no root
CLAUDE.md,AGENTS.mdis the lean rewrite,QWEN36_PREFILLED_SLOTS_FIXstill inqwen36_vllm.py, and the only file added versusmaster is the new check. No PR #68 deletion was resurrected.
Refs #49, #52.
🤖 Generated with Claude Code
The check as written could never pass: it parsed `systemctl show -p ExecStart --value` with split()[0], but systemd prints `{ path=... ; argv[]=... }`, so it cat'd "{"; and its assertions matched unquoted text while the generated script quotes every value. A check that cannot pass is worse than none, so it now regexes path= out of the record and compares against a quote-stripped copy. It also pins QWEN36_PREFILLED_SLOTS_FIX and QWEN36_DECODE_LOGITS_RM, the two envs whose silent loss caused real regressions. The module's new option docs cited a record that is not on master (it lands with decode-campaign-53-55, now marked as such) and the retired DIRECTIVES-LEDGER by its 0aaa... label; that points at docs/LEDGER.md now. 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.
verdict: approve
tier: T1
rationale: The PR is a doc-only documentation of Phase 2a gating plus a new additive checks.tenstorrent-serving runNixOSTest. No behaviour change, no leaks, no red flags. Both Phase-2a options still default OFF; the assertions match the real generated ExecStart (default parser qwen3_xml, no hermes, --no-enable-prefix-caching present, production mounts present), and the check evals green (nix eval .#checks.x86_64-linux.tenstorrent-serving -> valid set).
concerns:
tests/tenstorrent-serving.nix— the new assertions only verify the string template of the generated unit, not the runtime banner-matching the readinessScript does. assertCardsPresent=false + /dev/null device means no cards, so banner logic (QWEN36_DECODE_LOGITS_RM engaged, etc.) is never exercised. Cheap structural guarantee, not a runtime one — worth noting.tests/tenstorrent-serving.nix— hugepagesPerCard = 1 comment cites "+5.9 GB" but gives no citation; same PR documenting gating could source it. Minor.flake.nix— the check passes hostModule = self.nixosModules.tenstorrent-host; the test node imports both servingModule and hostModule, so both are used (not a dead arg). Confirming, not blocking.