/tt-model-bringup:benchmark-modelfrom Tenstorrent Model Bring-up
Reports text model accuracy on lm-eval benchmarks (MMLU-Pro, GPQA Diamond, IFEval, GSM8K-CoT) and vLLM serving throughput at concurrency 1 and 32. For final model-bringup validation.
Ships in Tenstorrent Model Bring-up. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Follow model-bringup startup. Produce an end-of-bringup report with benchmark scores, published references where available, and serving performance. The person who launched the bringup judges whether the results are good enough.
Use upstream EleutherAI lm-evaluation-harness for accuracy and vllm bench serve for performance. Attach to the working Stage 10 server with its selected precision policy. The complete client stage must finish in less than one hour. Its clock starts when benchmark_stage run is invoked, before the first server-selection hook, and includes verification, inference, every server launch or reload it performs, compilation, warmups, phase collection, scoring and reporting. Record setup completed before invocation separately, including installation, downloads and the already-running server's startup.
Read the run contract for setup, profiles, commands and report inputs. Aim for two or three applicable generative benchmarks: MMLU-Pro, GPQA Diamond, IFEval or GSM8K-CoT. Prefer tasks with published figures for the exact model; a missing reference does not prevent running or completing the stage. Another upstream generative task is suitable when the client can execute and score it correctly.
Select the upstream prompt/scorer variant and the model's generation settings before running. A benchmark name alone does not identify a recipe. Use the model's native HF chat template exactly once, with structured chat messages, and record its tokenizer revision, thinking mode, generation parameters and answer parsing. Preserve normal benchmark prompt lengths, few-shot examples and EOS behavior. Allow sufficient output budget for the intended reasoning mode.
Reuse the packaged common question subsets. A new model does not require a new subset. Use prepare --reuse-manifest to select a different recipe over the same documents. For a new benchmark, freeze documents before observing scores; retain IDs, content hashes and population counts. Never select questions to improve agreement with a published score.
Run accuracy at 32 concurrent HTTP requests. Use the shared request pool when the selected tasks have identical generation settings. Check raw responses for template, transport and scoring integration errors and repair those errors. Keep upstream scores and all questions in the denominator, including token-limited answers. Report truncation counts and relevant protocol differences. Low scores are results to present, not a reason to block completion or keep optimizing the model.
Measure two serving profiles with 4096 input tokens and 128 output tokens: single user, with --max-num-seqs 1 and one concurrent request, and 32 users, with --max-num-seqs 32 and 32 concurrent requests. Use the best validated single-user settings from optimized-vLLM for the first profile. Each profile must use its corresponding decode trace and cache configuration. Keep model, precision, hardware and full context capacity unchanged. Warm each server configuration, then measure repeated requests. Disable prefix caching, use distinct prompts, request greedy decoding and ignore EOS for performance. Verify actual token counts.
Prepare full-phase accounting before starting the timed run. Use or implement the model's collector and configure the required roofline_command from the run contract. Enable lightweight host timing at the actual prefill/decode completion boundaries and derive work from the model's executed shapes, precision and parallelism. Do not enable the live device profiler or add synchronization that changes the serving path. The runner checks the collector on each running server and collects its evidence before switching profiles.
The report labels the profile, concurrent requests and server slots separately. Headline performance includes TTFT, TPOT, per-user decode tokens/s, aggregate output tokens/s, prefill FLOP roofline percentage and decode DRAM bandwidth roofline percentage. Both roofline estimates are required for both profiles. Their denominators cover complete elapsed phases, including host work and gaps, rather than matmul duration. If timing or work accounting is missing, preserve the measured results and repair the collection; the stage is incomplete. No minimum roofline percentage or accuracy score is required.
Use the run contract's server-control hook to prepare and record the 32-slot configuration before accuracy, measure 32-user performance, then switch to the one-slot server. Switching and warmup count toward the stage budget. Preserve ITL, end-to-end latency, percentiles, request throughput, completion counts and wall time in the report details.
The runner writes the single final report at doc/benchmark/run/REPORT.md, with results and reference links at the top and supporting measurements below. Keep identity.json and RUN_NOTES.md in doc/benchmark/; the runner retains its configuration, manifest, raw outputs and summary under run/.
For a bringup, verify that the server imports the generated models/autoports/<model> implementation with all configured layers. Record model/tokenizer revisions, precision, source commits, server command and hardware. Preserve doc/context_contract.json. Stock implementations are suitable for standalone benchmarks, but do not establish the autoport's results.
Complete the stage when the selected benchmarks and both performance rows, including full-phase prefill FLOP and decode DRAM accounting, have valid, complete evidence, the report is generated, implementation/context checks pass, and elapsed client time is under one hour. No accuracy acceptance review is required. Use $autofix for execution or integration failures; retain failed-run evidence. Stop only processes owned by this stage and follow the enclosing run's reservation policy.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
lm-eval, vllm-benchmark, model-evaluation, serving-performance
npx claudepluginhub tenstorrent/skills --plugin tt-model-bringup14 skills in this plugin
/datatype-sweepSweep and select TTNN model weight, activation, KV-cache, CCL datatype, and compute-fidelity policies for the fastest configuration that satisfies minimum full-model top-1 and top-5 accuracy. Use after optimized-full-model and before vLLM, or whenever a runnable TTNN full model needs evidence-backed precision selection./full-modelBuild a complete TTNN autoregressive model and generator from a HuggingFace model plus one or more working TTNN block or decoder implementations. Use when assembling embeddings, block stack, final norm, logits, KV-cache handling, and generation into a full model, validating end-to-end behavior, and reporting full-model accuracy plus generator-level performance. Repo-specific file contracts belong in a project orchestration skill such as model-bringup./functional-decoderBring up a functionally correct TTNN implementation of HuggingFace transformer decoder layers under the model-specific autoport directory. Use when producing a functional_decoder.py implementation, reading the HF decoder architecture, validating paged prefill/decode against the HF reference, and leaving compact correctness and performance evidence./graph-fusingFuse a TTNN op graph into a faster numerically-equivalent one by (1) replacing a primitive op sequence with a dedicated tt-metal op, (2) simplifying/merging structural ops, and (3) folding adjacent ops into an existing op./model-bringupImplement Hugging Face text models in TTNN through staged decoder, multi-chip, full-model, datatype, vLLM and benchmark work. Use for model bring-up or resuming its staged goals; requires separately installed tt-autodebug./multichipParallelize single-chip TTNN code across the available multi-chip hardware. Use when parallelizing a model or module, choosing a tensor/mesh parallel strategy, comparing to a single-chip TTNN baseline, and leaving correctness plus performance evidence.Other plugins' skills for the same job