llm-jp/llm-jp-4-8b-thinking (LLM-jp-4 8B, thinking) served by vLLM and the Tenstorrent vLLM plugin on one Blackhole P150 chip (p150a). Reasoning and the final answer are returned separately (reasoning / content) by the LLM-jp-4 Harmony reasoning parser.
Runs on p150 (mesh P150) — 65,536-token context, up to 32 concurrent sequences.
Packaged and published with tt-model-manager 0.1.0 (manifest schema 5.1).
| Architecture | 8B dense decoder-only (Llama-style), vocab 196,608 |
| Hardware | p150 |
| Context | 65,536 tokens |
| License | apache-2.0 |
| Status | Experimental community bring-up |
Direct use: Japanese chat and reasoning on one P150, from a single user up to 32 concurrent requests; per-user decode speed stays about the same from 1 to 32 users for prompts up to 1k tokens (see Expected performance).
Out-of-scope use: Tool calling (the llmjp4 tool parser is not bundled); multimodal input.
uv tool install tenstorrent # once — the Tenstorrent CLI, `tt`
tt model pull tomo-o/llm-jp-4-8b-thinking-p150
tt serve tomo-o/llm-jp-4-8b-thinking-p150
tt model pull (or tt-model pull --with-weights) downloads the Docker image and the llm-jp/llm-jp-4-8b-thinking weights at fc7c15c262710016c19bcda4372a96ff68875846 (into your HF cache; they are not in the image). tt serve (or tt-model serve) starts an OpenAI-compatible server on port 20000 (or the next free port, if that one is busy); the first start compiles kernels for your device, which takes several minutes, and the server is ready when it logs Application startup complete.
Without tt-cli — tt-model alone does the whole job:
tt-model pull tomo-o/llm-jp-4-8b-thinking-p150 --with-weights
tt-model serve tomo-o/llm-jp-4-8b-thinking-p150
The server speaks the OpenAI API at http://127.0.0.1:20000/v1 (or whichever port your serve command reported; chat completions, completions, and /v1/models). Pass "model": "llm-jp/llm-jp-4-8b-thinking" — the weights id, not this package's name.
Reasoning output is separated (--reasoning_parser llmjp4): the thinking text arrives in reasoning_content, apart from content.
curl -s http://127.0.0.1:20000/v1/chat/completions -H 'Content-Type: application/json' -d '{
"model": "llm-jp/llm-jp-4-8b-thinking",
"messages": [{"role": "user", "content": "富士山について簡潔に説明してください。"}],
"max_tokens": 2048, "temperature": 0}'
choices[0].message.reasoning holds the thinking, content the answer (here a short description
of Mt. Fuji: 3,776 m, last eruption in 1707, World Heritage site since 2013; about 380 output
tokens with this package). The prompt is taken from the examples in the llm-jp/llm-jp-4-vl-9b
model card.
All numbers are measured on this package as served by tt-model serve on one Blackhole
p150a (QuietBox-class host VM, 16 vCPU), with the client on the same VM. Host: TT-KMD 2.7.0, firmware 19.11.0.
Client: bench_aiohttp.py (aiohttp, stream: true, ignore_eos: true, temperature: 0,
max_tokens = OSL, 2 warmup requests, N = max(30, 3×Users) requests, closed loop with Users
concurrent requests). Prompts are random-text samples of ISL tokens (plus the chat template,
e.g. ISL 128 → 219 prompt tokens), never repeated, so there are no prefix-cache hits. TTFT is
the time to the first streamed delta, TPOT the mean time per output token after it, E2EL the
end-to-end latency of one request, Out the total output tokens per second across all users.
| ISL | OSL | Users | N | TTFT avg (ms) | TTFT p99 (ms) | TPOT avg (ms) | Decode (tok/s/user) | E2EL avg (s) | Out (tok/s total) |
|---|---|---|---|---|---|---|---|---|---|
| 128 | 128 | 1 | 30 | 311 | 342 | 45.0 | 22.2 | 6.02 | 21 |
| 128 | 128 | 4 | 30 | 692 | 734 | 37.4 | 26.7 | 5.44 | 88 |
| 128 | 128 | 8 | 30 | 1,138 | 1,206 | 40.9 | 24.5 | 6.33 | 152 |
| 128 | 128 | 16 | 48 | 2,172 | 2,191 | 38.8 | 25.8 | 7.09 | 289 |
| 128 | 128 | 32 | 96 | 4,197 | 4,270 | 44.0 | 22.7 | 9.79 | 418 |
| 1,024 | 128 | 1 | 30 | 469 | 517 | 49.5 | 20.2 | 6.75 | 19 |
| 1,024 | 128 | 4 | 30 | 1,248 | 1,313 | 45.5 | 21.9 | 7.03 | 68 |
| 1,024 | 128 | 8 | 30 | 2,147 | 2,310 | 51.0 | 19.6 | 8.63 | 112 |
| 1,024 | 128 | 16 | 48 | 4,180 | 4,194 | 42.8 | 23.4 | 9.61 | 213 |
| 1,024 | 128 | 32 | 96 | 8,172 | 8,187 | 51.4 | 19.4 | 14.70 | 278 |
| 4,096 | 512 | 1 | 30 | 1,826 | 1,992 | 68.2 | 14.7 | 36.70 | 14 |
| 4,096 | 512 | 4 | 30 | 6,128 | 6,438 | 66.6 | 15.0 | 40.16 | 48 |
| 4,096 | 512 | 8 | 30 | 11,661 | 12,398 | 68.8 | 14.5 | 46.83 | 82 |
| 4,096 | 512 | 16 | 48 | 24,028 | 24,050 | 70.4 | 14.2 | 60.01 | 136 |
| 4,096 | 512 | 32 | 96 | 43,826 | 75,032 | 87.3 | 11.4 | 88.45 | 164 |
How to read the rows: prompts are prefilled one at a time, so in a burst a user's TTFT grows roughly linearly with Users (about 130 ms per queued 128-token prompt, 1.8 s per 4,096-token prompt). Decode runs in one batch of up to 32 rows at 20–27 tokens/s per user for prompts up to 1k tokens and 14–15 tokens/s per user at 4k. The KV cache holds 133,120 tokens: 28 sequences of 4,096+512 tokens fit at once, so at 32 users with 4k prompts the remaining requests wait for admission and the wait lands in TTFT (p99 75 s).
Non-streaming requests finish sooner than the streaming E2EL above: the same 128-token
prompt with max_tokens 128 and stream: false takes 4.6 s end to end at 1 user (about
27 tokens/s), because per-token SSE delivery and the streaming reasoning parser add about
12 ms per token in the API server.
Client: long_ctx.py with the same request settings (streaming, ignore_eos, temperature 0,
one unmeasured warmup request per length). Prompts are ISL tokens of random numbers plus the
chat template.
| ISL | OSL | Users | N | TTFT avg (ms) | TTFT p99 (ms) | TPOT avg (ms) | Decode (tok/s/user) | E2EL avg (s) | Out (tok/s total) |
|---|---|---|---|---|---|---|---|---|---|
| 16,384 | 256 | 1 | 2 | 8,370 | 10,120 | 122.5 | 8.2 | 39.60 | 6 |
| 32,768 | 256 | 1 | 1 | 18,023 | 18,023 | 212.9 | 4.7 | 72.31 | 4 |
| 64,000 | 256 | 1 | 1 | 50,821 | 50,821 | 370.9 | 2.7 | 145.40 | 2 |
Prefill runs at about 2,000 tokens/s up to 16k tokens and 1,300 tokens/s at 64k. Decode slows
as the context grows (TPOT 45 ms after a 128-token prompt, 371 ms after 64k tokens). A prompt of
65,535 tokens (template included) with max_tokens 1 is accepted; 65,537 tokens is rejected
with HTTP 400.
First tt-model serve on a host: 4 min 36 s (tensor cache and traces are generated into the
package cache). Later starts: about 1 min.
The same cells measured with AIPerf 0.10.0 read about 3 s longer per request; the difference was traced to the client, so those numbers are not used here.
Measured on this package (2026-10-14) with the chat completions API, 32 concurrent requests,
max_tokens 4096, temperature 0, one run. The prompt asks for step-by-step reasoning and a
final numeric answer after ####; the answer is taken from content (the reasoning parser
returns only the final answer there).
| Benchmark | Questions | Exact string match | Numeric match | Unanswered | Errors |
|---|---|---|---|---|---|
| GSM8K (openai/gsm8k, main/test) | 1,319 | 1,219 (92.4%) | 1,238 (93.9%) | 1 | 0 |
| MGSM-ja (juletxara/mgsm, ja/test) | 250 | 204 (81.6%) | 209 (83.6%) | 0 | 0 |
The same weights served by tt-inference-server v0.18.0 on the same board scored 1,222 / 1,232 (GSM8K) and 211 / 214 (MGSM-ja) in the author's earlier evaluation with the same harness; the differences are within run-to-run variation.
sample_on_device_mode unset); per-token decode speed is bounded by the
host CPU, so a slow host lowers tokens/s.tokenizer.json without trust_remote_code; token ids are identical
to the official Llmjp4Tokenizer, but reasoning and content may begin with one space.--device-id 0-3 (smoke test only, not benchmarked). The first start on that host,
which also built the tensor cache and came right after another model's server had been
stopped, returned only special tokens (<|unk|><|mask|>); after another tt-smi -r every
later start answered correctly, on all four chips. If the output is only special tokens, stop
the server, run tt-smi -r and start again.models/tt_transformers/tt/generator.py (accept new_request_rows), and
vllm-tt-plugin 30e9b8ea. Host validated with KMD 2.7.0 / FW 19.11.0 / tt-smi 4.1.2.tt-smi -r after stopping the server.Weights: Apache-2.0 (llm-jp), not redistributed; fetched from the Hugging Face Hub at pull time. Bundled reasoning parser: derived from llm-jp/llm-jp-vllm (commit 1bf592e1), whose pyproject.toml declares Apache-2.0 (the repository has no LICENSE file as of 2026-10-14); the two modules were merged into one file and one import path changed for vLLM 0.26.0. tt-metal and vllm-tt-plugin: Apache-2.0 (Tenstorrent). See NOTICE and LICENSE-2.0.txt in code/.
Questions or problems with this package: open a discussion at https://huggingface.co/tomo-o/llm-jp-4-8b-thinking-p150/discussions — that is what reaches its author. A problem with the tt tooling itself: tt report issue (collects your environment and opens a prefilled issue against tenstorrent/tt-cli). Product feedback: support@tenstorrent.com.
The exact sources the image was built from — code/ in this repo is byte-identical to the model code inside the image:
| component | built from |
|---|---|
| tt-metal | a local checkout — commit not published (dirty tree — the image includes uncommitted changes) |
| vLLM | v0.26.0 |
| vllm-tt-plugin | a local checkout — commit not published |
code/ digest |
7e624ff299deff44 (sha256, first 16 hex digits) |
| built | 2026-10-14T05:48:40+00:00 by tt-model 0.1.0 |
有文件?提交种子。
发布种子