vLLM/Recipes
Search
Qwen

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

moe30.5B / 3.3B262,144 ctxvLLM 0.30.0+Text
Default configuration: 16× Ascend 910C · Tensor Parallel · W8A8 (Ascend A3)
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.95

The 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

PresetChipsWorkloadRequestsOutput tok/sMean TTFTMean TPOT
Low Latency (TP4)42048 in / 2048 out, concurrency 32100/1001219.291007.98 ms21.35 ms
High Throughput (TP1)12048 in / 2048 out, concurrency 32100/100756.421205.82 ms36.56 ms
Long Context (TP4)48192 in / 512 out, concurrency 420/20221.63735.66 ms16.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:

DatasetMetricScore
GSM8Kaccuracy98.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_decoding feature. 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. Replace your_eagle3_model_path with 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