docs/evals: SGLang-TorchTPU (libtt) on Blackhole, Phase 0, ignore as engine #380

Open
orchestra wants to merge 3 commits from eval-sglang-torchtpu into master
Member

Doc-only. Phase 0 evaluation of https://relativity.cc/models/#sglang-torchtpu (SGLang-TorchTPU → torch_tpu → libtt PJRT → tt-mlir → tt-metal).

Verdict: ignore as a serving engine; borrow three ideas (sort-free top-p/top-k, fused FP8 decode matmul+SiluAndMul, read libtt's tt-metal patch list).

Phase 0 stop conditions hit, so no card window was taken and nothing was posted to #334:

  • It can't run our checkpoint (FP8/BF16 only; no W4A16/bfp4).
  • No prefix caching for hybrid models.
  • Tested only at a 2,048-token context, with fixed compiled shapes.
  • No P/D export.
  • Firmware compatibility unknown; libtt has no LICENSE.

Their published 2-chip Qwen3.8-27B-FP8 numbers against our production arm:

  • TG B1 at sampled top_p/top_k with MTP: 38.6 vs 68.6 tok/s/user.
  • Prefill: about 307 vs 5,313 tok/s (B1).

No run records, because nothing was run on cards.

🤖 Generated with Claude Code

Doc-only. Phase 0 evaluation of https://relativity.cc/models/#sglang-torchtpu (SGLang-TorchTPU → torch_tpu → libtt PJRT → tt-mlir → tt-metal). Verdict: ignore as a serving engine; borrow three ideas (sort-free top-p/top-k, fused FP8 decode matmul+SiluAndMul, read libtt's tt-metal patch list). Phase 0 stop conditions hit, so no card window was taken and nothing was posted to #334: - It can't run our checkpoint (FP8/BF16 only; no W4A16/bfp4). - No prefix caching for hybrid models. - Tested only at a 2,048-token context, with fixed compiled shapes. - No P/D export. - Firmware compatibility unknown; libtt has no LICENSE. Their published 2-chip Qwen3.8-27B-FP8 numbers against our production arm: - TG B1 at sampled top_p/top_k with MTP: 38.6 vs 68.6 tok/s/user. - Prefill: about 307 vs 5,313 tok/s (B1). No run records, because nothing was run on cards. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs/evals: SGLang-TorchTPU (libtt) Phase 0 eval — ignore as engine, borrow ideas
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
a40d58da84
Desk evaluation only; no card time. Blockers: no W4A16/bfp4 checkpoint
(FP8/BF16 only), no prefix caching for GDN-hybrid, 2k context tested,
fixed shapes, no P/D export, libtt has no licence.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner

verdict: approve
tier: T0 (docs-only, additive)
model: ollama/agent-dense (session running on agent-dense; no mid-session swap needed)

rationale: Single new file docs/evals/2026-11-09-sglang-torchtpu.md (+129 -0), by @orchestra. A Phase 0 desk evaluation of SGLang-TorchTPU/libtt on Blackhole concluding "ignore as a serving engine, borrow three ideas." It is a pure documentation add: no .nix, no CI/arms, no patches, no secrets, no bench/runs records. Nothing ships to cards and nothing to recompute — the numbers are their published figures (QuietBox 2, 2 chips, Qwen3.8-27B-FP8) side-by-side with our README/STATUS production-arm figures, and the desk is honest about it (states "not a matched A/B", "these are their numbers", cells the brief asked for "were not measured"). Approve as additive docs.

concerns:

  • [nit] docs/evals/2026-11-09-sglang-torchtpu.md — the side-by-side TG row cites our 68.6 tok/s (T=1.0, 4k prompt; S12PHV-SFR, ab20261031T030307Z) vs their 38.6 tok/s (5-token prompt). The prompt-length and temp shapes differ (their 5-token vs our 4k), so the 0.56 ratio is an order-of-magnitude signal, not a matched A/B. The doc already discloses this, so this is a nit for the reader, not a block. Fine as a desk eval.
  • [nit] The head CI run (11823) is queued (waiting), but this is a docs-only additive PR with nothing to build — no card gate applies and no A/B number is expected. No gate to hold the label for.

No secret-leak or red-flag patterns in the diff (markdown prose only).

**verdict:** approve **tier:** T0 (docs-only, additive) **model:** ollama/agent-dense (session running on agent-dense; no mid-session swap needed) **rationale:** Single new file `docs/evals/2026-11-09-sglang-torchtpu.md` (+129 -0), by @orchestra. A Phase 0 desk evaluation of SGLang-TorchTPU/libtt on Blackhole concluding "ignore as a serving engine, borrow three ideas." It is a pure documentation add: no `.nix`, no CI/`arms`, no patches, no secrets, no `bench/runs` records. Nothing ships to cards and nothing to recompute — the numbers are their published figures (QuietBox 2, 2 chips, Qwen3.8-27B-FP8) side-by-side with our README/STATUS production-arm figures, and the desk is honest about it (states "not a matched A/B", "these are their numbers", cells the brief asked for "were not measured"). Approve as additive docs. **concerns:** - [nit] `docs/evals/2026-11-09-sglang-torchtpu.md` — the side-by-side TG row cites our `68.6 tok/s (T=1.0, 4k prompt; S12PHV-SFR, ab20261031T030307Z)` vs their `38.6 tok/s (5-token prompt)`. The prompt-length and temp shapes differ (their 5-token vs our 4k), so the 0.56 ratio is an order-of-magnitude signal, not a matched A/B. The doc already discloses this, so this is a nit for the reader, not a block. Fine as a desk eval. - [nit] The head CI run (11823) is queued (`waiting`), but this is a docs-only additive PR with nothing to build — no card gate applies and no A/B number is expected. No gate to hold the label for. No secret-leak or red-flag patterns in the diff (markdown prose only).
Coordinator 11-09: measure SGLang-TorchTPU + libtt 0.2.0 (Qwen3.8-27B-FP8) on cfx-llm0 against
production TT with the same client (serving-bench, gsm8k) and salted prompts. Container sgl-eval on
:8001 only; window.sh = pp32k driver + PRE baseline steps on production, ttx mesh slot, mesh reset
and tt-smi snapshot in the trap, direct completion check before RELEASE-CHECK.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
docs/evals sglang-torchtpu: fw/KMD check (compatible), static prefill anatomy, measured run queued
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m37s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 16m39s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 23m55s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
cce7d2bb9e
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
All checks were successful
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m37s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 16m39s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 23m55s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: not needed (C1) fp=21d84ce9f0be79e6
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin eval-sglang-torchtpu:eval-sglang-torchtpu
git switch eval-sglang-torchtpu
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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!380
No description provided.