{
  "hf_id": "Qwen/Qwen3-Omni-30B-A3B-Thinking",
  "meta": {
    "title": "Qwen3-Omni-30B-A3B-Thinking (Ascend)",
    "slug": "qwen3-omni-30b-a3b-thinking",
    "provider": "Qwen",
    "description": "Omni-modal Qwen3 Mixture-of-Experts model (30.5B total / 3.3B active) served with vLLM Ascend on Atlas 800I A3, with validated BF16 presets for high throughput, low latency, and 128K long context (W8A8 remains an optional path).",
    "date_added": "2026-11-19",
    "date_updated": "2026-11-26",
    "tasks": [
      "multimodal"
    ],
    "performance_headline": "Atlas 800I A3 BF16: 961 tok/s output at concurrency 32 (TP2), 15.92 ms TPOT in the TP4 low-latency preset",
    "default_hardware": "ascend_910c",
    "hardware": {
      "ascend_910c": "verified"
    }
  },
  "recommended_command": {
    "hardware": "ascend_910c",
    "strategy": "single_node_tp",
    "variant": "default",
    "node_count": 1,
    "deploy_type": "single_node",
    "preset": "a3_low_latency",
    "env": {
      "HCCL_OP_EXPANSION_MODE": "AIV",
      "HCCL_BUFFSIZE": "1024",
      "OMP_PROC_BIND": "false",
      "OMP_NUM_THREADS": "1",
      "PYTORCH_NPU_ALLOC_CONF": "expandable_segments:True"
    },
    "docker_image": "quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler",
    "command": "vllm serve Qwen/Qwen3-Omni-30B-A3B-Thinking \\\n  --trust-remote-code \\\n  --tensor-parallel-size 4 \\\n  --max-num-seqs 100 \\\n  --max-model-len 37364 \\\n  --max-num-batched-tokens 16384 \\\n  --enable-expert-parallel \\\n  --distributed-executor-backend mp \\\n  --no-enable-prefix-caching \\\n  --async-scheduling \\\n  --compilation-config '{\"cudagraph_mode\": \"FULL_DECODE_ONLY\"}' \\\n  --additional-config '{\"enable_flashcomm1\": false}' \\\n  --gpu-memory-utilization 0.95",
    "argv": [
      "vllm",
      "serve",
      "Qwen/Qwen3-Omni-30B-A3B-Thinking",
      "--trust-remote-code",
      "--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\": false}",
      "--gpu-memory-utilization",
      "0.95"
    ],
    "docker_command": "docker run --device /dev/davinci0 --device /dev/davinci1 --device /dev/davinci2 --device /dev/davinci3 \\\n  --device /dev/davinci4 --device /dev/davinci5 --device /dev/davinci6 --device /dev/davinci7 \\\n  --device /dev/davinci8 --device /dev/davinci9 --device /dev/davinci10 --device /dev/davinci11 \\\n  --device /dev/davinci12 --device /dev/davinci13 --device /dev/davinci14 --device /dev/davinci15 \\\n  --device /dev/davinci_manager --device /dev/hisi_hdc \\\n  -v /usr/local/Ascend/driver:/usr/local/Ascend/driver \\\n  -v /etc/ascend_install.info:/etc/ascend_install.info \\\n  -v /usr/local/dcmi:/usr/local/dcmi \\\n  -v /usr/local/bin/npu-smi:/usr/local/bin/npu-smi \\\n  --privileged --net=host --shm-size=16g \\\n  -v ~/.cache/huggingface:/root/.cache/huggingface \\\n  -e HCCL_OP_EXPANSION_MODE=AIV \\\n  -e HCCL_BUFFSIZE=1024 \\\n  -e OMP_PROC_BIND=false \\\n  -e OMP_NUM_THREADS=1 \\\n  -e PYTORCH_NPU_ALLOC_CONF=expandable_segments:True \\\n  quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler \\\n  vllm serve Qwen/Qwen3-Omni-30B-A3B-Thinking \\\n  --trust-remote-code \\\n  --tensor-parallel-size 4 \\\n  --max-num-seqs 100 \\\n  --max-model-len 37364 \\\n  --max-num-batched-tokens 16384 \\\n  --enable-expert-parallel \\\n  --distributed-executor-backend mp \\\n  --no-enable-prefix-caching \\\n  --async-scheduling \\\n  --compilation-config '{\"cudagraph_mode\": \"FULL_DECODE_ONLY\"}' \\\n  --additional-config '{\"enable_flashcomm1\": false}' \\\n  --gpu-memory-utilization 0.95",
    "docker_argv": [
      "docker",
      "run",
      "--device",
      "/dev/davinci0",
      "--device",
      "/dev/davinci1",
      "--device",
      "/dev/davinci2",
      "--device",
      "/dev/davinci3",
      "--device",
      "/dev/davinci4",
      "--device",
      "/dev/davinci5",
      "--device",
      "/dev/davinci6",
      "--device",
      "/dev/davinci7",
      "--device",
      "/dev/davinci8",
      "--device",
      "/dev/davinci9",
      "--device",
      "/dev/davinci10",
      "--device",
      "/dev/davinci11",
      "--device",
      "/dev/davinci12",
      "--device",
      "/dev/davinci13",
      "--device",
      "/dev/davinci14",
      "--device",
      "/dev/davinci15",
      "--device",
      "/dev/davinci_manager",
      "--device",
      "/dev/hisi_hdc",
      "-v",
      "/usr/local/Ascend/driver:/usr/local/Ascend/driver",
      "-v",
      "/etc/ascend_install.info:/etc/ascend_install.info",
      "-v",
      "/usr/local/dcmi:/usr/local/dcmi",
      "-v",
      "/usr/local/bin/npu-smi:/usr/local/bin/npu-smi",
      "--privileged",
      "--net=host",
      "--shm-size",
      "16g",
      "-v",
      "~/.cache/huggingface:/root/.cache/huggingface",
      "-e",
      "HCCL_OP_EXPANSION_MODE=AIV",
      "-e",
      "HCCL_BUFFSIZE=1024",
      "-e",
      "OMP_PROC_BIND=false",
      "-e",
      "OMP_NUM_THREADS=1",
      "-e",
      "PYTORCH_NPU_ALLOC_CONF=expandable_segments:True",
      "quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler",
      "vllm",
      "serve",
      "Qwen/Qwen3-Omni-30B-A3B-Thinking",
      "--trust-remote-code",
      "--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\": false}",
      "--gpu-memory-utilization",
      "0.95"
    ],
    "strategy_spec": {
      "name": "single_node_tp",
      "deploy_type": "single_node",
      "display_name": "Tensor Parallel",
      "short_label": "TP",
      "orientation": "latency",
      "description": "Single-node tensor parallel. Splits the model across all local GPUs. TP size is set to the GPU count at deploy time. The simplest multi-GPU strategy — works for all model architectures.\n",
      "hardware_match": {
        "min_gpus": 1,
        "max_gpus": 8,
        "multi_node": false
      },
      "vllm_args": [],
      "parallel_flag": "--tensor-parallel-size"
    },
    "hardware_profile": {
      "brand": "Huawei",
      "generation": "npu",
      "display_name": "Ascend 910C",
      "description": "Huawei Ascend 910C · 16× NPU · 64 GB HBM each · Atlas 800 A3 · vLLM Ascend backend",
      "gpu_count": 16,
      "vram_gb": 1024,
      "multi_node": false,
      "restricted": true
    },
    "by_hardware": {
      "ascend_910c": "/Qwen/Qwen3-Omni-30B-A3B-Thinking/hw/ascend_910c.json"
    }
  },
  "model": {
    "model_id": "Qwen/Qwen3-Omni-30B-A3B-Thinking",
    "min_vllm_version": "0.30.0",
    "architecture": "moe",
    "parameter_count": "30.5B",
    "active_parameters": "3.3B",
    "context_length": 65536,
    "base_args": [
      "--trust-remote-code"
    ],
    "base_env": {
      "HCCL_OP_EXPANSION_MODE": "AIV",
      "HCCL_BUFFSIZE": "1024",
      "OMP_PROC_BIND": "false",
      "OMP_NUM_THREADS": "1",
      "PYTORCH_NPU_ALLOC_CONF": "expandable_segments:True"
    },
    "install": {
      "docker": {
        "command": "docker pull quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler",
        "note": "Official Ascend all-in-one image. Install the host driver and firmware separately."
      },
      "extras": [
        {
          "note": "Optional Eagle3 draft model for speculative decoding (replace your_eagle3_model_path)",
          "command": "pip install modelscope && modelscope download --model AngelSlim/Qwen3-a3B_eagle3",
          "optional": true
        }
      ]
    }
  },
  "variants": {
    "default": {
      "precision": "bf16",
      "label": "BF16 (Ascend A3)",
      "vram_minimum_gb": 64,
      "supported_hardware": [
        "ascend_910c"
      ],
      "hardware_overrides": {
        "ascend_910c": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler",
          "docker_serve_command": "vllm serve"
        }
      },
      "description": "Official BF16 checkpoint; the default, CI-verifiable configuration. No quantization flag is added."
    },
    "w8a8": {
      "model_id": "local/Qwen3-Omni-30B-A3B-Thinking-w8a8",
      "precision": "int8",
      "label": "W8A8 (local path required)",
      "vram_minimum_gb": 37,
      "supported_hardware": [
        "ascend_910c"
      ],
      "hardware_overrides": {
        "ascend_910c": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler",
          "docker_serve_command": "vllm serve"
        }
      },
      "extra_args": [
        "--quantization",
        "ascend"
      ],
      "description": "Optional W8A8 weights produced locally from the official BF16 checkpoint with msmodelslim. The local/... model id is a placeholder, not a Hugging Face repo; replace it with the absolute path to the quantized directory before serving.",
      "json": "/local/Qwen3-Omni-30B-A3B-Thinking-w8a8.json"
    }
  },
  "features": {
    "spec_decoding": {
      "label": "Eagle3 Spec Decoding",
      "description": "Optional Eagle3 speculative decoding; replace your_eagle3_model_path with the downloaded draft model path",
      "args": [
        "--speculative-config",
        "{\"method\": \"eagle3\", \"model\": \"your_eagle3_model_path\", \"num_speculative_tokens\": 3}"
      ]
    }
  },
  "opt_in_features": [
    "spec_decoding"
  ],
  "presets": {
    "a3_low_latency": {
      "label": "Low Latency (TP4)",
      "hardware": "ascend_910c",
      "strategy": "single_node_tp",
      "variants": [
        "default"
      ],
      "workload": "200 input / 128 output tokens, 1 request per second",
      "default": true,
      "description": "TP4 with expert parallelism; lowest measured per-token latency.",
      "tp": 4,
      "args": [
        "--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\": false}",
        "--gpu-memory-utilization",
        "0.95"
      ],
      "runbook": "Measured on one Atlas 800I A3 with `quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler`\n(4 of 16 chips, TP4) and the official BF16 checkpoint.\n\n- 200/200 requests completed at 1 request per second.\n- Output throughput **126.89 tok/s**.\n- Mean TTFT **168.74 ms**, mean TPOT **15.92 ms**.\n",
      "json": "/Qwen/Qwen3-Omni-30B-A3B-Thinking/presets/a3_low_latency.json"
    },
    "a3_high_throughput": {
      "label": "High Throughput (TP2)",
      "hardware": "ascend_910c",
      "strategy": "single_node_tp",
      "variants": [
        "default"
      ],
      "workload": "200 input / 512 output tokens, concurrency 32",
      "description": "Two-chip tensor-parallel deployment without expert parallelism; keeps the official BF16 weights resident while maximizing concurrent request processing.",
      "tp": 2,
      "args": [
        "--max-num-seqs",
        "100",
        "--max-model-len",
        "37364",
        "--max-num-batched-tokens",
        "16384",
        "--distributed-executor-backend",
        "mp",
        "--no-enable-prefix-caching",
        "--async-scheduling",
        "--compilation-config",
        "{\"cudagraph_mode\": \"FULL_DECODE_ONLY\"}",
        "--additional-config",
        "{\"enable_flashcomm1\": false}",
        "--gpu-memory-utilization",
        "0.95"
      ],
      "runbook": "Measured on one Atlas 800I A3 with `quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler`\n(2 of 16 chips, TP2) and the official BF16 checkpoint.\n\n- 200/200 requests completed at concurrency 32.\n- Output throughput **960.72 tok/s**.\n- Mean TTFT **293.05 ms**, mean TPOT **30.60 ms**.\n",
      "json": "/Qwen/Qwen3-Omni-30B-A3B-Thinking/presets/a3_high_throughput.json"
    },
    "a3_long_context": {
      "label": "Long Context (TP4, 128K)",
      "hardware": "ascend_910c",
      "strategy": "single_node_tp",
      "variants": [
        "default"
      ],
      "workload": "70025-token prompt functional check",
      "description": "TP4 with a 131072-token limit, YaRN scaling, and a smaller sequence budget for KV cache.",
      "tp": 4,
      "args": [
        "--max-num-seqs",
        "14",
        "--max-model-len",
        "131072",
        "--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\": false}",
        "--gpu-memory-utilization",
        "0.95",
        "--hf-overrides",
        "{\"rope_parameters\": {\"rope_type\": \"yarn\", \"factor\": 2, \"original_max_position_embeddings\": 65536}}"
      ],
      "env": {
        "VLLM_ALLOW_LONG_MAX_MODEL_LEN": "1"
      },
      "runbook": "Measured on one Atlas 800I A3 with `quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler`\n(4 of 16 chips, TP4) and the official BF16 checkpoint.\n\n- The 8192-in / 256-out benchmark completed 20/20 requests at **201.30 tok/s**,\n  mean TTFT **864.92 ms**, mean TPOT **16.54 ms**.\n- A 70025-token prompt returned the correct answer (`fox`) in 5.93 s.\n- `VLLM_ALLOW_LONG_MAX_MODEL_LEN=1` is required because the checkpoint declares\n  65536 positions while the preset requests 131072.\n",
      "json": "/Qwen/Qwen3-Omni-30B-A3B-Thinking/presets/a3_long_context.json"
    }
  },
  "guide": "## Overview\n\nQwen3-Omni-30B-A3B-Thinking is the thinker variant of Qwen3-Omni: a native\nend-to-end omni-modal Mixture-of-Experts model with 30.5B total parameters and 3.3B\nactivated per token. It accepts text, images, audio, and video, produces text output,\nand exposes chain-of-thought reasoning.\n\n## Validation scope and support status\n\nThe main vLLM Ascend tutorial marks this model discontinued since v0.30.0 and points at\nthe v0.23.0 documentation. This recipe migrates that tutorial content to the recipes\nformat and re-validates it end to end on the v0.30.0 A3 image. All results below were\ncollected on one Atlas 800I A3 node with\n`quay.io/ascend/vllm-ascend:v0.30.0-a3-openeuler`. The node exposes 16 chips; the\npresets use two chips (TP2) or four chips (TP4). The combined image/audio/video\nfunctional request used the TP4 + expert-parallel topology; an image-only smoke\ncheck also passed on the TP2 High Throughput topology.\n\n## Validated presets\n\n| Preset | Chips | Workload | Requests | Output tok/s | Mean TTFT | Mean TPOT |\n| --- | --- | --- | --- | --- | --- | --- |\n| High Throughput (TP2) | 2 | 200 in / 512 out, concurrency 32 | 200/200 | 960.72 | 293.05 ms | 30.60 ms |\n| Low Latency (TP4) | 4 | 200 in / 128 out, 1 request/s | 200/200 | 126.89 | 168.74 ms | 15.92 ms |\n| Long Context (TP4) | 4 | 8192 in / 256 out, concurrency 4 | 20/20 | 201.30 | 864.92 ms | 16.54 ms |\n\nThe long-context preset also returned the correct answer to a 70025-token prompt in 5.93 s. These numbers are\nreproducibility measurements on the stated image, not an official performance baseline.\n\n## Accuracy\n\nEvalScope 1.15.0, 100 samples per dataset, optional W8A8 reference, TP1 service. The default BF16 configuration was validated functionally and for performance; its accuracy was not re-measured in this cycle:\n\n| Dataset | Metric | Score |\n| --- | --- | --- |\n| OmniBench (image) | accuracy | 49.00% |\n| GSM8K | accuracy | 99.00% |\n| BBH | accuracy | not completed |\n\nOmniBench and GSM8K match the tutorial reference (0.44 and 0.98). BBH was not completed:\nEvalScope expands `--limit 100` to 100 samples per BBH subtask (2700 total), which\nexceeded the validation time budget. The tutorial reference for BBH is 0.9148.\n\n## Weights\n\nNo public W8A8 checkpoint exists for this model. The validated W8A8 weights were\nproduced from the official BF16 checkpoint with **msmodelslim**, using the hybrid layout\ndescribed in the historical quantization guide: BF16 embeddings, BF16 Q/K norms and MoE\ngates, static W8A8 attention projections, and dynamic W8A8 expert projections.\n\nAll presets therefore load the public official BF16 checkpoint by default and run as\ngenerated. The optional W8A8 variant uses the placeholder model id\n`local/Qwen3-Omni-30B-A3B-Thinking-w8a8` (a placeholder, not a Hugging Face\nrepo); replace it with the absolute path to the local quantized directory\nbefore rendering or serving it, and keep the canonical Hugging Face id as the BF16\ndownload.\n\nThe optional Eagle3 draft model is not part of the default weights. Download it with\n`modelscope download --model AngelSlim/Qwen3-a3B_eagle3` and enable the opt-in\n`spec_decoding` feature; the measured preset numbers above remain the non-Eagle3 baseline.\n\n## Limitations\n\n- 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 (4/4 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.\n- All three presets are benchmarked with the official BF16 checkpoint. Accuracy numbers\n  remain an optional W8A8 reference; BF16 accuracy was not re-measured.\n- BBH accuracy was not completed in this validation run.\n- Multi-node and PD-separated topologies are out of scope for this recipe.\n\n## References\n\n- [Eagle3 draft model (ModelScope)](https://www.modelscope.cn/models/AngelSlim/Qwen3-a3B_eagle3)\n\n- [Historical vLLM Ascend tutorial (v0.23.0)](https://docs.vllm.ai/projects/ascend/en/v0.23.0/tutorials/models/Qwen3-Omni-30B-A3B-Thinking.html)\n- [Main tutorial support status](https://github.com/vllm-project/vllm-ascend/blob/main/docs/source/tutorials/models/Qwen3-Omni-30B-A3B-Thinking.md)\n- [Qwen3-Omni-30B-A3B-Thinking on ModelScope](https://www.modelscope.cn/models/Qwen/Qwen3-Omni-30B-A3B-Thinking)\n- [msmodelslim](https://gitcode.com/Ascend/msmodelslim)\n",
  "source": {
    "source": "vllm-ascend",
    "repo": "vllm-project/vllm-ascend",
    "ref": "main",
    "sha": "60c122636074cfe563aef1aa320197cf86860b65",
    "path": "recipes/models/Qwen/Qwen3-Omni-30B-A3B-Thinking.yaml",
    "edit_url": "https://github.com/vllm-project/vllm-ascend/edit/main/recipes/models/Qwen/Qwen3-Omni-30B-A3B-Thinking.yaml",
    "overlays": []
  }
}