qwen4-35b-a3b-qb2 on Tenstorrent p300x2

Serves Qwen/Qwen4-35B-A3B (revision c06f0c19) by the Qwen team, unmodified weights.

Qwen4-35B-A3B is a 35B-parameter mixture-of-experts language model with 3B active parameters per token: 40 layers (30 gated-delta-net linear-attention layers and 10 sparse attention layers with a learned block indexer), 256 routed experts (top 8) plus a shared expert, hashed n-gram (PLE) embeddings and a native 1,048,576-token context. This package runs it as a tt-metal ttnn port with tensor parallelism over 4 chips, the routed experts in BF4 and the dense weights in BF8, behind its own OpenAI-compatible chat server, for one user at a time.

Runs on Tenstorrent p300x2 β€” see the serving profiles below.

Packaged and published with tt-model-manager 0.1.0 (manifest schema 5.1).

At a glance

Hardware p300x2
License apache-2.0

Intended use

Single-user chat, long-document question answering and coding assistance with up to 1M tokens of context. Text only (the checkpoint's vision tower is not served).

Prerequisites

  • The Tenstorrent CLI, tt: uv tool install tenstorrent (or use tt-model alone, see the Quickstart)
  • Docker
  • Tenstorrent hardware: p300x2
  • About 115 GB of disk for the checkpoint (downloaded on the first start) and about 27 GB per profile for the converted caches (BF4 experts, components, kernels), kept in the package's cache directory; the first start takes about 10 minutes after the download, later starts about 3
  • 64 GB of host RAM

Quickstart

tt serve changh95/Qwen4-35B-A3B

tt serve downloads the Docker image and the Qwen/Qwen4-35B-A3B at c06f0c19d9411aba77f8d5948f69ae825c7161cb weights (into your HF cache; they are not in the image), then starts the model's own HTTP 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; the server is ready when it logs "event": "ready".

Without tt-cli: tt-model serve changh95/Qwen4-35B-A3B.

Requests

POST /v1/chat/completions with OpenAI chat messages (system, developer, user, assistant, tool), streaming or not. reasoning_effort takes off, low, high (default) or xhigh; enable_thinking: false is the same as off. Thinking is returned as reasoning_content. The first start downloads the checkpoint and builds the BF4 expert cache (minutes); later starts are warm.

Serving profiles

Select a different serving profile using --profile.

profile hardware mesh description
ctx-256k (default) p300x2 (1, 4) 262,144-token context; 53-58 tok/s decode, 0.58 ms per prompt token prefill.
ctx-32k p300x2 (1, 4) 32,768-token context, fastest; 64-70 tok/s decode, 0.34 ms per prompt token prefill.
ctx-1m p300x2 (1, 4) The native 1,048,576-token context; 33-37 tok/s decode, 1.47 ms per prompt token prefill.

Capabilities

This package exposes the model's own HTTP server on port 20000, not an OpenAI-compatible chat API β€” its request and response shapes are the model's own. See the author's notes for the payload it expects.

  • Sampling: temperature, top_p, top_k, seed, max_tokens, stop, ignore_eos; greedy with temperature: 0.
  • Tools: OpenAI tools / tool_calls in the Qwen4 chat template's format.
  • Every start replays a greedy acceptance set against CPU reference outputs and refuses to serve unless the json record matches 96/96.

Expected performance

eval this package reference (Transformers bf16, CPU) items
GSM8K, zero-shot chat, greedy, thinking off 97.5% ~94% (paired estimate: 25 items re-run on the CPU) 200
GSM8K, zero-shot chat, greedy, effort low 97.0% β€” 100
Needle in a haystack (passcode at 10-90% depth) 15/15 up to 1,048,000 tokens β€” 15
Greedy acceptance, json record 96/96 tokens 96/96 1
profile ISL OSL concurrency N TTFT prefill tok/s/u decode tok/s/u E2EL
ctx-32k 4,096 8 1 1 2.3 s 1,780 70.8 2.4 s
ctx-32k 32,000 8 1 1 11.0 s 2,910 70.5 11.1 s
ctx-256k 4,096 8 1 1 3.3 s 1,240 58.6 3.4 s
ctx-256k 65,536 8 1 1 38.9 s 1,685 57.4 39.0 s
ctx-256k 262,000 8 1 1 152.7 s 1,716 58.6 152.9 s
ctx-1m 4,096 8 1 1 6.8 s 605 37.1 7.0 s
ctx-1m 262,144 8 1 1 384.1 s 683 36.8 384.3 s
ctx-1m 1,048,000 8 1 1 1,535.8 s 682 36.4 1,536.1 s

Measured on a QuietBox 2 with tools/needle.py (streamed greedy answers after a long prompt); short-prompt decode in the startup acceptance replay is 64.3 / 52.8 / 32.8 tok/s for ctx-32k / ctx-256k / ctx-1m.

Limitations

  • One user at a time (no batching yet).
  • Decode and prefill speed follow the allocated context, not the prompt: every token scores all allocated indexer blocks. Pick the smallest profile that fits.
  • Routed experts are BF4: greedy text follows the bf16 reference only for the first few tokens on most prompts (task accuracy holds: GSM8K misses go both ways against the reference).
  • Text only; MTP speculative decoding is not enabled in this release.

Licensing

The weights are Apache-2.0 (Qwen); the serving code is tt-metal's Apache-2.0.

Feedback

Questions or problems with this package: open a discussion at https://huggingface.co/changh95/Qwen4-35B-A3B/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.

Provenance

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
code/ digest c4639d9fd9be6036 (sha256, first 16 hex digits)
built 2026-12-05T12:06:23+00:00 by tt-model 0.1.0
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for changh95/Qwen4-35B-A3B

Finetuned
(152)
this model