Path I validated on hardware; c107 LOO verdict #128

Merged
Grok merged 11 commits from serving-throughput into master 2026-09-29 16:05:34 +02:00
Owner

Brings serving-throughput up to date on master. Everything here is harness work plus verdicts; nothing changes the production default.

  • Nix Path I (ttnn-incr + ttx store overlays): validated on card 1. The overlay reproduces the committed pk3r image within 0.1%, bitwise equal (bench/runs/ttnn-incr-pathI-overlay-hw-20260929T1415Z.jsonl). ship now checks the box first.
  • c107 so-LOO verdict and STATUS: no single knob is named. An RM×WO 2x2 is running.
  • ttx: per-container json-file logging, --ignore-eos sweeps and Welch verdicts, landed earlier on this branch.
  • Tests: 243 passed. check-cited-records: OK.

🤖 Generated with Claude Code

Brings serving-throughput up to date on master. Everything here is harness work plus verdicts; nothing changes the production default. - **Nix Path I (ttnn-incr + ttx store overlays):** validated on card 1. The overlay reproduces the committed pk3r image within 0.1%, bitwise equal (`bench/runs/ttnn-incr-pathI-overlay-hw-20260929T1415Z.jsonl`). `ship` now checks the box first. - **c107 so-LOO verdict and STATUS:** no single knob is named. An RM×WO 2x2 is running. - **ttx:** per-container json-file logging, `--ignore-eos` sweeps and Welch verdicts, landed earlier on this branch. - **Tests:** 243 passed. check-cited-records: OK. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Grok added 11 commits 2026-09-29 16:05:28 +02:00
Before: a tt-metal C++ patch (e.g. 0033) became a new ~8 GB image by docker commit of a
persistent build container, and the research doc (RESEARCH-KERNEL-WORKBENCH 5.4) held that a
Nix-built ttnn cannot stand in for the image's cp310 wheel. Both hold, so the compiler stays the
image's: `nix run .#ttnn-incr` drives ninja in the image's own toolchain image over a host copy
of its build tree (docker cp keeps mtimes: the first build is a 0.44 s no-op), with a persistent
ccache, syncs the tree to an exact patch set, and puts each changed output into the Nix store as
its own content-addressed path. On pk3q + 0033 the rebuilt _ttnncpp.so is byte-identical to the
pk3r image's, 16.6 s of ninja from a cold cache, 0.9 s from a warm one, against 752 s for a cold
build dir.

CMAKE_LINK_DEPENDS_NO_SHARED is on by default: the _ttnn.so relink was 27 of 29 s, its objects
had not changed, and its mold link is not reproducible (three relinks, three sha256s), so it
would also have shipped 20 MB each time. package drops files identical to the image's and runs
an LD_BIND_NOW import smoke to catch a symbol the kept library needs.

ttx: [overlay] store_manifests / store (and --store-manifest) bind-mount the store paths over
the image read-only. ttx nix-copies whatever the box lacks, checks sha256 there, wraps the
container command in `sha256sum -c` (exit 97) and requires the TTX_STORE_OVERLAY banner. The
tensor-cache key moves only for weights = true, so a C++ iteration reuses the warm cache. A
manifest built for another image refuses. Arm wb-prod-g2-c86-colpar2-rz3-pk3q-so0033 = pk3q +
0033 as an overlay (= pk3r without an image build); never run on a card.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The package smoke ran python ... && grep under set -e, so a python that crashed at exit still passed; that
hid the dev-config overlay aborting with free(): invalid pointer. The string check is now separate and the
exit code is checked. libtt_metal.so was packaged every time although the image's copy is the wheel
install's (different rpath) and never byte-matches the tree's: it is now packaged only when a patch edits
non-JIT tt_metal/ sources. Repackaging pk3q+0033 gave the same three store paths (strict smoke rc 0).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Before: a C++ delta was believed to need a new ~8 GB image (docker commit, docker save, 2.28 GB zstd,
225 s just to compress). Measured on the pk3q tree: 0033 rebuilds in 16.6 s ninja cold cache (0.9 s
ccache hit) against 751.6 s cold, and ships 58.6 MB via nix copy (0 B on re-ship). _ttnncpp.so and
both kernels are byte-identical to the pk3r image. The dev config (unity OFF + shared sublibs) compiles
in 4.4 s but its overlay aborts at exit in the image, so release stays the shipping config. No card
ran the overlay; the hw1card queue lines are in the skill. No speed number in this record.

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>
Queue step 58 (c104b-resume) failed: nix copy --from the build host could not find three
paths it had GC'd, though cfx-llm2 already held all three (sha256-verified). The overlay
hw1card that followed was valid. Now only paths the box lacks are fetched or copied.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Path I overlay validated on card 1 (reproduces the pk3r image within 0.1%, bitwise equal); ship asks the box first
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 12s
tt-stack-ci / Build simulators and check the host module (pull_request) Failing after 1m16s
tt-stack-ci / Build simulators and check the host module (push) Failing after 1m2s
tt-stack-ci / Report upstream drift (push) Successful in 6s
64d0f60564
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Grok merged commit 64d0f60564 into master 2026-09-29 16:05:34 +02:00
Author
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
1 participant
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!128
No description provided.