Qwen3-Coder-30B-A3B-Instruct
A 30.5B-parameter Mixture-of-Experts coding model with 3.3B activated parameters, agentic coding and function-calling support, and a native context window of 262144 tokens.
Single-node W8A8 deployment on Atlas 800I A3 for high throughput, low latency, and 128K long context
Preparation
Qwen3-Coder-30B-A3B-Instruct is a Mixture-of-Experts coding model with 30.5B total parameters and 3.3B activated per token. It targets agentic coding, repository-level code generation, and tool calling, and supports a native context length of 262144 tokens. This recipe covers the three single-node scenarios used by the upstream tutorial: high throughput (TP1), low latency (TP4 with expert parallelism), and long context (TP4 with 131072 tokens).
Deployment Guide
Select NPU type and deployment options to view the corresponding deployment instructions.
Verification
After the service is started, send a chat request. Replace with the port from the vllm serve command.
curl http://localhost:<port>/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3-coder",
"messages": [
{"role": "user", "content": "Give me a short introduction to large language models."}
],
"temperature": 0.6,
"top_p": 0.95,
"max_tokens": 512
}'Expected result: HTTP 200 with a JSON body containing a non-empty choices field.
More Info
Accuracy
Using EvalScope
See the evaluation section for the command. Accuracy was measured against the high-throughput TP1 service with the W8A8 checkpoint.
Accuracy
Using EvalScope
Install EvalScope in an isolated environment and point it at the running OpenAI-compatible endpoint:
python3 -m venv /root/eval-venv
/root/eval-venv/bin/pip install -U "numpy>=2.0" evalscope
/root/eval-venv/bin/evalscope eval \
--model qwen3-coder \
--api-url http://127.0.0.1:8000/v1 \
--api-key EMPTY \
--eval-type openai_api \
--datasets gsm8k \
--limit 100 \
--eval-batch-size 8Accuracy result (Atlas 800I A3, vLLM-Ascend v0.30.0, W8A8, 100 samples):
| Dataset | Metric | Score |
|---|---|---|
| GSM8K | accuracy | 98.00% |
The upstream tutorial reports 90.14% for GSM8K with AISBench; the difference is within sampling variance for a 100-question subset.
Benchmark
Measured Results
All numbers below were collected on one Atlas 800I A3 node (16 chips available; at most 4 used) with quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler.
| Scenario | TP | Requests | Concurrency | Output tok/s | Mean TTFT (ms) | Mean TPOT (ms) |
|---|---|---|---|---|---|---|
| High Throughput | 1 | 100/100 | 32 | 756.42 | 1205.82 | 36.56 |
| Low Latency | 4 | 100/100 | 32 | 1219.29 | 1007.98 | 21.35 |
| Long Context | 4 | 20/20 | 4 | 221.63 | 735.66 | 16.64 |
Benchmark shapes: 2048 input / 2048 output tokens for high throughput and low latency; 8192 input / 512 output tokens for long context.
Scenario Overview
| Scenario | Deployment Mode | Total NPUs | Weight Version | Key Considerations |
|---|---|---|---|---|
| High Throughput | Single-Node (TP1) | 1 (A3) | W8A8 | Single-chip deployment maximizes concurrent request processing |
| Low Latency | Single-Node (TP4) | 2 (A3) | W8A8 | Multi-chip TP with expert parallelism reduces per-token latency |
| Long Context | Single-Node (TP4) | 2 (A3) | W8A8 | Fewer concurrent sequences leave room for a 131072-token context |
On Atlas 800I A3 each NPU contains two dies (chips), so TP4 uses 4 chips = 2 NPUs.