vllm-ascend/recipes
~/browse/Qwen

Qwen3-Omni-30B-A3B-Thinking

A 30.5B-parameter omni-modal Mixture-of-Experts model (3.3B activated per token) that accepts text, images, audio, and video and returns text with chain-of-thought reasoning.

MoE30.5B/3.3B66K ctxtext, image, audio, videovLLM 0.30.0Difficulty: advanced

Single-node BF16 deployment on Atlas 800I A3 for high throughput, low latency, and 128K long context

Added: 2026-11-19·[ edit ]

Preparation

Qwen3-Omni-30B-A3B-Thinking is the thinker variant of Qwen3-Omni: a native end-to-end omni-modal Mixture-of-Experts model with 30.5B total parameters and 3.3B activated per token. It accepts text, images, audio, and video, produces text output, and exposes chain-of-thought reasoning. This recipe covers the three single-node scenarios from the upstream tutorial: high throughput (TP2), low latency (TP4 with expert parallelism), and long context (TP4 with 131072 tokens and YaRN). All validated scenarios use the public official BF16 checkpoint and require no local weight conversion.

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-omni",
        "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. The accuracy table below is an optional W8A8 reference measured against the TP1 W8A8 service. The default BF16 configuration was validated functionally and for performance in this cycle; its accuracy was not re-measured.

Accuracy

Using EvalScope

EvalScope supports OpenAI-compatible endpoints and the OmniBench dataset:

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-omni \
    --api-url http://127.0.0.1:8000/v1 \
    --api-key EMPTY \
    --eval-type openai_api \
    --datasets omni_bench gsm8k bbh \
    --dataset-args '{"omni_bench": {"extra_params": {"use_image": true, "use_audio": false}}}' \
    --limit 100 \
    --eval-batch-size 4 \
    --generation-config '{"max_tokens": 10000, "temperature": 0.6}'

Accuracy results (Atlas 800I A3, vLLM-Ascend v0.30.0, W8A8, 100 samples per dataset):

DatasetMetricScore
OmniBench (image)accuracy49.00%
GSM8Kaccuracy99.00%
BBHaccuracynot completed

The two completed datasets match the upstream tutorial reference (v0.22.1rc, W8A8):
OmniBench 0.44 and GSM8K 0.98. BBH was not completed because EvalScope expands
--limit 100 to 100 samples per BBH subtask (2700 total), which exceeded the
validation time budget; the tutorial reference is 0.9148.

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.

ScenarioTPRequestsConcurrencyOutput tok/sMean TTFT (ms)Mean TPOT (ms)
High Throughput2200/20032960.72293.0530.60
Low Latency4200/2001 QPS126.89168.7415.92
Long Context420/204201.30864.9216.54

Benchmark shapes: 200 input / 512 output tokens at concurrency 32 for high throughput; 200 input / 128 output tokens at 1 request per second for low latency; 8192 input / 256 output tokens at concurrency 4 for long context, plus a 70,025-token functional request. All numbers use the official BF16 checkpoint.

Scenario Overview

ScenarioDeployment ModeTotal NPUsWeight VersionKey Considerations
High ThroughputSingle-Node (TP2)2 (A3)BF16Two-chip TP keeps the official weights resident while maximizing concurrent request processing
Low LatencySingle-Node (TP4)2 (A3)BF16Multi-chip TP with expert parallelism reduces per-token latency
Long ContextSingle-Node (TP4)2 (A3)BF16Fewer 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.