{
  "hf_id": "Qwen/Qwen3.8-Flash-Next",
  "meta": {
    "title": "Qwen3.8-Flash-Next",
    "slug": "qwen3.8-flash-next",
    "provider": "Qwen",
    "description": "Qwen4 architecture preview with a 125B-parameter main model, supplemented by an additional 51B N-gram embeddings, with 6B parameters activated per token.",
    "date_added": "2026-08-26",
    "date_updated": "2026-11-17",
    "tasks": [
      "multimodal",
      "text"
    ],
    "performance_headline": "Qwen4 architecture preview with 6B active parameters and efficient 262K context",
    "related_recipes": [
      "Qwen/Qwen3-Next-80B-A3B-Instruct"
    ],
    "default_variant": {
      "mi355x": "mxfp4",
      "mi325x": "bf16"
    },
    "hardware": {
      "h200": "verified",
      "h100": "verified",
      "gb200": "verified",
      "gb300": "verified",
      "mi355x": "verified",
      "mi325x": "verified",
      "rtx_pro_6000_4x": "verified",
      "dgx_station_gb300": "verified",
      "ascend_910b": "verified",
      "ascend_910c": "supported",
      "ascend_950dt": "supported"
    }
  },
  "recommended_command": {
    "hardware": "b200",
    "strategy": "single_node_tep",
    "variant": "default",
    "node_count": 1,
    "deploy_type": "single_node",
    "env": {
      "VLLM_USE_RUST_FRONTEND": "1"
    },
    "docker_image": "vllm/vllm-openai:latest",
    "command": "vllm serve Inferact/Qwen3.8-Flash-Next-NVFP4 \\\n  --max-num-seqs 256 \\\n  --enable-prefix-caching \\\n  --enable-expert-parallel \\\n  --tensor-parallel-size 8 \\\n  --kv-cache-dtype fp8 \\\n  --attention-config.indexer_kv_dtype fp8 \\\n  --enable-auto-tool-choice \\\n  --tool-call-parser qwen3_coder \\\n  --reasoning-parser qwen3 \\\n  --speculative-config '{\"method\":\"mtp\",\"num_speculative_tokens\":3}'",
    "argv": [
      "vllm",
      "serve",
      "Inferact/Qwen3.8-Flash-Next-NVFP4",
      "--max-num-seqs",
      "256",
      "--enable-prefix-caching",
      "--enable-expert-parallel",
      "--tensor-parallel-size",
      "8",
      "--kv-cache-dtype",
      "fp8",
      "--attention-config.indexer_kv_dtype",
      "fp8",
      "--enable-auto-tool-choice",
      "--tool-call-parser",
      "qwen3_coder",
      "--reasoning-parser",
      "qwen3",
      "--speculative-config",
      "{\"method\":\"mtp\",\"num_speculative_tokens\":3}"
    ],
    "docker_command": "docker run --gpus all \\\n  --privileged --ipc=host -p 8000:8000 \\\n  -v ~/.cache/huggingface:/root/.cache/huggingface \\\n  -e VLLM_USE_RUST_FRONTEND=1 \\\n  vllm/vllm-openai:latest Inferact/Qwen3.8-Flash-Next-NVFP4 \\\n  --max-num-seqs 256 \\\n  --enable-prefix-caching \\\n  --enable-expert-parallel \\\n  --tensor-parallel-size 8 \\\n  --kv-cache-dtype fp8 \\\n  --attention-config.indexer_kv_dtype fp8 \\\n  --enable-auto-tool-choice \\\n  --tool-call-parser qwen3_coder \\\n  --reasoning-parser qwen3 \\\n  --speculative-config '{\"method\":\"mtp\",\"num_speculative_tokens\":3}'",
    "docker_argv": [
      "docker",
      "run",
      "--gpus",
      "all",
      "--privileged",
      "--ipc=host",
      "-p",
      "8000:8000",
      "-v",
      "~/.cache/huggingface:/root/.cache/huggingface",
      "-e",
      "VLLM_USE_RUST_FRONTEND=1",
      "vllm/vllm-openai:latest",
      "Inferact/Qwen3.8-Flash-Next-NVFP4",
      "--max-num-seqs",
      "256",
      "--enable-prefix-caching",
      "--enable-expert-parallel",
      "--tensor-parallel-size",
      "8",
      "--kv-cache-dtype",
      "fp8",
      "--attention-config.indexer_kv_dtype",
      "fp8",
      "--enable-auto-tool-choice",
      "--tool-call-parser",
      "qwen3_coder",
      "--reasoning-parser",
      "qwen3",
      "--speculative-config",
      "{\"method\":\"mtp\",\"num_speculative_tokens\":3}"
    ],
    "strategy_spec": {
      "name": "single_node_tep",
      "deploy_type": "single_node",
      "display_name": "Tensor + Expert Parallel",
      "short_label": "TEP",
      "orientation": "balanced",
      "description": "Single-node TEP. TP splits dense layers and EP splits expert layers across local GPUs. TP must be set to GPU count to avoid OOM from replicated dense layers. For MoE models only.\n",
      "hardware_match": {
        "min_gpus": 2,
        "max_gpus": 8,
        "multi_node": false,
        "architecture": "moe"
      },
      "vllm_args": [
        "--enable-expert-parallel"
      ],
      "parallel_flag": "--tensor-parallel-size"
    },
    "hardware_profile": {
      "brand": "NVIDIA",
      "generation": "blackwell",
      "compute_arch": "sm100",
      "display_name": "B200",
      "description": "NVIDIA B200 SXM 180 GB HBM3e · 8-GPU HGX B200 node",
      "gpu_count": 8,
      "vram_gb": 1440,
      "multi_node": false
    },
    "alternatives": {
      "single_node_tp": "/Qwen/Qwen3.8-Flash-Next/strategies/single_node_tp.json",
      "single_node_dep": "/Qwen/Qwen3.8-Flash-Next/strategies/single_node_dep.json",
      "kv_store_centralized_mooncake": "/Qwen/Qwen3.8-Flash-Next/strategies/kv_store_centralized_mooncake.json",
      "kv_store_distributed_mooncake": "/Qwen/Qwen3.8-Flash-Next/strategies/kv_store_distributed_mooncake.json"
    },
    "by_hardware": {
      "b200": "/Qwen/Qwen3.8-Flash-Next/hw/b200.json",
      "gb200": "/Qwen/Qwen3.8-Flash-Next/hw/gb200.json",
      "b300": "/Qwen/Qwen3.8-Flash-Next/hw/b300.json",
      "gb300": "/Qwen/Qwen3.8-Flash-Next/hw/gb300.json",
      "dgx_station_gb300": "/Qwen/Qwen3.8-Flash-Next/hw/dgx_station_gb300.json",
      "rtx_pro_6000_4x": "/Qwen/Qwen3.8-Flash-Next/hw/rtx_pro_6000_4x.json"
    }
  },
  "model": {
    "model_id": "Qwen/Qwen3.8-Flash-Next",
    "min_vllm_version": "0.30.0",
    "default_frontend": "rust",
    "architecture": "moe",
    "parameter_count": "176B",
    "active_parameters": "6B",
    "context_length": 262144,
    "base_args": [
      "--max-num-seqs",
      "256",
      "--enable-prefix-caching"
    ],
    "base_env": {},
    "install": {
      "pip": {
        "command": "uv venv\nsource .venv/bin/activate\nuv pip install -U vllm --torch-backend auto"
      },
      "docker": {
        "command": "docker pull vllm/vllm-openai:latest"
      }
    }
  },
  "features": {
    "tool_calling": {
      "description": "Enable automatic tool choice with the Qwen3 Coder parser",
      "args": [
        "--enable-auto-tool-choice",
        "--tool-call-parser",
        "qwen3_coder"
      ],
      "hardware_overrides": {
        "ascend_910b": {
          "args": [
            "--enable-auto-tool-choice",
            "--tool-call-parser",
            "qwen3_xml"
          ]
        },
        "ascend_950dt": {
          "args": [
            "--enable-auto-tool-choice",
            "--tool-call-parser",
            "qwen3_xml"
          ]
        },
        "ascend_910c": {
          "args": [
            "--enable-auto-tool-choice",
            "--tool-call-parser",
            "qwen3_xml"
          ]
        }
      }
    },
    "reasoning": {
      "description": "Extract thinking output with the Qwen3 reasoning parser",
      "args": [
        "--reasoning-parser",
        "qwen3"
      ]
    },
    "spec_decoding": {
      "description": "Use the checkpoint's Multi-Token Prediction module for faster decoding",
      "args": [
        "--speculative-config",
        "{\"method\":\"mtp\",\"num_speculative_tokens\":3}"
      ],
      "hardware_overrides": {
        "ascend_910b": {
          "args": [
            "--speculative-config",
            "{\"method\":\"qwen3_5_mtp\",\"num_speculative_tokens\":3,\"enforce_eager\":true}"
          ]
        },
        "ascend_950dt": {
          "args": [
            "--speculative-config",
            "{\"method\":\"qwen3_5_mtp\",\"num_speculative_tokens\":3,\"enforce_eager\":false}"
          ]
        },
        "ascend_910c": {
          "args": [
            "--speculative-config",
            "{\"method\":\"qwen3_5_mtp\",\"num_speculative_tokens\":3,\"enforce_eager\":false}"
          ]
        }
      }
    },
    "text_only": {
      "description": "Skip the vision encoder for text-only workloads and leave more memory for KV cache",
      "args": [
        "--language-model-only"
      ]
    },
    "long_context": {
      "description": "YaRN RoPE scaling past the native 262,144-token window to 1,000,000 tokens. Static YaRN holds the scaling factor constant regardless of input length, so leave this off unless you actually serve long prompts; for ~524K, halve the factor to 2.0.",
      "args": [
        "--hf-overrides",
        "{\"text_config\": {\"rope_parameters\": {\"mrope_interleaved\": true, \"mrope_section\": [11, 11, 10], \"rope_type\": \"yarn\", \"rope_theta\": 10000000, \"partial_rotary_factor\": 0.25, \"factor\": 4.0, \"original_max_position_embeddings\": 262144}}}",
        "--max-model-len",
        "1000000"
      ],
      "env": {
        "VLLM_ALLOW_LONG_MAX_MODEL_LEN": "1"
      }
    }
  },
  "opt_in_features": [
    "text_only",
    "long_context"
  ],
  "hardware_opt_in_features": {
    "rtx_pro_6000_4x": [
      "spec_decoding"
    ],
    "mi355x": [
      "spec_decoding"
    ]
  },
  "variants": {
    "default": {
      "model_id": "Inferact/Qwen3.8-Flash-Next-NVFP4",
      "precision": "nvfp4",
      "vram_minimum_gb": 130,
      "description": "Inferact quantized NVFP4 weights with per-layer embeddings in nvfp4 too",
      "hardware_overrides": {
        "dgx_station_gb300": {
          "extra_args": [
            "--max-num-seqs",
            "32",
            "--max-num-batched-tokens",
            "8192",
            "--enable-prefix-caching",
            "--distributed-executor-backend",
            "mp",
            "-cc.mode",
            "none",
            "-cc.cudagraph_mode",
            "full_decode_only"
          ]
        },
        "rtx_pro_6000_4x": {
          "extra_args": [
            "--max-num-seqs",
            "16",
            "--max-num-batched-tokens",
            "8192",
            "--enable-prefix-caching",
            "--moe-backend",
            "marlin"
          ]
        }
      },
      "json": "/Inferact/Qwen3.8-Flash-Next-NVFP4.json"
    },
    "fp8": {
      "model_id": "Qwen/Qwen3.8-Flash-Next-FP8",
      "precision": "fp8",
      "vram_minimum_gb": 250,
      "description": "Official dynamic FP8 checkpoint with blockwise weight quantization",
      "hardware_overrides": {
        "dgx_station_gb300": {
          "extra_args": [
            "--max-num-seqs",
            "32",
            "--max-num-batched-tokens",
            "8192",
            "--enable-prefix-caching",
            "--distributed-executor-backend",
            "mp",
            "-cc.mode",
            "none",
            "-cc.cudagraph_mode",
            "full_decode_only"
          ]
        },
        "rtx_pro_6000_4x": {
          "extra_args": [
            "--max-num-seqs",
            "16",
            "--max-num-batched-tokens",
            "8192",
            "--enable-prefix-caching"
          ]
        },
        "ascend_910c": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.32.0rc1-a3",
          "docker_serve_command": "vllm serve",
          "docker_shm_size": "128g",
          "install": {
            "pip": false
          }
        },
        "ascend_950dt": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.32.0rc1-a5",
          "docker_serve_command": "vllm serve",
          "docker_shm_size": "500g",
          "install": {
            "pip": false
          }
        }
      },
      "json": "/Qwen/Qwen3.8-Flash-Next-FP8.json"
    },
    "bf16": {
      "model_id": "Qwen/Qwen3.8-Flash-Next",
      "precision": "bf16",
      "vram_minimum_gb": 423,
      "description": "Official BF16 checkpoint",
      "hardware_overrides": {
        "mi325x": {
          "docker_image": "vllm/vllm-openai-rocm:nightly",
          "extra_env": {
            "VLLM_ROCM_USE_AITER": "1",
            "VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS": "1"
          }
        },
        "ascend_910c": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.32.0rc1-a3",
          "docker_serve_command": "vllm serve",
          "docker_shm_size": "128g",
          "install": {
            "pip": false
          }
        },
        "ascend_950dt": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.32.0rc1-a5",
          "docker_serve_command": "vllm serve",
          "docker_shm_size": "500g",
          "install": {
            "pip": false
          }
        }
      }
    },
    "mxfp4": {
      "model_id": "amd/Qwen3.8-Flash-Next-Quark-MXFP4",
      "precision": "mxfp4",
      "label": "MXFP4 (AMD)",
      "vram_minimum_gb": 219,
      "description": "AMD Quark MXFP4 checkpoint with MXFP4 routed experts, for MI355X",
      "supported_hardware": [
        "mi355x"
      ],
      "tp": {
        "mi355x": 2
      },
      "hardware_overrides": {
        "mi355x": {
          "extra_args": [
            "--gdn-prefill-backend",
            "aiter_flydsl"
          ],
          "extra_env": {
            "VLLM_ROCM_USE_AITER": "1",
            "VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS": "1",
            "AITER_USE_FLYDSL_MOE_SORTING": "1"
          }
        }
      },
      "json": "/amd/Qwen3.8-Flash-Next-Quark-MXFP4.json"
    },
    "ascend_w4a8": {
      "model_id": "Eco-Tech/Qwen3.8-Flash-Next-w4a8",
      "label": "W4A8 (Ascend A2/A3)",
      "precision": "int4",
      "vram_minimum_gb": 234,
      "description": "A2 and A3 use the same ModelSlim W4A8 checkpoint (181 GiB, 48 shards). In the two-node A2 1P1D deployment, Engram keeps the 51B N-gram embedding table in host memory on both nodes so the weights fit on eight 64 GB NPUs per node.",
      "supported_hardware": [
        "ascend_910b",
        "ascend_910c"
      ],
      "tp": {
        "ascend_910c": 8
      },
      "min_vllm_version": "0.32.0",
      "hardware_overrides": {
        "ascend_910b": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.32.0rc1",
          "docker_serve_command": "vllm serve",
          "docker_shm_size": "128g",
          "install": {
            "pip": false
          },
          "extra_args": [
            "--host",
            "0.0.0.0",
            "--served-model-name",
            "qwen38-flash-next-a2-pd",
            "--trust-remote-code",
            "--quantization",
            "ascend",
            "--max-model-len",
            "141312",
            "--max-num-seqs",
            "32",
            "--max-num-batched-tokens",
            "8192",
            "--gpu-memory-utilization",
            "0.90",
            "--enable-prefix-caching",
            "--mamba-cache-mode",
            "align",
            "--async-scheduling"
          ],
          "extra_env": {
            "VLLM_USE_MODELSCOPE": "True",
            "VLLM_USE_V2_MODEL_RUNNER": "1",
            "VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS": "3000",
            "VLLM_ENGINE_READY_TIMEOUT_S": "4800",
            "HCCL_CONNECT_TIMEOUT": "600",
            "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3,4,5,6,7",
            "PYTHONUNBUFFERED": "1"
          }
        },
        "ascend_910c": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.32.0rc1-a3",
          "docker_serve_command": "vllm serve",
          "docker_shm_size": "128g",
          "install": {
            "pip": false
          },
          "extra_args": [
            "--host",
            "0.0.0.0",
            "--port",
            "8088",
            "--served-model-name",
            "qwen3.8-flash-next",
            "--trust-remote-code",
            "--quantization",
            "ascend",
            "--data-parallel-size",
            "1",
            "--enable-expert-parallel",
            "--max-model-len",
            "131072",
            "--max-num-seqs",
            "8",
            "--max-num-batched-tokens",
            "4096",
            "--gpu-memory-utilization",
            "0.93",
            "--enable-prefix-caching",
            "--mamba-cache-mode",
            "align",
            "--async-scheduling",
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":false}",
            "--compilation-config",
            "{\"cudagraph_mode\":\"FULL_DECODE_ONLY\"}",
            "--additional-config",
            "{\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"enable_fused_mc2\":0,\"enable_flashcomm1\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}"
          ],
          "extra_env": {
            "VLLM_USE_MODELSCOPE": "True",
            "VLLM_USE_V2_MODEL_RUNNER": "1",
            "VLLM_ENGINE_READY_TIMEOUT_S": "4800"
          }
        }
      },
      "json": "/Eco-Tech/Qwen3.8-Flash-Next-w4a8.json"
    },
    "ascend_a5_w4a8_mxfp": {
      "label": "W4A8-MXFP (ASCEND 950DT)",
      "model_id": "Eco-Tech/Qwen3.8-Flash-Next-w4a8-mxfp",
      "precision": "mxfp4",
      "vram_minimum_gb": 232,
      "supported_hardware": [
        "ascend_950dt"
      ],
      "min_vllm_version": "0.32.0",
      "tp": 4,
      "extra_args": [
        "--host",
        "0.0.0.0",
        "--port",
        "8087",
        "--served-model-name",
        "qwen3.8-flash-next-950-dt",
        "--trust-remote-code",
        "--quantization",
        "ascend",
        "--data-parallel-size",
        "1",
        "--max-model-len",
        "141312",
        "--max-num-seqs",
        "32",
        "--max-num-batched-tokens",
        "4096",
        "--gpu-memory-utilization",
        "0.90",
        "--enable-prefix-caching",
        "--async-scheduling",
        "--enable-expert-parallel",
        "--engram-config",
        "{\"cpu_offload\":true,\"dp_shared_memory\":false}",
        "--compilation-config",
        "{\"cudagraph_mode\":\"FULL_DECODE_ONLY\"}",
        "--additional-config",
        "{\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"enable_fused_mc2\":0,\"enable_flashcomm1\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}"
      ],
      "extra_env": {
        "VLLM_USE_MODELSCOPE": "True",
        "VLLM_USE_V2_MODEL_RUNNER": "1",
        "VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS": "3000"
      },
      "hardware_overrides": {
        "ascend_950dt": {
          "docker_image": "quay.io/ascend/vllm-ascend:v0.32.0rc1-a5",
          "docker_serve_command": "vllm serve",
          "docker_shm_size": "500g",
          "install": {
            "pip": false
          }
        }
      },
      "json": "/Eco-Tech/Qwen3.8-Flash-Next-w4a8-mxfp.json"
    }
  },
  "kv_offload_support": {
    "offloading_cpu": "verified",
    "offloading_fs": "verified"
  },
  "hardware_overrides": {
    "hopper": {
      "extra_args": [
        "--moe-backend",
        "triton",
        "--kv-cache-dtype",
        "fp8",
        "--attention-config.indexer_kv_dtype",
        "fp8"
      ],
      "extra_env": {}
    },
    "blackwell": {
      "extra_args": [
        "--kv-cache-dtype",
        "fp8",
        "--attention-config.indexer_kv_dtype",
        "fp8"
      ]
    }
  },
  "notes": [
    {
      "title": "MTP is off by default on MI355X",
      "when": {
        "hardware": [
          "mi355x"
        ]
      },
      "body": "Speculative decoding with MTP is opt-in on MI355X. The MXFP4 checkpoint\ncan't load its MTP module until\n[its config.json fix](https://huggingface.co/amd/Qwen3.8-Flash-Next-Quark-MXFP4/discussions/1)\nis merged. FP8 and BF16 can still turn MTP on with the speculative\ndecoding toggle.\n"
    },
    {
      "title": "A3 image-and-text 10K launch scripts",
      "when": {
        "hardware": [
          "ascend_910c"
        ],
        "variants": [
          "ascend_w4a8"
        ],
        "strategies": [
          "single_node_tp"
        ]
      },
      "body": "Use these scripts only for the **Image and text (10K) / Prefill** and **Image and text (10K) / Decode** points of the A3 single-host PD preset. Run Prefill, Decode and the proxy in separate terminals inside the prepared A3 container.\n\n**Environment for Prefill and Decode** — run this block in both worker terminals.\n\n```bash\nlocal_ip=\"<LOCAL_SERVICE_IP>\"\nnic_name=\"<SERVICE_NETWORK_INTERFACE>\"\n\nunset ftp_proxy FTP_PROXY https_proxy HTTPS_PROXY http_proxy HTTP_PROXY all_proxy ALL_PROXY\nexport VLLM_HOST_IP=\"${local_ip}\"\nexport HCCL_IF_IP=\"${local_ip}\"\nexport GLOO_SOCKET_IFNAME=\"${nic_name}\"\nexport TP_SOCKET_IFNAME=\"${nic_name}\"\nexport HCCL_SOCKET_IFNAME=\"${nic_name}\"\nexport no_proxy=\"localhost,127.0.0.1,${local_ip}\"\nexport NO_PROXY=\"${no_proxy}\"\nexport LD_LIBRARY_PATH=\"$(python -c 'import mooncake; print(next(iter(mooncake.__path__)))'):${LD_LIBRARY_PATH:-}\"\nexport VLLM_USE_MODELSCOPE=True\nexport VLLM_SERVER_DEV_MODE=1\nexport VLLM_USE_V2_MODEL_RUNNER=1\nexport VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS=3000\nexport VLLM_ENGINE_READY_TIMEOUT_S=2400\nexport VLLM_ASCEND_PLE_BACKEND=torch\n```\n\n**Prefill** — run on devices 0–7.\n\n```bash\nexport ASCEND_RT_VISIBLE_DEVICES=0,1,2,3,4,5,6,7\nexport HCCL_NPU_SOCKET_PORT_RANGE=61400-61499\nexport HCCL_BUFFSIZE=4096\nexport VLLM_PP_LAYER_PARTITION=24,24\n\nvllm serve Eco-Tech/Qwen3.8-Flash-Next-w4a8 \\\n    --host 0.0.0.0 \\\n    --port 25568 \\\n    --served-model-name qwen38-flash-next-a3-pd \\\n    --trust-remote-code \\\n    --mm-encoder-tp-mode data \\\n    --quantization ascend \\\n    --tensor-parallel-size 4 \\\n    --pipeline-parallel-size 2 \\\n    --data-parallel-size 1 \\\n    --data-parallel-size-local 1 \\\n    --max-model-len 262144 \\\n    --max-num-seqs 32 \\\n    --max-num-batched-tokens 8192 \\\n    --gpu-memory-utilization 0.90 \\\n    --no-enable-prefix-caching \\\n    --async-scheduling \\\n    --enable-expert-parallel \\\n    --compilation-config '{\"cudagraph_mode\":\"NONE\"}' \\\n    --engram-config '{\"cpu_offload\":true,\"dp_shared_memory\":false}' \\\n    --additional-config '{\"enable_shared_expert_dp\":false,\"enable_flashcomm1\":true,\"enable_prefill_mc2\":true,\"enable_fused_mc2\":0,\"enable_cpu_binding\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false}}' \\\n    --speculative-config '{\"method\":\"qwen3_5_mtp\",\"num_speculative_tokens\":3,\"enforce_eager\":true}' \\\n    --kv-transfer-config '{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_producer\",\"kv_port\":\"34600\",\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":4,\"pp_size\":2,\"pp_layer_partition\":\"24,24\"},\"decode\":{\"dp_size\":4,\"tp_size\":2}}}'\n```\n\n**Decode** — run this entire block once in the Decode terminal. It starts four TP2 workers in the same container. Keep the terminal open while they run.\n\n```bash\nunset VLLM_PP_LAYER_PARTITION\nexport HCCL_NPU_SOCKET_PORT_RANGE=61500-61599\nexport HCCL_BUFFSIZE=512\n\nfor DECODE_RANK in 0 1 2 3; do\n    first_device=$((8 + DECODE_RANK * 2))\n    DECODE_HTTP_PORT=$((25569 + DECODE_RANK * 10))\n    kv_port=$((32700 + DECODE_RANK * 20))\n\n    DECODE_DEVICES=\"${first_device},$((first_device + 1))\"\n    DECODE_KV_CONFIG='{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_consumer\",\"kv_port\":\"'\"$kv_port\"'\",\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":4,\"pp_size\":2,\"pp_layer_partition\":\"24,24\"},\"decode\":{\"dp_size\":4,\"tp_size\":2}}}'\n\n    ASCEND_RT_VISIBLE_DEVICES=\"${DECODE_DEVICES}\" \\\n    vllm serve Eco-Tech/Qwen3.8-Flash-Next-w4a8 \\\n        --host 0.0.0.0 \\\n        --port \"${DECODE_HTTP_PORT}\" \\\n        --served-model-name qwen38-flash-next-a3-pd \\\n        --trust-remote-code \\\n        --quantization ascend \\\n        --tensor-parallel-size 2 \\\n        --data-parallel-size 4 \\\n        --data-parallel-size-local 1 \\\n        --data-parallel-rank \"${DECODE_RANK}\" \\\n        --data-parallel-address \"${local_ip}\" \\\n        --data-parallel-rpc-port 29569 \\\n        --max-model-len 262144 \\\n        --max-num-seqs 32 \\\n        --max-num-batched-tokens 4096 \\\n        --gpu-memory-utilization 0.90 \\\n        --no-enable-prefix-caching \\\n        --async-scheduling \\\n        --enable-expert-parallel \\\n        --engram-config '{\"cpu_offload\":true,\"dp_shared_memory\":true}' \\\n        --compilation-config '{\"cudagraph_mode\":\"FULL_DECODE_ONLY\"}' \\\n        --additional-config '{\"enable_flashcomm1\":true,\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"multistream_overlap_shared_expert\":true,\"scheduler_config\":{\"recompute_scheduler_enable\":true},\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}' \\\n        --speculative-config '{\"method\":\"qwen3_5_mtp\",\"num_speculative_tokens\":3}' \\\n        --kv-transfer-config \"${DECODE_KV_CONFIG}\" &\ndone\nwait\n```\n\n**Proxy** — run from the vLLM-Ascend repository root in the third terminal. This checks all five endpoints before starting the proxy.\n\n```bash\nlocal_ip=\"<LOCAL_SERVICE_IP>\"\n\nunset ftp_proxy FTP_PROXY https_proxy HTTPS_PROXY http_proxy HTTP_PROXY all_proxy ALL_PROXY\nexport no_proxy=\"localhost,127.0.0.1,${local_ip}\"\nexport NO_PROXY=\"${no_proxy}\"\n\nfor port in 25568 25569 25579 25589 25599; do\n    curl --fail --noproxy '*' \"http://${local_ip}:${port}/v1/models\" || exit 1\ndone\n\npython examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py \\\n    --host 0.0.0.0 --port 25570 \\\n    --prefiller-hosts \"${local_ip}\" --prefiller-ports 25568 \\\n    --decoder-hosts \"${local_ip}\" \"${local_ip}\" \"${local_ip}\" \"${local_ip}\" \\\n    --decoder-ports 25569 25579 25589 25599\n```\n\n**Verify through the proxy** — once the proxy is listening, run this request in another terminal on the same host. Replace `<IMAGE_URL>` with an image URL both workers can access and `<TEXT_PROMPT>` with the text for your 10K sample.\n\n```bash\ncurl --fail \"http://127.0.0.1:25570/v1/chat/completions\" \\\n    -H \"Content-Type: application/json\" \\\n    -d '{\"model\":\"qwen38-flash-next-a3-pd\",\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"image_url\",\"image_url\":{\"url\":\"<IMAGE_URL>\"}},{\"type\":\"text\",\"text\":\"<TEXT_PROMPT>\"}]}],\"max_tokens\":1024,\"temperature\":0}'\n```\n"
    }
  ],
  "troubleshooting": [
    {
      "title": "Timed out waiting for engine core processes to start",
      "when": {
        "variants": [
          "mxfp4"
        ]
      },
      "body": "On nodes with slow weight loading, a cold TP2 start of the MXFP4\ncheckpoint can take longer than the 600 s default ready timeout. On the\nvalidation node each TP2 rank took 380–450 s to load its weights. Raise\nthe limit with `VLLM_ENGINE_READY_TIMEOUT_S=1800`.\n"
    }
  ],
  "guide": "## Overview\n\n[Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) is a\nmultimodal, ultra-sparse Mixture-of-Experts model. It has 125B parameters, \nincluding an additional 51B N-gram embedding table, while activating 6B \nparameters per token.\n\nThe architecture combines four main ideas:\n\n- **GDN + QSA:** three of every four layers use Gated DeltaNet to compress history;\n  the fourth uses Qwen Sparse Attention for precise long-range retrieval.\n- **Gated Residual:** four residual branches dynamically control cross-layer reads\n  and writes.\n- **N-gram Embedding:** a 51B lookup memory adds capacity with little per-token\n  compute and can be asynchronously offloaded to host memory. (note that offload\n  currently only runs on Nvidia devices)\n- **MTP:** the built-in Multi-Token Prediction module supports speculative decoding.\n\nThe checkpoint natively supports 262,144 tokens. Qwen reports that QSA reaches up\nto 10.2x prefill and 6.6x decode attention-kernel speedups at one million tokens.\nOn GB300, TEP4 is the recommended full-tray configuration. On an 8x H200 node,\nuse TEP8 for the official FP8 checkpoint; plain TP8 is incompatible with its\n128-wide quantization blocks.\n\n## Prerequisites\n\n- **Runtime:** vLLM 0.30.0 or newer runs the model. This recipe was tuned and\n  verified on nightly builds that have since shipped, so use the latest release\n  (`vllm/vllm-openai:latest` on NVIDIA, `vllm/vllm-openai-rocm:latest` on AMD).\n- **Hardware:** NVIDIA CUDA and AMD ROCm instructions are provided below.\n- **FP8 memory:** the checkpoint is 172.78 GiB; it fits on a single GB300 GPU\n  (288 GB HBM3e).\n- **BF16 memory:** the checkpoint is 335.28 GiB. The validated TP2 configuration\n  used about 190 GiB per GB300 GPU.\n- **MXFP4 memory:** the AMD Quark MXFP4 checkpoint is 169.8 GiB; it fits on a\n  single MI355X GPU (288 GB HBM3E).\n- **Host memory for N-gram Embedding offload:** at least 51 GB plus\n  runtime headroom.\n\nThe Install block above generates the pip and Docker launch flows.\n\n## Serving\n\n### Recommended FP8 configuration on 4x GB300\n\nUse the official\n[`Qwen/Qwen3.8-Flash-Next-FP8`](https://huggingface.co/Qwen/Qwen3.8-Flash-Next-FP8)\ncheckpoint tested by this recipe.\n\n```bash\nvllm serve Qwen/Qwen3.8-Flash-Next-FP8 \\\n  --tensor-parallel-size 4 \\\n  --enable-expert-parallel \\\n  --max-num-seqs 256 \\\n  --enable-prefix-caching \\\n  --kv-cache-dtype fp8 \\\n  --attention-config.indexer_kv_dtype fp8 \\\n  --speculative-config '{\"method\":\"mtp\",\"num_speculative_tokens\":3}' \\\n  --enable-auto-tool-choice \\\n  --tool-call-parser qwen3_coder \\\n  --reasoning-parser qwen3\n```\n\nTEP4 is the recommended full-tray configuration — we recommend it over plain\nTP4 because expert parallelism is consistently faster for this model. TP4 and\nTEP4 are both validated full-tray configurations, including with MTP3.\n\nTo serve BF16, use the `Qwen/Qwen3.8-Flash-Next` checkpoint with the same\narguments.\n\n### Single-GPU deployment on GB200/GB300\n\nThe model fits on a single GPU: the FP8 checkpoint on one GB300 (288 GB\nHBM3e), and the NVFP4 variant on GB200 as well. Single-GPU TP1 suits\nevaluation and development; multi-GPU TEP remains the recommended deployment\nfor serving throughput.\n\n### Recommended FP8 configuration on 8x H200\n\nUse TEP8 with the Triton MoE backend on Hopper:\n\n```bash\nvllm serve Qwen/Qwen3.8-Flash-Next-FP8 \\\n  --tensor-parallel-size 8 \\\n  --enable-expert-parallel \\\n  --moe-backend triton \\\n  --max-num-seqs 256 \\\n  --enable-prefix-caching \\\n  --kv-cache-dtype fp8 \\\n  --attention-config.indexer_kv_dtype fp8 \\\n  --speculative-config '{\"method\":\"mtp\",\"num_speculative_tokens\":3}' \\\n  --enable-auto-tool-choice \\\n  --tool-call-parser qwen3_coder \\\n  --reasoning-parser qwen3\n```\n\nPlain TP8 is incompatible with the FP8 checkpoint; use TEP8.\n\n### Recommended FP8 configuration on 8x H100\n\nH100's 80GB/GPU is not enough headroom for the 51B N-gram/PLE embedding table\n— it relies on PLE CPU offload, which vLLM enables by default. Use TEP8 with\nthe Triton MoE backend; as on other hardware, expert parallelism is faster\nthan plain TP, and plain TP8 is incompatible with the FP8 checkpoint's\n128-wide quantization blocks.\n\n```bash\nvllm serve Qwen/Qwen3.8-Flash-Next-FP8 \\\n  --tensor-parallel-size 8 \\\n  --enable-expert-parallel \\\n  --moe-backend triton \\\n  --max-num-seqs 256 \\\n  --enable-prefix-caching \\\n  --kv-cache-dtype fp8 \\\n  --attention-config.indexer_kv_dtype fp8 \\\n  --speculative-config '{\"method\":\"mtp\",\"num_speculative_tokens\":3}' \\\n  --enable-auto-tool-choice \\\n  --tool-call-parser qwen3_coder \\\n  --reasoning-parser qwen3\n```\n\nBenchmark MTP with SPEED-Bench (`--dataset-name speed_bench`), not `random`.\n\n### MXFP4 on MI355X\n\nOn MI355X, the MXFP4 variant serves AMD's\n[`amd/Qwen3.8-Flash-Next-Quark-MXFP4`](https://huggingface.co/amd/Qwen3.8-Flash-Next-Quark-MXFP4)\ncheckpoint, which quantizes the routed experts to MXFP4 with AMD Quark. The\nvariant sets:\n\n- `VLLM_ROCM_USE_AITER=1`, which turns on the AITER kernels.\n- `VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS=1`, which fuses the shared\n  expert into the routed-expert MoE kernel.\n- `AITER_USE_FLYDSL_MOE_SORTING=1`, which sorts MoE tokens with a FlyDSL\n  kernel.\n- `--gdn-prefill-backend aiter_flydsl`, which runs Gated DeltaNet prefill\n  with a FlyDSL kernel.\n\nThe default deployment is TEP8, and the TP strategy runs TP2. The checkpoint\nalso fits on a single MI355X (288 GB HBM3E), so TP1 with the same flags\nserves one replica per GPU; the builder offers one TP size per variant, so\nset `--tensor-parallel-size 1` yourself. TP2 leaves more memory for KV cache\nand gives slightly lower per-token latency; TP1 gives more throughput per\nGPU.\n\nValidated on `vllm/vllm-openai-rocm:nightly-83c078d955cd6e0c63d3b12abe669c8de936a370`\nwith the builder's TEP8 and TP2 commands, and TP1 as the TP2 command with\n`--tensor-parallel-size 1`. GSM8K is 5-shot over 1,319 questions through\nchat completions with thinking off; throughput uses random 8k-token prompts\nand 1k-token outputs.\n\n| MXFP4 on MI355X | GSM8K | Output tok/s, concurrency 8 / 32 |\n| --- | --- | --- |\n| TEP8 | 0.965 | 665 / 1831 |\n| TP2 | 0.967 | 801 / 1384 |\n| TP1 | 0.967 | 751 / 1282 |\n\n### BF16 on MI325X\n\nThe BF16 variant sets `VLLM_ROCM_USE_AITER=1` and\n`VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS=1`. With AITER on, Gated DeltaNet\nprefill uses the AITER FlyDSL kernel (`requested=auto`), and the shared expert\nruns inside the routed-expert MoE kernel.\n\n### FP8 configuration on a 4x MI355X GPU\n```bash\nexport VLLM_ROCM_USE_AITER=1\nexport VLLM_ROCM_USE_AITER_MOE=0\n\nvllm serve Qwen/Qwen3.8-Flash-Next-FP8 \\\n--tensor-parallel-size 4 \\\n--max-model-len auto\n```\n\nMTP is opt-in on MI355X; to turn it on, add the option from the MTP\nspeculative decoding section below.\n\n### Full native context\n\nThe checkpoint advertises a native 262,144-token context, which vLLM uses when\n`--max-model-len` is omitted. Startup and bounded evaluation were validated with\nthis limit configured, but a single 262K-token request was not tested.\n\n### MTP speculative decoding\n\nAdd the following option:\n\n```bash\n--speculative-config '{\"method\":\"mtp\",\"num_speculative_tokens\":3}'\n```\n\n### Offload the 51B N-gram embedding table\n\nBuilds containing N-gram Embedding offload can keep the N-gram lookup\nmemory in host RAM and asynchronously prefetch the required rows. The initial\nimplementation supports both ModelRunner V1 and V2. PLE CPU offload is required\nfor DEP, and also required for TP/TEP on 80GB-class GPUs (H100) where the\nembedding table alone exceeds available headroom — optional only on GPUs with\nmore VRAM per rank (H200 and above). vLLM enables it by default; set it\nexplicitly with `--engram-config '{\"cpu_offload\":true}'`.\n\n```bash\nvllm serve Qwen/Qwen3.8-Flash-Next-FP8 \\\n  --tensor-parallel-size 4 \\\n  --enable-expert-parallel \\\n  --max-model-len 262144 \\\n  --enable-auto-tool-choice \\\n  --tool-call-parser qwen3_coder \\\n  --reasoning-parser qwen3\n```\n\n### Extend to one million tokens with YaRN\n\nThe checkpoint is native at 262K. For a one-million-token workload, turn on the\n**Long Context** feature above: it applies the model card's YaRN RoPE\nconfiguration under `text_config` (where this checkpoint carries\n`rope_parameters`) and raises `--max-model-len` to 1,000,000. Evaluate\nshorter-context quality before making it the default — static YaRN holds the\nscaling factor constant regardless of input length.\n\n## Verifying\n\n```python\nfrom openai import OpenAI\n\nclient = OpenAI(api_key=\"EMPTY\", base_url=\"http://localhost:8000/v1\")\nresponse = client.chat.completions.create(\n    model=\"Qwen/Qwen3.8-Flash-Next-FP8\",\n    messages=[{\n        \"role\": \"user\",\n        \"content\": \"Explain how Gated DeltaNet and Qwen Sparse Attention complement each other.\",\n    }],\n    max_tokens=8196,\n)\nprint(response.choices[0].message.content)\n```\n\nA correct response should explain that GDN maintains a compact recurrent summary,\nwhile QSA selectively retrieves important regions from the full token history.\n\n## Troubleshooting\n\n- **FP8 on eight GPUs:** use TEP8; plain TP8 is incompatible with this\n  checkpoint. TP4 is also supported if GPU memory capacity allows.\n- **Mamba-cache capacity error at startup:** keep `--max-num-seqs 256`.\n- **Runtime OOM on large multimodal batches:** lower `--max-num-batched-tokens`\n  or `--limit-mm-per-prompt`. On CUDA and ROCm, vLLM sizes the KV cache from\n  memory measured after warmup, so leave `--gpu-memory-utilization` unset\n  unless the GPU is shared\n  ([details](https://docs.vllm.ai/en/latest/configuration/optimization/#gpu-memory-utilization)).\n- **Out of memory while loading:** enable N-gram Embedding CPU offload, increase\n  TP size, or reduce `--max-model-len` to reserve less KV cache. On 4x H100\n  80GB, plain TP4 OOMs at engine startup without PLE CPU offload — keep the\n  default `--engram-config '{\"cpu_offload\":true}'`.\n- **XPU/TPU startup error:** these platforms are not supported by the initial\n  implementation.\n- **Pipeline-parallel startup error:** N-gram Embedding does not initially support\n  pipeline parallelism; use single-node TP or TEP instead.\n- **DEP startup failure:** DEP requires PLE CPU offload (on by default); DEP\n  without it is not supported.\n- **MTP memory pressure:** reduce `num_speculative_tokens` below 3.\n- **PLE:** a network layer that injects N-gram Embeddings into the main model. \n\n## KV cache offloading\n\nOffloading is available upstream since vLLM v0.30.0 ([vllm-project/vllm#57145](https://github.com/vllm-project/vllm/pull/57145)).\nValidation used [Qwen/Qwen3.8-Flash-Next-FP8](https://huggingface.co/Qwen/Qwen3.8-Flash-Next-FP8) on 4×H200 (TP4),\nvLLM commit `d1b4028d7e`, the Python frontend, `--enforce-eager`,\n`--max-model-len 16384`, `--max-num-seqs 16` and `--max-num-batched-tokens 8192`.\nQwen validation used the FP8 variant with `--limit-mm-per-prompt '{\"image\":0,\"video\":0}'`.\nValidation used `TieringOffloadingSpec`: 8 GiB total CPU tier, `blocks_per_chunk: 1`,\na persistent filesystem `root_dir`, eight read/write threads and `PYTHONHASHSEED=0`.\nThree CPU-tier reloads and three filesystem reloads after restarting the server passed.\nReloaded responses matched the cold output, including the reasoning field.\nThe five-shot GSM8K diagnostic scored 31/32; this is a small sample, not the full benchmark.\nThese results cover this text-only configuration, not the builder's larger tier/chunk defaults or other variants.\n\n## References\n\n- [Qwen3.8-Flash-Next model card](https://huggingface.co/Qwen/Qwen3.8-Flash-Next)\n- [Qwen3.8-Flash-Next FP8 checkpoint](https://huggingface.co/Qwen/Qwen3.8-Flash-Next-FP8)\n- [Qwen3.8-Flash-Next: A New Architecture, Towards Ultimate Cost-Efficiency](https://qwen.ai/blog?id=qwen3.8-flash-next)\n- [Qwen3-Next recipe](../Qwen3-Next-80B-A3B-Instruct)\n\n### Ascend deployment\n\nTwo-node 1P1D, verified end-to-end on two Atlas A2 servers (Atlas 800T A2 with\n8 x Ascend 910B3, Atlas 800I A2 with 8 x Ascend 910B4-1; 64 GB HBM per NPU) with\nvLLM Ascend 0.32.0rc1 from `quay.io/ascend/vllm-ascend:v0.32.0rc1`.\nPrefill runs TP4 x PP2 x DP1 x EP4 in one `vllm serve` process; decode runs\nTP2 x DP4 x EP8 in vLLM's multi-port external load-balancer mode, where one\n`vllm serve` supervisor process on the decode node spawns four child API servers,\none per DP rank, each owning 2 NPUs. KV moves over `MooncakeConnectorV2` in p2p\nmode — no HBM/DRAM/SSD KV pool. MTP (3 speculative tokens) is on for both pools;\nengram keeps the 51B N-gram embedding table in host memory, which is what lets the\ncheckpoint fit in 8 x 64 GB per node.\n\nThe weights are the ModelScope build `Eco-Tech/Qwen3.8-Flash-Next-w4a8`.\n`VLLM_USE_MODELSCOPE=True` with the repo id works, and so does a local copy — mount\nit into the container and pass the in-container path to `vllm serve`.\n\nIf you pull from ModelScope, mount its cache out of the container:\n`-v ~/.cache/modelscope:/root/.cache/modelscope`, or set `MODELSCOPE_CACHE` to a\nmounted path. The site's Docker command only mounts `~/.cache/huggingface`, which\nModelScope does not use — without this the ~181 GiB land in the container's\nwritable layer and are downloaded again whenever the container is recreated.\n\n**`--shm-size 128g` is required** — the Docker command on this page already sets it,\nand any hand-written `docker run` must pass it too. The decode pool's Engram table\n(51B rows) lives in `/dev/shm` as two TP shards of 47.7 GiB each, 95.4 GiB in total,\nso at 64g the second shard already fails to register (vLLM error 107017). The\nprefill pool keeps its Engram copy in anonymous pinned host memory instead and does\nnot consume `/dev/shm`.\n`/etc/hccn.conf` carries the per-NPU RoCE address/netmask the PD path uses, and the\nimage ships no copy of its own. The site's Docker tab does not mount it — if you\ntake that command, add `-v /etc/hccn.conf:/etc/hccn.conf:ro`.\n\nIf the router exits with `RuntimeError: can't start new thread`, check the\nhost's seccomp profile. Docker Engine 20.10.10 added `clone3` support to its\ndefault profile; upgrade older versions or update a custom profile to allow\nthe required syscall while keeping seccomp enabled.\n\nThe generated commands carry the recipe's environment as `-e` flags. Only if you\nstart `vllm serve` from a shell instead, prepare it first:\n\n```bash\nsource /usr/local/Ascend/ascend-toolkit/set_env.sh\n[ -f /usr/local/Ascend/nnal/atb/set_env.sh ] && source /usr/local/Ascend/nnal/atb/set_env.sh\nunset ftp_proxy FTP_PROXY https_proxy HTTPS_PROXY http_proxy HTTP_PROXY all_proxy ALL_PROXY\nunset CPLUS_INCLUDE_PATH CPATH C_INCLUDE_PATH\nunset VLLM_PP_LAYER_PARTITION\ncd /workspace          # static-kernel cache root is <cwd>/static_kernel_compile_outputs\n```\n\nvLLM-Ascend reads `ASCEND_RT_VISIBLE_DEVICES` only — change it (the recipe sets all\neight devices) to run the engines on a subset; a generic `CUDA_VISIBLE_DEVICES` is\nignored.\n\nThe recipe leaves the six communication variables below unset; vLLM and CANN infer\nthem. If the pools start but the two sides never connect — requests hang and the\nlogs show a cross-node handshake / connect timeout — set them explicitly on each\nnode (as `-e` flags on the Docker command, or exports before `vllm serve`),\npointing at that node's business interface and address:\n\n- `VLLM_HOST_IP` — the address this engine advertises to its peer over the KV\n  handshake channel; the peer connects back to exactly this address.\n- `HCCL_IF_IP` — the address HCCL binds for inter-node collectives; it has to be an\n  address of the NIC named below.\n- `HCCL_SOCKET_IFNAME` — the NIC HCCL opens its sockets on.\n- `GLOO_SOCKET_IFNAME` — the NIC PyTorch Gloo uses for host-side collectives.\n- `TP_SOCKET_IFNAME` — the NIC torch's own socket layer binds; the vLLM Ascend\n  multi-node PD tutorial exports it on every node.\n- `no_proxy` / `NO_PROXY` — both node addresses, so the two engines' traffic to\n  each other never goes through an HTTP proxy the host may set.\n\nUnset, vLLM probes the default-route address and CANN picks a NIC by itself. On a\nmulti-homed node the two choices are not unique and can disagree with the NIC the\npeer actually reaches — the mismatch then shows up as the handshake timeout above,\nnot as a startup error. One node's values, to be replaced with that node's own:\n\n```bash\nexport VLLM_HOST_IP=<this-node-ip> HCCL_IF_IP=<this-node-ip>\nexport HCCL_SOCKET_IFNAME=<business-nic>\nexport GLOO_SOCKET_IFNAME=<business-nic> TP_SOCKET_IFNAME=<business-nic>\nexport no_proxy=localhost,127.0.0.1,<prefill-ip>,<decode-ip>\nexport NO_PROXY=$no_proxy\n```\n\nBoth engines run `--max-model-len 141312`; the model supports up to 262144 tokens.\n\n**Placeholders in the generated commands.** The rendered commands carry four\nshell variables: the two node addresses, the DP RPC port and the router port.\nThe page fills in the router port; the other three must be substituted before\nanything runs:\n\n- `$PREFILL_NODE_1` — the prefill node. Set it to that node's address on the\n  interface the decode node and the router can reach; it becomes the router's\n  `--prefiller-hosts`.\n- `$DECODE_NODE_1` — the decode node. Set it to that node's own IP. Three uses: the\n  decode pool's `--data-parallel-address`, the DP coordination endpoint its\n  supervisor binds, and the router's `--decoder-hosts`, repeated once per child API\n  server. `127.0.0.1` happens to work here only because the whole decode pool is one\n  node; it fails as soon as the pool spans two, and the node's IP is never wrong.\n- `$DECODE_DP_RPC_PORT` — the port of that DP coordination endpoint. Set it to any\n  free TCP port on the decode node that no other pool or service binds (for\n  example 13345).\n- `$ROUTER_PORT` — the port the frontend listens on. Set it to any free TCP port\n  on the node that runs the router; the page fills in 30000.\n\nEvery other port in the generated commands (8001, 8002-8005, 55220, 56010) is\nalready literal; the decode supervisor's aggregated `/health` stays on vLLM's\ndefault port 9256.\n\n**Prefill node.** The generated command runs TP4 x PP2 x DP1 x EP4 in one\n`vllm serve` process, serves HTTP on :8001 and produces KV on :55220, with\n`HCCL_BUFFSIZE=8192` and the NPU socket range 61400-61499.\n\n**Decode node.** The generated command runs one `vllm serve` supervisor that\nstarts four child API servers, one per local DP rank and 2 NPUs each — child HTTP\n:8002-:8005, DP coordination on `$DECODE_DP_RPC_PORT`, KV consumer :56010 — with\n`HCCL_BUFFSIZE=512` and the NPU socket range 61500-61599. This is the only pool\nthat captures graphs, so it is also the only one that compiles static kernels.\n\nIn multi-port external LB mode the four children listen on the decode pool's\n`--port` plus their local DP rank; the supervisor itself publishes aggregated\n`/health` on vLLM's default supervisor port 9256 — setting\n`--data-parallel-supervisor-port` moves only that port. Substitute\n`$DECODE_NODE_1` and `$DECODE_DP_RPC_PORT` as described under Placeholders.\nDo not add `--data-parallel-rank`,\n`--data-parallel-external-lb` or `--data-parallel-hybrid-lb`: the supervisor\nassigns the rank per child and rejects those flags.\n\nThe generated commands carry the same `kv_connector_extra_config`; it advertises\nthe pool shapes (prefill dp1/tp4/pp2, decode dp4/tp2), so keep it in sync with the\ntp/pp/dp flags on both sides if you change them.\n\nStart decode first: its static-kernel compile makes it the slow node — about\n60-70 minutes from a fresh container, against about 10-15 for prefill. A restart\ninside the same container can reuse part of the compile cache; a new container\nstarts cold.\n\nPut the Ascend Router in front, on either node, and send requests to its port.\n\nThe router needs one decode endpoint per child API server — four here, on\n8002-8005 — because each child serves one DP rank; a single\n`--decoder-ports 8002` leaves the other three ranks idle. Both endpoint lists are\nderived from the pools' `--port`, so if you change the decode `--port`, move the\nfour decoder endpoints with it (port + rank 0..3). The Ascend Router takes no\n`--intra-node-data-parallel-size`; that flag exists only in the `vllm-router`\nfrontend. The generated command carries `$PREFILL_NODE_1` and `$DECODE_NODE_1`\n(the last once per decode child); see Placeholders for the values.\n\n```bash\ncurl -s http://127.0.0.1:30000/v1/chat/completions \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"model\":\"qwen38-flash-next-a2-pd\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}],\"max_tokens\":16}'\n```\n\n`--reasoning-parser qwen3` matters: thinking mode is the default and the chat\ntemplate seeds the assistant turn with `<think>`, so without the parser the\nreasoning block lands in `message.content`.\n\n#### Single-host PD configurations\n\nA3 uses devices 0–7 for Prefill and 8–15 for Decode with 128g of container shared memory.\n950DT uses devices 0–3 for Prefill and 4–7 for Decode with 500g of container shared memory.\nChoose **Tensor Parallel** and the **Single-host PD** preset for your hardware.\nUnder **Point**, select Prefill and then Decode for the same workload. Run the commands\nin separate terminals on that host. The table links directly to each pair.\nFor the A3 image-and-text point, expand **A3 image-and-text 10K launch scripts** above the command\nto launch all four Decode ranks, start the proxy and send the image request.\n\n| Procedure | A3 (Prefill / Decode) | 950DT (Prefill / Decode) |\n| --- | --- | --- |\n| [Basic PD](https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md#52-basic-pd-separation-deployment) | [TP2 PP4 DP1 (EP2)](?hardware=ascend_910c&variant=ascend_w4a8&strategy=single_node_tp&preset=a3_single_host_pd&point=basic_prefill) / [TP2 DP4 (EP8)](?hardware=ascend_910c&variant=ascend_w4a8&strategy=single_node_tp&preset=a3_single_host_pd&point=basic_decode) | [TP2 DP2 (EP4)](?hardware=ascend_950dt&variant=ascend_a5_w4a8_mxfp&strategy=single_node_tp&preset=a5_single_host_pd&point=basic_prefill) / [TP2 DP2 (EP4)](?hardware=ascend_950dt&variant=ascend_a5_w4a8_mxfp&strategy=single_node_tp&preset=a5_single_host_pd&point=basic_decode) |\n| [Image-and-text 10K](https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md#53-image-and-text-10k-pd-separation-deployment) | [TP4 PP2 DP1 (EP4)](?hardware=ascend_910c&variant=ascend_w4a8&strategy=single_node_tp&preset=a3_single_host_pd&point=image_10k_prefill) / [TP2 DP4 (EP8)](?hardware=ascend_910c&variant=ascend_w4a8&strategy=single_node_tp&preset=a3_single_host_pd&point=image_10k_decode) | [TP2 PP2 DP1 (EP2)](?hardware=ascend_950dt&variant=ascend_a5_w4a8_mxfp&strategy=single_node_tp&preset=a5_single_host_pd&point=image_10k_prefill) / [TP2 DP2 (EP4)](?hardware=ascend_950dt&variant=ascend_a5_w4a8_mxfp&strategy=single_node_tp&preset=a5_single_host_pd&point=image_10k_decode) |\n| [Long context](https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md#54-long-context-pd-separation-deployment) | [TP2 PP4 DP1 (EP2)](?hardware=ascend_910c&variant=ascend_w4a8&strategy=single_node_tp&preset=a3_single_host_pd&point=long_context_prefill) / [TP2 DP4 (EP8)](?hardware=ascend_910c&variant=ascend_w4a8&strategy=single_node_tp&preset=a3_single_host_pd&point=long_context_decode) | [TP4 DP1 (EP4)](?hardware=ascend_950dt&variant=ascend_a5_w4a8_mxfp&strategy=single_node_tp&preset=a5_single_host_pd&point=long_context_prefill) / [TP4 DP1 (EP4)](?hardware=ascend_950dt&variant=ascend_a5_w4a8_mxfp&strategy=single_node_tp&preset=a5_single_host_pd&point=long_context_decode) |\n\nThe 950DT Basic PD presets use the tutorial's `VLLM_VERSION=0.32.0` override with the\n`v0.32.0rc1-a5` image. If you switch images, unset this override so vLLM Ascend\ndetects the installed vLLM version.\n\nFor basic, image or long-context serving, prepare the hardware-specific container\nusing the [A3 Docker script](https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md?plain=1#L84-L123) or the [950DT Docker script](https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md?plain=1#L125-L162) in Section 4.1.\nSet `LOCAL_SERVICE_IP` and `SERVICE_NIC` to the service address\nand interface. In each role shell, initialize CANN/ATB, unset proxy variables\nand any inherited `VLLM_PP_LAYER_PARTITION`, and add Mooncake to the library path:\n\n```bash\nexport LD_LIBRARY_PATH=\"$(python -c 'import mooncake; print(next(iter(mooncake.__path__)))'):${LD_LIBRARY_PATH:-}\"\n```\n\nRun the two generated serve commands with their respective environments in separate\nshells inside that container. Start the proxy from the vLLM-Ascend repository\nroot once both role endpoints respond at `/v1/models`.\n\n| Basic PD | Prefill HTTP | Decode HTTP | Proxy HTTP |\n| --- | --- | --- | --- |\n| A3 | 25568 | 25569 | 25570 |\n| 950DT | 8088 | 8092 | 8087 |\n\n```bash\n# A3. For 950DT, set these ports to 8088, 8092 and 8087.\nPREFILL_PORT=25568\nDECODE_PORT=25569\nPROXY_PORT=25570\npython examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py \\\n    --host 0.0.0.0 --port \"${PROXY_PORT}\" \\\n    --prefiller-hosts \"${LOCAL_SERVICE_IP}\" --prefiller-ports \"${PREFILL_PORT}\" \\\n    --decoder-hosts \"${LOCAL_SERVICE_IP}\" --decoder-ports \"${DECODE_PORT}\"\n```\n\nUse the proxy ports in the linked procedure for each workload point.\nBoth long-context roles use YaRN and a 1,010,000-token service limit.\n\n#### MemCache three-tier pooling on A3 and 950DT\n\nUse the model deployment tutorial for the complete pooling procedure, including the Prefill and Decode commands.\n\n1. Before starting the container, prepare the SSD or loop devices and mount them together with the MemCache configuration directory as shown in [Section 4.3, Docker for three-tier PD pooling](https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md#43-docker-for-three-tier-pd-pooling).\n2. In [Section 5.5, PD separation with a MemCache three-tier KV cache pool](https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md#55-pd-separation-with-memcache-three-tier-kv-cache-pool), select your hardware. For a new pool, configure the MetaService and LocalService files and start MetaService. For an existing pool, use its endpoints and LocalService files and preserve its disk initialization settings.\n3. Confirm the MetaService and ConfigStore endpoints are reachable, then use the service environment and P/D launch commands in the same hardware tab.\n",
  "strategy_hardware": {
    "single_node_tp": {
      "npu": "unsupported",
      "ascend_910c": "supported",
      "ascend_950dt": "supported"
    },
    "single_node_tep": {
      "npu": "unsupported"
    },
    "single_node_dep": {
      "npu": "unsupported"
    },
    "single_node_dpa_tp": {
      "npu": "unsupported"
    },
    "multi_node_tp": {
      "npu": "unsupported"
    },
    "multi_node_tp_dp": {
      "npu": "unsupported"
    },
    "multi_node_tp_pp": {
      "npu": "unsupported"
    },
    "multi_node_tep": {
      "npu": "unsupported"
    },
    "multi_node_dep": {
      "npu": "unsupported"
    },
    "pd_cluster": {
      "npu": "unsupported",
      "ascend_910b": "supported"
    }
  },
  "presets": {
    "ascend_a2_w4a8_pd": {
      "label": "A2 W4A8 PD Separation (1P1D)",
      "hardware": "ascend_910b",
      "strategy": "pd_cluster",
      "variants": [
        "ascend_w4a8"
      ],
      "workload": "Prefill/decode disaggregation, 141312 context, MTP",
      "default": true,
      "description": "One node per pool. The prefill role overrides the pool's whole-node TP8 sizing with tp 4 and pp 2, which renders the verified TP4 x PP2 prefill layout; the decode role is DEP with TP2 x DP4 over the multi-port external load balancer, so one supervisor process on the decode node runs four child API servers (one per DP rank) and the Ascend Router fans decode requests across them, exactly as verified.",
      "select": {
        "pd_router": "ascend",
        "pd_connector": "mooncake_ascend",
        "frontend": "python"
      },
      "roles": {
        "prefill": {
          "nodes": 1,
          "parallelism": "tep",
          "tp": 4,
          "pp": 2,
          "args": [
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":false}",
            "--compilation-config",
            "{\"cudagraph_mode\":\"NONE\"}",
            "--additional-config",
            "{\"enable_shared_expert_dp\":true,\"enable_flashcomm1\":true,\"enable_prefill_mc2\":true,\"enable_fused_mc2\":0,\"enable_cpu_binding\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false}}"
          ],
          "json_args": {
            "--kv-transfer-config": {
              "kv_connector": "MooncakeConnectorV2",
              "kv_role": "kv_producer",
              "kv_load_failure_policy": null,
              "kv_port": "55220",
              "kv_connector_extra_config": {
                "prefill": {
                  "dp_size": 1,
                  "tp_size": 4,
                  "pp_size": 2
                },
                "decode": {
                  "dp_size": 4,
                  "tp_size": 2
                }
              }
            }
          },
          "env": {
            "HCCL_BUFFSIZE": "8192",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61400-61499"
          }
        },
        "decode": {
          "nodes": 1,
          "parallelism": "dep",
          "tp": 2,
          "args": [
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":true}",
            "--compilation-config",
            "{\"cudagraph_mode\":\"FULL_DECODE_ONLY\"}",
            "--additional-config",
            "{\"enable_flashcomm1\":true,\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"multistream_overlap_shared_expert\":true,\"scheduler_config\":{\"recompute_scheduler_enable\":true},\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": false
            },
            "--kv-transfer-config": {
              "kv_connector": "MooncakeConnectorV2",
              "kv_role": "kv_consumer",
              "kv_load_failure_policy": null,
              "kv_port": "56010",
              "kv_connector_extra_config": {
                "prefill": {
                  "dp_size": 1,
                  "tp_size": 4,
                  "pp_size": 2
                },
                "decode": {
                  "dp_size": 4,
                  "tp_size": 2
                }
              }
            }
          },
          "env": {
            "HCCL_BUFFSIZE": "512",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61500-61599"
          }
        }
      },
      "json": "/Qwen/Qwen3.8-Flash-Next/presets/ascend_a2_w4a8_pd.json"
    },
    "a3_single_node": {
      "label": "A3 single service, TP8",
      "hardware": "ascend_910c",
      "strategy": "single_node_tp",
      "variants": [
        "ascend_w4a8"
      ],
      "default": true,
      "select": {
        "frontend": "python"
      },
      "env": {
        "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3,4,5,6,7"
      },
      "json": "/Qwen/Qwen3.8-Flash-Next/presets/a3_single_node.json"
    },
    "a5_single_node": {
      "label": "950DT single service, TP4",
      "hardware": "ascend_950dt",
      "strategy": "single_node_tp",
      "variants": [
        "ascend_a5_w4a8_mxfp"
      ],
      "default": true,
      "select": {
        "frontend": "python"
      },
      "env": {
        "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3",
        "VLLM_ENGINE_READY_TIMEOUT_S": "4800",
        "PYTORCH_NPU_ALLOC_CONF": "expandable_segments:True",
        "OMP_PROC_BIND": "false",
        "OMP_NUM_THREADS": "1",
        "OPENBLAS_NUM_THREADS": "1",
        "TASK_QUEUE_ENABLE": "1",
        "HCCL_BUFFSIZE": "1024",
        "HCCL_NPU_SOCKET_PORT_RANGE": "auto"
      },
      "json": "/Qwen/Qwen3.8-Flash-Next/presets/a5_single_node.json"
    },
    "a3_single_host_pd": {
      "label": "Single-host PD (A3)",
      "hardware": "ascend_910c",
      "strategy": "single_node_tp",
      "variants": [
        "ascend_w4a8"
      ],
      "source": {
        "label": "Qwen3.8-Flash-Next deployment tutorial",
        "href": "https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md",
        "revision": "a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee"
      },
      "select": {
        "frontend": "python",
        "features": {
          "tool_calling": false,
          "reasoning": false,
          "spec_decoding": true
        }
      },
      "runbook": "Run Prefill on devices 0–7 and Decode on devices 8–15 in the same container. Start the proxy for the selected workload after both roles are ready.",
      "env": {
        "VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS": "3000",
        "VLLM_HOST_IP": "$LOCAL_SERVICE_IP",
        "HCCL_IF_IP": "$LOCAL_SERVICE_IP",
        "GLOO_SOCKET_IFNAME": "$SERVICE_NIC",
        "TP_SOCKET_IFNAME": "$SERVICE_NIC",
        "HCCL_SOCKET_IFNAME": "$SERVICE_NIC",
        "no_proxy": "localhost,127.0.0.1,$LOCAL_SERVICE_IP",
        "NO_PROXY": "localhost,127.0.0.1,$LOCAL_SERVICE_IP"
      },
      "args": [
        "--served-model-name",
        "qwen38-flash-next-a3-pd",
        "--max-num-seqs",
        "32",
        "--gpu-memory-utilization",
        "0.90"
      ],
      "points": {
        "basic_prefill": {
          "label": "Basic PD / Prefill",
          "default": true,
          "tp": 2,
          "args": [
            "--port",
            "25568",
            "--max-num-batched-tokens",
            "8192",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--enforce-eager",
            "--additional-config",
            "{\"enable_shared_expert_dp\":true,\"enable_flashcomm1\":true,\"enable_prefill_mc2\":true,\"enable_fused_mc2\":0,\"enable_cpu_binding\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false}}",
            "--pipeline-parallel-size",
            "4",
            "--max-model-len",
            "262144",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_producer\",\"kv_port\":32600,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":2,\"pp_size\":4},\"decode\":{\"dp_size\":4,\"tp_size\":2}}}"
          ],
          "remove_args": [
            "--compilation-config"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": true
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3,4,5,6,7",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61400-61499",
            "HCCL_BUFFSIZE": "8192"
          }
        },
        "basic_decode": {
          "label": "Basic PD / Decode",
          "tp": 2,
          "args": [
            "--port",
            "25569",
            "--data-parallel-size",
            "4",
            "--max-num-batched-tokens",
            "8192",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":true}",
            "--additional-config",
            "{\"enable_flashcomm1\":true,\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"multistream_overlap_shared_expert\":true,\"scheduler_config\":{\"recompute_scheduler_enable\":true},\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}",
            "--max-model-len",
            "262144",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_consumer\",\"kv_port\":32700,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":2,\"pp_size\":4},\"decode\":{\"dp_size\":4,\"tp_size\":2}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": false
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "8,9,10,11,12,13,14,15",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61500-61599",
            "HCCL_BUFFSIZE": "512"
          }
        },
        "long_context_prefill": {
          "label": "Long context (1M) / Prefill",
          "tp": 2,
          "args": [
            "--port",
            "25568",
            "--max-num-batched-tokens",
            "8192",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--enforce-eager",
            "--additional-config",
            "{\"enable_shared_expert_dp\":true,\"enable_flashcomm1\":true,\"enable_prefill_mc2\":true,\"enable_fused_mc2\":0,\"enable_cpu_binding\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false}}",
            "--pipeline-parallel-size",
            "4",
            "--max-model-len",
            "1010000",
            "--hf-overrides",
            "{\"text_config\":{\"rope_parameters\":{\"mrope_interleaved\":true,\"mrope_section\":[11,11,10],\"rope_type\":\"yarn\",\"rope_theta\":10000000,\"partial_rotary_factor\":0.25,\"factor\":4.0,\"original_max_position_embeddings\":262144}}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_producer\",\"kv_port\":32600,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":2,\"pp_size\":4},\"decode\":{\"dp_size\":4,\"tp_size\":2}}}"
          ],
          "remove_args": [
            "--compilation-config"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": true
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3,4,5,6,7",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61400-61499",
            "HCCL_BUFFSIZE": "8192",
            "VLLM_ALLOW_LONG_MAX_MODEL_LEN": "1"
          }
        },
        "long_context_decode": {
          "label": "Long context (1M) / Decode",
          "tp": 2,
          "args": [
            "--port",
            "25569",
            "--data-parallel-size",
            "4",
            "--max-num-batched-tokens",
            "8192",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":true}",
            "--additional-config",
            "{\"enable_flashcomm1\":true,\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"multistream_overlap_shared_expert\":true,\"scheduler_config\":{\"recompute_scheduler_enable\":true},\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}",
            "--max-model-len",
            "1010000",
            "--hf-overrides",
            "{\"text_config\":{\"rope_parameters\":{\"mrope_interleaved\":true,\"mrope_section\":[11,11,10],\"rope_type\":\"yarn\",\"rope_theta\":10000000,\"partial_rotary_factor\":0.25,\"factor\":4.0,\"original_max_position_embeddings\":262144}}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_consumer\",\"kv_port\":32700,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":2,\"pp_size\":4},\"decode\":{\"dp_size\":4,\"tp_size\":2}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": false
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "8,9,10,11,12,13,14,15",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61500-61599",
            "HCCL_BUFFSIZE": "512",
            "VLLM_ALLOW_LONG_MAX_MODEL_LEN": "1"
          }
        },
        "image_10k_prefill": {
          "label": "Image and text (10K) / Prefill",
          "tp": 4,
          "args": [
            "--port",
            "25568",
            "--max-num-batched-tokens",
            "8192",
            "--mm-encoder-tp-mode",
            "data",
            "--pipeline-parallel-size",
            "2",
            "--data-parallel-size-local",
            "1",
            "--max-model-len",
            "262144",
            "--no-enable-prefix-caching",
            "--compilation-config",
            "{\"cudagraph_mode\":\"NONE\"}",
            "--additional-config",
            "{\"enable_shared_expert_dp\":false,\"enable_flashcomm1\":true,\"enable_prefill_mc2\":true,\"enable_fused_mc2\":0,\"enable_cpu_binding\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_producer\",\"kv_port\":\"34600\",\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":4,\"pp_size\":2,\"pp_layer_partition\":\"24,24\"},\"decode\":{\"dp_size\":4,\"tp_size\":2}}}"
          ],
          "remove_args": [
            "--enable-prefix-caching",
            "--mamba-cache-mode",
            "--mamba-ssm-cache-dtype",
            "--enforce-eager"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": true
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3,4,5,6,7",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61400-61499",
            "HCCL_BUFFSIZE": "4096",
            "VLLM_SERVER_DEV_MODE": "1",
            "VLLM_ENGINE_READY_TIMEOUT_S": "2400",
            "VLLM_ASCEND_PLE_BACKEND": "torch",
            "VLLM_PP_LAYER_PARTITION": "24,24"
          }
        },
        "image_10k_decode": {
          "label": "Image and text (10K) / Decode",
          "description": "This command runs one Decode rank. Run the four-rank loop in the A3 image-and-text 10K launch scripts above the command to set the device pair, API port and Mooncake configuration for each rank.",
          "tp": 2,
          "args": [
            "--data-parallel-size",
            "4",
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":true}",
            "--additional-config",
            "{\"enable_flashcomm1\":true,\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"multistream_overlap_shared_expert\":true,\"scheduler_config\":{\"recompute_scheduler_enable\":true},\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}",
            "--port",
            "$DECODE_HTTP_PORT",
            "--data-parallel-size-local",
            "1",
            "--data-parallel-rank",
            "$DECODE_RANK",
            "--data-parallel-address",
            "$LOCAL_SERVICE_IP",
            "--data-parallel-rpc-port",
            "29569",
            "--max-model-len",
            "262144",
            "--max-num-batched-tokens",
            "4096",
            "--no-enable-prefix-caching",
            "--kv-transfer-config",
            "$DECODE_KV_CONFIG"
          ],
          "remove_args": [
            "--enable-prefix-caching",
            "--mamba-cache-mode",
            "--mamba-ssm-cache-dtype"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": null
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "$DECODE_DEVICES",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61500-61599",
            "HCCL_BUFFSIZE": "512",
            "VLLM_SERVER_DEV_MODE": "1",
            "VLLM_ENGINE_READY_TIMEOUT_S": "2400",
            "VLLM_ASCEND_PLE_BACKEND": "torch"
          }
        }
      },
      "json": "/Qwen/Qwen3.8-Flash-Next/presets/a3_single_host_pd.json"
    },
    "a5_single_host_pd": {
      "label": "Single-host PD (950DT)",
      "hardware": "ascend_950dt",
      "strategy": "single_node_tp",
      "variants": [
        "ascend_a5_w4a8_mxfp"
      ],
      "source": {
        "label": "Qwen3.8-Flash-Next deployment tutorial",
        "href": "https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md",
        "revision": "a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee"
      },
      "select": {
        "frontend": "python",
        "features": {
          "tool_calling": false,
          "reasoning": false,
          "spec_decoding": true
        }
      },
      "runbook": "Run Prefill on devices 0–3 and Decode on devices 4–7 in the same container. Start the proxy for the selected workload after both roles are ready.",
      "points": {
        "basic_prefill": {
          "label": "Basic PD / Prefill",
          "default": true,
          "tp": 2,
          "args": [
            "--compilation-config",
            "{\"cudagraph_mode\":\"NONE\"}",
            "--api-server-count",
            "1",
            "--port",
            "8088",
            "--served-model-name",
            "qwen38-flash-next-950-dt-pd",
            "--data-parallel-size",
            "2",
            "--data-parallel-address",
            "$LOCAL_SERVICE_IP",
            "--data-parallel-rpc-port",
            "13388",
            "--max-model-len",
            "143360",
            "--max-num-seqs",
            "64",
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":true}",
            "--mamba-cache-mode",
            "align",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--additional-config",
            "{\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"enable_fused_mc2\":0,\"enable_flashcomm1\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":false,\"enable_super_kernel\":false}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_producer\",\"kv_port\":30000,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":2,\"tp_size\":2},\"decode\":{\"dp_size\":2,\"tp_size\":2}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": null
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61400-61499",
            "VLLM_HOST_IP": "$LOCAL_SERVICE_IP",
            "HCCL_IF_IP": "$LOCAL_SERVICE_IP",
            "GLOO_SOCKET_IFNAME": "$SERVICE_NIC",
            "TP_SOCKET_IFNAME": "$SERVICE_NIC",
            "HCCL_SOCKET_IFNAME": "$SERVICE_NIC",
            "VLLM_VERSION": "0.32.0",
            "VLLM_USE_V1": "1",
            "VLLM_RPC_TIMEOUT": "3600000",
            "HCCL_EXEC_TIMEOUT": "204",
            "HCCL_CONNECT_TIMEOUT": "120",
            "VLLM_ASCEND_ENABLE_MLAPO": "1",
            "VLLM_ENGINE_READY_TIMEOUT_S": "4800",
            "PYTORCH_NPU_ALLOC_CONF": "expandable_segments:True",
            "OMP_PROC_BIND": "false",
            "OMP_NUM_THREADS": "1",
            "OPENBLAS_NUM_THREADS": "1",
            "TASK_QUEUE_ENABLE": "1",
            "HCCL_BUFFSIZE": "8192",
            "HCCL_OP_EXPANSION_MODE": "AIV",
            "ASCEND_BUFFER_POOL": "0:0",
            "HCCL_IF_BASE_PORT": "62000",
            "no_proxy": "localhost,127.0.0.1,$LOCAL_SERVICE_IP",
            "NO_PROXY": "localhost,127.0.0.1,$LOCAL_SERVICE_IP"
          }
        },
        "basic_decode": {
          "label": "Basic PD / Decode",
          "tp": 2,
          "args": [
            "--api-server-count",
            "1",
            "--port",
            "8092",
            "--served-model-name",
            "qwen38-flash-next-950-dt-pd",
            "--data-parallel-size",
            "2",
            "--data-parallel-address",
            "$LOCAL_SERVICE_IP",
            "--data-parallel-rpc-port",
            "13389",
            "--max-model-len",
            "143360",
            "--max-num-seqs",
            "64",
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":true}",
            "--mamba-cache-mode",
            "align",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--additional-config",
            "{\"enable_cpu_binding\":true,\"enable_shared_expert_dp\":true,\"enable_fused_mc2\":0,\"enable_flashcomm1\":true,\"multistream_overlap_shared_expert\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false},\"scheduler_config\":{\"recompute_scheduler_enable\":true}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_consumer\",\"kv_port\":30100,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":2,\"tp_size\":2},\"decode\":{\"dp_size\":2,\"tp_size\":2}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": false
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "4,5,6,7",
            "VLLM_ENGINE_READY_TIMEOUT_S": "4800",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61500-61599",
            "VLLM_HOST_IP": "$LOCAL_SERVICE_IP",
            "HCCL_IF_IP": "$LOCAL_SERVICE_IP",
            "GLOO_SOCKET_IFNAME": "$SERVICE_NIC",
            "TP_SOCKET_IFNAME": "$SERVICE_NIC",
            "HCCL_SOCKET_IFNAME": "$SERVICE_NIC",
            "VLLM_VERSION": "0.32.0",
            "VLLM_USE_V1": "1",
            "VLLM_RPC_TIMEOUT": "3600000",
            "HCCL_EXEC_TIMEOUT": "204",
            "HCCL_CONNECT_TIMEOUT": "120",
            "VLLM_ASCEND_ENABLE_MLAPO": "1",
            "PYTORCH_NPU_ALLOC_CONF": "expandable_segments:True",
            "OMP_PROC_BIND": "false",
            "OMP_NUM_THREADS": "1",
            "OPENBLAS_NUM_THREADS": "1",
            "TASK_QUEUE_ENABLE": "1",
            "HCCL_BUFFSIZE": "8192",
            "HCCL_OP_EXPANSION_MODE": "AIV",
            "ASCEND_BUFFER_POOL": "0:0",
            "HCCL_IF_BASE_PORT": "63000",
            "no_proxy": "localhost,127.0.0.1,$LOCAL_SERVICE_IP",
            "NO_PROXY": "localhost,127.0.0.1,$LOCAL_SERVICE_IP"
          }
        },
        "long_context_prefill": {
          "label": "Long context (1M) / Prefill",
          "tp": 4,
          "args": [
            "--compilation-config",
            "{\"cudagraph_mode\":\"NONE\"}",
            "--port",
            "8247",
            "--served-model-name",
            "qwen38-megamoe-sp-pd",
            "--pipeline-parallel-size",
            "1",
            "--max-model-len",
            "1010000",
            "--max-num-seqs",
            "16",
            "--gpu-memory-utilization",
            "0.9",
            "--mamba-cache-mode",
            "align",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--additional-config",
            "{\"enable_shared_expert_dp\":true,\"enable_flashcomm1\":true,\"enable_cpu_binding\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false}}",
            "--hf-overrides",
            "{\"text_config\":{\"rope_parameters\":{\"mrope_interleaved\":true,\"mrope_section\":[11,11,10],\"rope_type\":\"yarn\",\"rope_theta\":10000000,\"partial_rotary_factor\":0.25,\"factor\":4.0,\"original_max_position_embeddings\":262144}}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_producer\",\"kv_port\":\"32470\",\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":4},\"decode\":{\"dp_size\":1,\"tp_size\":4}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": true
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61400-61499",
            "VLLM_ALLOW_LONG_MAX_MODEL_LEN": "1",
            "VLLM_ENGINE_READY_TIMEOUT_S": "2400",
            "VLLM_ASCEND_PLE_BACKEND": "torch",
            "HCCL_BUFFSIZE": "512"
          }
        },
        "long_context_decode": {
          "label": "Long context (1M) / Decode",
          "tp": 4,
          "args": [
            "--port",
            "8248",
            "--served-model-name",
            "qwen38-megamoe-sp-pd",
            "--max-model-len",
            "1010000",
            "--max-num-seqs",
            "16",
            "--gpu-memory-utilization",
            "0.9",
            "--mamba-cache-mode",
            "align",
            "--mamba-ssm-cache-dtype",
            "bfloat16",
            "--additional-config",
            "{\"enable_flashcomm1\":true,\"enable_cpu_binding\":true,\"multistream_overlap_shared_expert\":true,\"scheduler_config\":{\"recompute_scheduler_enable\":true},\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false}}",
            "--hf-overrides",
            "{\"text_config\":{\"rope_parameters\":{\"mrope_interleaved\":true,\"mrope_section\":[11,11,10],\"rope_type\":\"yarn\",\"rope_theta\":10000000,\"partial_rotary_factor\":0.25,\"factor\":4.0,\"original_max_position_embeddings\":262144}}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_consumer\",\"kv_port\":\"32480\",\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":4},\"decode\":{\"dp_size\":1,\"tp_size\":4}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": false
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "4,5,6,7",
            "VLLM_ENGINE_READY_TIMEOUT_S": "4800",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61500-61599",
            "VLLM_ALLOW_LONG_MAX_MODEL_LEN": "1",
            "VLLM_ASCEND_PLE_BACKEND": "torch",
            "HCCL_BUFFSIZE": "512"
          }
        },
        "image_10k_prefill": {
          "label": "Image and text (10K) / Prefill",
          "tp": 2,
          "args": [
            "--compilation-config",
            "{\"cudagraph_mode\":\"NONE\"}",
            "--port",
            "8247",
            "--served-model-name",
            "qwen38-megamoe-sp-pd",
            "--pipeline-parallel-size",
            "2",
            "--max-model-len",
            "143360",
            "--max-num-seqs",
            "64",
            "--max-num-batched-tokens",
            "8192",
            "--gpu-memory-utilization",
            "0.9",
            "--additional-config",
            "{\"enable_shared_expert_dp\":true,\"enable_flashcomm1\":true,\"multistream_overlap_shared_expert\":true,\"enable_cpu_binding\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false}}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_producer\",\"kv_port\":32470,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":2,\"pp_size\":2,\"pp_layer_partition\":\"25,23\"},\"decode\":{\"dp_size\":2,\"tp_size\":2}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": true
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "0,1,2,3",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61400-61499",
            "VLLM_ENGINE_READY_TIMEOUT_S": "4800",
            "VLLM_ASCEND_PLE_BACKEND": "torch",
            "VLLM_PP_LAYER_PARTITION": "25,23",
            "HCCL_BUFFSIZE": "512"
          }
        },
        "image_10k_decode": {
          "label": "Image and text (10K) / Decode",
          "tp": 2,
          "args": [
            "--port",
            "8248",
            "--served-model-name",
            "qwen38-megamoe-sp-pd",
            "--data-parallel-size",
            "2",
            "--max-model-len",
            "143360",
            "--max-num-seqs",
            "64",
            "--max-num-batched-tokens",
            "8192",
            "--gpu-memory-utilization",
            "0.9",
            "--engram-config",
            "{\"cpu_offload\":true,\"dp_shared_memory\":true}",
            "--additional-config",
            "{\"enable_shared_expert_dp\":true,\"enable_flashcomm1\":true,\"multistream_overlap_shared_expert\":true,\"enable_cpu_binding\":true,\"ascend_compilation_config\":{\"fuse_norm_quant\":false,\"enable_npugraph_ex\":true,\"enable_static_kernel\":true,\"enable_super_kernel\":false},\"enable_fused_mc2\":0}",
            "--kv-transfer-config",
            "{\"kv_connector\":\"MooncakeConnectorV2\",\"kv_role\":\"kv_consumer\",\"kv_port\":32480,\"kv_connector_extra_config\":{\"prefill\":{\"dp_size\":1,\"tp_size\":2,\"pp_size\":2,\"pp_layer_partition\":\"25,23\"},\"decode\":{\"dp_size\":2,\"tp_size\":2}}}"
          ],
          "json_args": {
            "--speculative-config": {
              "enforce_eager": false
            }
          },
          "env": {
            "ASCEND_RT_VISIBLE_DEVICES": "4,5,6,7",
            "VLLM_ENGINE_READY_TIMEOUT_S": "4800",
            "HCCL_NPU_SOCKET_PORT_RANGE": "61500-61599",
            "VLLM_ASCEND_PLE_BACKEND": "torch",
            "HCCL_BUFFSIZE": "512"
          }
        }
      },
      "json": "/Qwen/Qwen3.8-Flash-Next/presets/a5_single_host_pd.json"
    }
  },
  "hardware_notes": {
    "ascend_910b": {
      "title": "Two-node A2 needs v0.32.0rc1 and 128g of shm",
      "body": "Verified on two Atlas A2 servers with 1P1D disaggregation. Pin quay.io/ascend/vllm-ascend:v0.32.0rc1; the Docker command below already starts each container with `--shm-size=128g`, because Engram keeps about 95 GiB in `/dev/shm` on the decode node. The Ascend deployment guide below covers the remaining prerequisites, environment variables and caveats. The generated commands carry four placeholders; the guide lists them.",
      "link": {
        "label": "Ascend deployment",
        "href": "#ascend-deployment"
      }
    },
    "ascend_910c": {
      "title": "Docker setup for A3",
      "body": "Use the A3 container script in Section 4.1 with the v0.32.0rc1-a3 image and 128g of shared memory. For PD, mount /etc/hccn.conf read-only and run Prefill and Decode in separate shells in that container. Select W4A8 (Ascend A2/A3) and Single-host PD (A3) for the paired worker commands.",
      "link": {
        "label": "Section 4.1 — A3 Docker script",
        "href": "https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md?plain=1#L84-L123"
      }
    },
    "ascend_950dt": {
      "title": "Docker setup for 950DT",
      "body": "Use the 950DT container script in Section 4.1 with the v0.32.0rc1-a5 image and 500g of shared memory. It maps /dev/ummu and /dev/uburma and mounts the firmware and /etc/hixlep directories. For PD, run Prefill and Decode in separate shells in that container. Select W4A8-MXFP and Single-host PD (950DT) for the paired worker commands.",
      "link": {
        "label": "Section 4.1 — 950DT Docker script",
        "href": "https://github.com/vllm-project/vllm-ascend/blob/a41e2ff8ba274328f9ef2ff27d15653df1d2e8ee/docs/source/tutorials/models/Qwen3.8-Flash-Next.md?plain=1#L125-L162"
      }
    }
  },
  "source": {
    "source": "vllm",
    "repo": "vllm-project/vllm",
    "ref": "main",
    "sha": "d51a5147112a31dfbed08cfa4b774c27c34ce90d",
    "path": "recipes/models/Qwen/Qwen3.8-Flash-Next.yaml",
    "edit_url": "https://github.com/vllm-project/vllm/edit/main/recipes/models/Qwen/Qwen3.8-Flash-Next.yaml",
    "overlays": [
      {
        "source": "vllm-ascend",
        "repo": "vllm-project/vllm-ascend",
        "ref": "main",
        "sha": "146b0a57242da88e245bfc4840367947d9b33a68",
        "path": "recipes/overlays/Qwen/Qwen3.8-Flash-Next.yaml",
        "edit_url": "https://github.com/vllm-project/vllm-ascend/edit/main/recipes/overlays/Qwen/Qwen3.8-Flash-Next.yaml"
      }
    ]
  }
}