[public] tt-model-manager bundle (tt-model.yaml, hardware p150x2) #357

Open
opened 2026-11-05 17:50:17 +01:00 by orchestra · 8 comments
Member

Package for tt-model-manager (tt-model.yaml, schema 5.1, see tenstorrent/tt-model-manager docs/container_packages.md).

  • kind: vllm-plugin, arch: blackhole, hardware: p150x2, mesh_device 1x2
  • weights: the HF repo from the base-Qwen G2 issue, pinned by revision
  • image: the CI image by digest
  • serve_profiles:
    • b1-latency: max_num_seqs 1
    • b8-262k: max_num_seqs 8, max_model_len 262144, block 64, qwen3 reasoning and tool parsers
    • default: b8-262k
  • verify: a smoke that checks banners and one greedy prompt
  • Check compatibility with upstream vllm-tt-plugin (vLLM 0.31) against our plugin ref bef89e42, and note any fork.

Done when: tt-model package and tt-model push --private work, and tt-model serve on cfx-llm2 (through ttx slot) runs a smoke. Public --publish waits for the owner.

Package for tt-model-manager (`tt-model.yaml`, schema 5.1, see tenstorrent/tt-model-manager `docs/container_packages.md`). - `kind: vllm-plugin`, `arch: blackhole`, `hardware: p150x2`, `mesh_device` 1x2 - `weights`: the HF repo from the base-Qwen G2 issue, pinned by revision - `image`: the CI image by digest - `serve_profiles`: - `b1-latency`: `max_num_seqs` 1 - `b8-262k`: `max_num_seqs` 8, `max_model_len` 262144, block 64, qwen3 reasoning and tool parsers - default: `b8-262k` - `verify`: a smoke that checks banners and one greedy prompt - Check compatibility with upstream vllm-tt-plugin (vLLM 0.31) against our plugin ref `bef89e42`, and note any fork. **Done when:** `tt-model package` and `tt-model push --private` work, and `tt-model serve` on cfx-llm2 (through `ttx slot`) runs a smoke. Public `--publish` waits for the owner.
Author
Member

Weights: #354, image: #356, flatten acceptance: #355.

Weights: #354, image: #356, flatten acceptance: #355.
Author
Member

2026-11-12 CLI preflight: /home/orchestra/.local/bin/tt-model is installed, version0.1.0. Read package/push/serve help: schema5.1 container staging is package --container ; private upload is push --private . --publish implies public visibility and must not be used during staging. Approved project .env authentication works without token output. No bundle was packaged/pushed/pulled/served yet; weights/image pins and namespace write access still need verification. Acceptance remains a clean install with empty caches, actual tt-model pull/info/serve on test8001, banner checks and real greedy output, for p150x2 plus the documented P/D composition. Active TT claim respected; no hardware or production changes.

2026-11-12 CLI preflight: /home/orchestra/.local/bin/tt-model is installed, version0.1.0. Read package/push/serve help: schema5.1 container staging is package --container <yaml>; private upload is push --private <staged-dir>. --publish implies public visibility and must not be used during staging. Approved project .env authentication works without token output. No bundle was packaged/pushed/pulled/served yet; weights/image pins and namespace write access still need verification. Acceptance remains a clean install with empty caches, actual tt-model pull/info/serve on test8001, banner checks and real greedy output, for p150x2 plus the documented P/D composition. Active TT claim respected; no hardware or production changes.
Author
Member

Integrated an isolated, pinned tt-model authoring extension for immutable prebuilt CI images, preserving the official5.1 wire format/profiles and actual p150x2/P300/FABRIC_1D configuration. It verifies image/source/code provenance and uses graceful300s shutdown plus wait before cleanup. Global CLI unchanged.

Fresh installation:443 focused tests and9 authoring integration tests pass; full suite1296 pass with the same5 failures reproduced on pristine upstream. Reproducer, patch, pin and actual commands: tools/public-release/TT-MODEL.md. No bundle has been packaged/pushed/pulled/served yet: final image, G2 artifact, namespace403 resolution and hardware/quality gates remain pending. No public/catalog action.

Integrated an isolated, pinned tt-model authoring extension for immutable prebuilt CI images, preserving the official5.1 wire format/profiles and actual p150x2/P300/FABRIC_1D configuration. It verifies image/source/code provenance and uses graceful300s shutdown plus wait before cleanup. Global CLI unchanged. Fresh installation:443 focused tests and9 authoring integration tests pass; full suite1296 pass with the same5 failures reproduced on pristine upstream. Reproducer, patch, pin and actual commands: tools/public-release/TT-MODEL.md. No bundle has been packaged/pushed/pulled/served yet: final image, G2 artifact, namespace403 resolution and hardware/quality gates remain pending. No public/catalog action.
Author
Member

Inputs status: the G2 weights exist (#354, CPU-verified) and the image exists (#356, image ID sha256:1f8bdd9a…). tt-model package --container needs --weights-repo/--weights-revision from an HF repo, and push --private needs a writable HF namespace. Both are blocked: the approved token belongs to user donach, can write only to donach/*, and has no org membership. The HF org bitpartner does not exist (API 404). The exact ask is in #352. No bundle packaged or pushed yet.

Inputs status: the G2 weights exist (#354, CPU-verified) and the image exists (#356, image ID `sha256:1f8bdd9a…`). `tt-model package --container` needs `--weights-repo/--weights-revision` from an HF repo, and `push --private` needs a writable HF namespace. Both are blocked: the approved token belongs to user `donach`, can write only to `donach/*`, and has no org membership. The HF org `bitpartner` does not exist (API 404). The exact ask is in #352. No bundle packaged or pushed yet.
Author
Member

Bundle packaged and pushed PRIVATE (owner option b, donach/ namespace).

  • donach/qwen3.8-27b-p150x2 @ 873d1ebf6256ab002a20d58c5e46613ff1102ddb: private, 286 files, 7.69 GB. All 285 staged files match the remote (LFS sha256 or size).
  • Format: schema 5.1, kind: vllm-plugin, hardware: p150x2, mesh P300 (1×2), FABRIC_1D. Profiles are b1-latency and the default b8-262k (block 2048, 262144 ctx, qwen3 reasoning and qwen3_xml tool parsers).
  • Weights pinned at donach/qwen3.8-27b-g2-bfp4-packed@f38df8f4.
  • Image: v6, sha256:f3b3d49b5970e34665a1040df000f07c87703cf715a4d718045567c0dc1499f8, shipped as OCI blobs in the bundle repo (image.registry: hf).
  • Built with tt-model package --container and push --private, using tt-model 0.1.0 plus the pinned prebuilt-image extension (TT-MODEL.md, which now has the corrected pull repo@rev --with-weights syntax).
  • The model card has no performance section by design, which blocks any catalog listing.

Pending: the clean-install tt-model pull/serve smoke on the cards in tonight's coordinator-scheduled window; the pull is prestaged before it. Record bench/runs/public-private-staging-20261113.jsonl, branch codex/public-release @ 1f1286fa. Nothing public.

**Bundle packaged and pushed PRIVATE** (owner option b, `donach/` namespace). - `donach/qwen3.8-27b-p150x2` @ `873d1ebf6256ab002a20d58c5e46613ff1102ddb`: private, 286 files, 7.69 GB. All 285 staged files match the remote (LFS sha256 or size). - Format: schema 5.1, `kind: vllm-plugin`, `hardware: p150x2`, mesh P300 (1×2), FABRIC_1D. Profiles are `b1-latency` and the default `b8-262k` (block 2048, 262144 ctx, qwen3 reasoning and qwen3_xml tool parsers). - Weights pinned at `donach/qwen3.8-27b-g2-bfp4-packed@f38df8f4`. - Image: v6, `sha256:f3b3d49b5970e34665a1040df000f07c87703cf715a4d718045567c0dc1499f8`, shipped as OCI blobs in the bundle repo (`image.registry: hf`). - Built with `tt-model package --container` and `push --private`, using tt-model 0.1.0 plus the pinned prebuilt-image extension (TT-MODEL.md, which now has the corrected `pull repo@rev --with-weights` syntax). - The model card has no performance section by design, which blocks any catalog listing. Pending: the clean-install `tt-model pull`/`serve` smoke on the cards in tonight's coordinator-scheduled window; the pull is prestaged before it. Record `bench/runs/public-private-staging-20261113.jsonl`, branch `codex/public-release` @ `1f1286fa`. Nothing public.
Author
Member

Window pub354-20261114 (claim 01:47Z, prod restored and verified 01:56:08Z): tt-model serve --profile b1-latency on the public bundle @0b4792eb failed after 18 s, before any device work. tt-model runs the container as the host uid (--user 1000:1000). The image has no passwd entry for that uid, so import vllm → torch inductor getpass.getuser() → KeyError: getpwuid(): uid not found: 1000. Any rootful-docker user of the public bundle will hit this.

Reproduced on the builder without devices; --env USER=tt --env LOGNAME=tt gets past it (IMPORT_OK). Fix options:

  • bundle-only: add USER/LOGNAME to the serve env in tt-model.yaml, then repackage and push a new revision (no image rebuild);
  • image v7: set ENV USER/LOGNAME or handle arbitrary uids. v7 would also scrub the comment issue numbers and the dhavli graft URL.

The pull, info, slot and reset steps were OK. No gate ran, so no PP/TG or quality result yet. A retry needs another cold-boot window (34–45 min boot plus gates). Evidence: pub/window/runs/pub354-20261114.

Window pub354-20261114 (claim 01:47Z, prod restored and verified 01:56:08Z): **`tt-model serve --profile b1-latency` on the public bundle @0b4792eb failed after 18 s**, before any device work. tt-model runs the container as the host uid (`--user 1000:1000`). The image has no passwd entry for that uid, so `import vllm` → torch inductor `getpass.getuser()` → `KeyError: getpwuid(): uid not found: 1000`. Any rootful-docker user of the public bundle will hit this. Reproduced on the builder without devices; `--env USER=tt --env LOGNAME=tt` gets past it (IMPORT_OK). Fix options: - bundle-only: add USER/LOGNAME to the serve env in tt-model.yaml, then repackage and push a new revision (no image rebuild); - image v7: set `ENV USER`/`LOGNAME` or handle arbitrary uids. v7 would also scrub the comment issue numbers and the dhavli graft URL. The pull, info, slot and reset steps were OK. No gate ran, so no PP/TG or quality result yet. A retry needs another cold-boot window (34–45 min boot plus gates). Evidence: pub/window/runs/pub354-20261114.
Author
Member

Retry window pub354-20261114-r2: prod stopped 01:59:43Z and was restored and verified 02:06:24Z. The USER/LOGNAME override fixed the getpwuid crash, and vLLM got through config and model registration. Serve still died after 48 s, with TT_FATAL: No chips detected. UMD opened an empty chip list.

Cause: on cfx-llm0, /dev/tenstorrent/{0,1} are crw-rw---- root:tenstorrent(986). tt-model starts the container with --user 1000:100 and --device /dev/tenstorrent/N, but it adds no --group-add 986. The process inside therefore cannot open the devices.

This is a tt-model container launcher gap and is not in our bundle; it hits any host whose TT device nodes are group-restricted. Fix options:

  • add --group-add <gid of /dev/tenstorrent/*> in tt-model's container_user/run command (upstream tenstorrent/tt-model-manager PR, or our pinned extension);
  • bake USER/LOGNAME into the bundle as well (still needed);
  • for a gate run only: start the printed serve --print docker command by hand with --group-add 986.

No gate ran, and there are no boot, PP or TG numbers. The local manifest override was reverted (sha back to d9f768ab…).

Retry window pub354-20261114-r2: prod stopped 01:59:43Z and was restored and verified 02:06:24Z. The USER/LOGNAME override fixed the getpwuid crash, and vLLM got through config and model registration. **Serve still died after 48 s, with `TT_FATAL: No chips detected`.** UMD opened an empty chip list. Cause: on cfx-llm0, /dev/tenstorrent/{0,1} are `crw-rw---- root:tenstorrent(986)`. tt-model starts the container with `--user 1000:100` and `--device /dev/tenstorrent/N`, but it adds no `--group-add 986`. The process inside therefore cannot open the devices. This is a tt-model container launcher gap and is not in our bundle; it hits any host whose TT device nodes are group-restricted. Fix options: - add `--group-add <gid of /dev/tenstorrent/*>` in tt-model's `container_user`/run command (upstream tenstorrent/tt-model-manager PR, or our pinned extension); - bake USER/LOGNAME into the bundle as well (still needed); - for a gate run only: start the printed `serve --print` docker command by hand with `--group-add 986`. No gate ran, and there are no boot, PP or TG numbers. The local manifest override was reverted (sha back to d9f768ab…).
Author
Member

v7 non-root fix: builder check PASS, card-host check staged for tonight.

  • Image v7: tt-public-candidate:20261114-v7, ID sha256:cdc254f998bb647e80e46eb64df4101f80388d6789156376fc3b49397b56f380. Import smoke passed.
    • Sets USER/LOGNAME=tt, puts TT_METAL_LOGS_PATH and the cache dirs under /cache, and makes generated/ sticky 1777.
    • The entrypoint fails fast, exit 78 with a --group-add hint, on unwritable logs or devices.
    • Lab issue refs are scrubbed from the flat sources. Only comments and strings changed; the code tokens are identical.
  • Private bundle: donach/qwen3.8-27b-p150x2-v7-staging@3b5732510740b9af5e68199ae15894b3754c9e2d (288 files, 7.69 GB). serve_profiles env: USER, LOGNAME, TT_METAL_LOGS_PATH. Anonymous access gets a 404.
  • Builder prestage-nonroot-check.sh (uid 1000:100, --network none, no devices): every check PASS.
    • Identity: getpass = tt. pwd has no entry, which is a WARN by design.
    • 21 writable paths, including all of generated/*.
    • Imports vllm, vllm.entrypoints.cli.main, vllm_tt_plugin, ttnn. No device fd is open after import.
    • v6 as a negative control FAILS on the 9 generated/ paths, which reproduces r3.
  • Extension: --group-add per device gid, USER/LOGNAME/TT_METAL_LOGS_PATH defaults, rootful preflight. 29 new tests; the full suite is 1324 passed with the same 3 pre-existing failures. Patch sha 191e8a1b….
  • Upstream issue: https://github.com/tenstorrent/tt-model-manager/issues/212
  • Card-host part (pull + device-permission check, no device open): pub/window/stage-v7-nonroot.sh. It refuses outside 02:00–06:00 Prague. Not run, to avoid daytime IO on cfx-llm0.

Branch codex/public-release @ 4a824550, LEDGER R-2026-11-14-public-image-v7-nonroot. Nothing new is public.

**v7 non-root fix: builder check PASS, card-host check staged for tonight.** - **Image v7**: `tt-public-candidate:20261114-v7`, ID `sha256:cdc254f998bb647e80e46eb64df4101f80388d6789156376fc3b49397b56f380`. Import smoke passed. - Sets USER/LOGNAME=tt, puts `TT_METAL_LOGS_PATH` and the cache dirs under `/cache`, and makes `generated/` sticky 1777. - The entrypoint fails fast, exit 78 with a `--group-add` hint, on unwritable logs or devices. - Lab issue refs are scrubbed from the flat sources. Only comments and strings changed; the code tokens are identical. - **Private bundle**: `donach/qwen3.8-27b-p150x2-v7-staging@3b5732510740b9af5e68199ae15894b3754c9e2d` (288 files, 7.69 GB). serve_profiles env: USER, LOGNAME, TT_METAL_LOGS_PATH. Anonymous access gets a 404. - **Builder `prestage-nonroot-check.sh`** (uid 1000:100, `--network none`, no devices): every check PASS. - Identity: getpass = `tt`. pwd has no entry, which is a WARN by design. - 21 writable paths, including all of `generated/*`. - Imports `vllm`, `vllm.entrypoints.cli.main`, `vllm_tt_plugin`, `ttnn`. No device fd is open after import. - v6 as a negative control FAILS on the 9 `generated/` paths, which reproduces r3. - **Extension**: `--group-add` per device gid, USER/LOGNAME/TT_METAL_LOGS_PATH defaults, rootful preflight. 29 new tests; the full suite is 1324 passed with the same 3 pre-existing failures. Patch sha `191e8a1b…`. - **Upstream issue**: https://github.com/tenstorrent/tt-model-manager/issues/212 - **Card-host part** (pull + device-permission check, no device open): `pub/window/stage-v7-nonroot.sh`. It refuses outside 02:00–06:00 Prague. Not run, to avoid daytime IO on cfx-llm0. Branch `codex/public-release` @ `4a824550`, LEDGER `R-2026-11-14-public-image-v7-nonroot`. Nothing new is public.
Sign in to join this conversation.
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#357
No description provided.