Qwen/Qwen3-Coder-30B-A3B-Instruct
Agentic coding Mixture-of-Experts model (30.5B total / 3.3B active) served with vLLM Ascend on Atlas 800I A3, with validated W8A8 presets for high throughput, low latency, and 128K long context.
Atlas 800I A3 W8A8: 1219 tok/s output in the TP4 low-latency preset, 21.35 ms TPOT
export HCCL_OP_EXPANSION_MODE=AIV
export HCCL_BUFFSIZE=1024
export OMP_PROC_BIND=false
export OMP_NUM_THREADS=1
export PYTORCH_NPU_ALLOC_CONF=expandable_segments:True
export VLLM_USE_MODELSCOPE=True
vllm serve Eco-Tech/Qwen3-Coder-30B-A3B-Instruct-w8a8 \
--trust-remote-code \
--quantization ascend \
--tensor-parallel-size 4 \
--max-num-seqs 100 \
--max-model-len 37364 \
--max-num-batched-tokens 16384 \
--enable-expert-parallel \
--distributed-executor-backend mp \
--no-enable-prefix-caching \
--async-scheduling \
--compilation-config '{"cudagraph_mode": "FULL_DECODE_ONLY"}' \
--additional-config '{"enable_flashcomm1": true, "weight_nz_mode": 2}' \
--gpu-memory-utilization 0.95The interactive builder loads with JavaScript. Append .md to this page's URL, query string included, for any configuration's command as Markdown — e.g. /Qwen/Qwen3-Coder-30B-A3B-Instruct.md.
Overview
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.
Validation scope and support status
The main vLLM Ascend tutorial marks this model discontinued since v0.30.0 and points at
the v0.23.0 documentation. This recipe migrates that tutorial content to the recipes
format and re-validates it end to end on the v0.30.0 A3 image. All results below were
collected on one Atlas 800I A3 node with
quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler and the W8A8 checkpoint published by
Eco-Tech. The node exposes 16 chips; the presets use one chip (TP1) or four chips (TP4).
Validated presets
| Preset | Chips | Workload | Requests | Output tok/s | Mean TTFT | Mean TPOT |
|---|---|---|---|---|---|---|
| Low Latency (TP4) | 4 | 2048 in / 2048 out, concurrency 32 | 100/100 | 1219.29 | 1007.98 ms | 21.35 ms |
| High Throughput (TP1) | 1 | 2048 in / 2048 out, concurrency 32 | 100/100 | 756.42 | 1205.82 ms | 36.56 ms |
| Long Context (TP4) | 4 | 8192 in / 512 out, concurrency 4 | 20/20 | 221.63 | 735.66 ms | 16.64 ms |
The long-context preset also served a 60025-token prompt, which returned the expected answer in 3.58 s. These numbers are reproducibility measurements on the stated image, not an official performance baseline.
Accuracy
EvalScope 1.15.0, 100 GSM8K samples, W8A8, TP1 service:
| Dataset | Metric | Score |
|---|---|---|
| GSM8K | accuracy | 98.00% |
The upstream tutorial reports 90.14% with AISBench; the difference is consistent with sampling variance on a 100-question subset.
Weights
The default variant uses the pre-quantized Eco-Tech/Qwen3-Coder-30B-A3B-Instruct-w8a8 checkpoint. The BF16 variant uses the canonical Qwen checkpoint published on ModelScope and Hugging Face.
The optional Eagle3 draft model is not part of the default weights. Download it with
modelscope download --model AngelSlim/Qwen3-a3B_eagle3 and enable the opt-in
spec_decoding feature; the measured preset numbers above remain the non-Eagle3 baseline.
Tool calling is exposed as an opt-in component using the qwen3_coder parser and is
not enabled in the benchmark presets.
Limitations
- The optional Eagle3 draft model from the tutorial is exposed as an opt-in
spec_decodingfeature. It was functionally validated on Atlas 800I A3 at TP1 (3/3 HTTP 200 responses, no ERROR/Traceback in the logs); it is not enabled in the default presets or performance baselines. Replaceyour_eagle3_model_pathwith the local draft-model directory before enabling it. - Only the W8A8 variant was benchmarked and evaluated. BF16 numbers are not claimed; its 37364-token limit is a conservative safety cap, not a performance result.
- Multi-node and PD-separated topologies are out of scope for this recipe.
References
Configurations qualified on specific hardware, layered on the baseline command. Unless marked Opt-in, a preset applies automatically on its hardware and strategy; pick Baseline in the builder to drop it.
TP4 with expert parallelism and FlashComm1; highest measured output rate.
Runbook
Measured on one Atlas 800I A3 with quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler
(4 of 16 chips, TP4) and the W8A8 checkpoint.
- 100/100 requests completed at concurrency 32.
- Output throughput 1219.29 tok/s.
- Mean TTFT 1007.98 ms, mean TPOT 21.35 ms.
Single-chip deployment without expert parallelism; maximizes concurrent request processing.
Runbook
Measured on one Atlas 800I A3 with quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler
(1 of 16 chips, TP1) and the W8A8 checkpoint.
- 100/100 requests completed at concurrency 32.
- Output throughput 756.42 tok/s.
- Mean TTFT 1205.82 ms, mean TPOT 36.56 ms.
TP4 with a 131072-token limit and a smaller sequence budget for KV cache.
Runbook
Measured on one Atlas 800I A3 with quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler
(4 of 16 chips, TP4) and the W8A8 checkpoint.
- 20/20 requests completed at concurrency 4.
- Output throughput 221.63 tok/s.
- Mean TTFT 735.66 ms, mean TPOT 16.64 ms.
- A separate 60025-token prompt returned the correct answer in 3.58 s.
The checkpoint supports 262144 positions natively, so 131072 needs no RoPE scaling.