vLLM Adds Day-0 Support for Qwen4-35B-A3B
Qwen4-35B-A3B is a multimodal mixture-of-experts model with 35B total but only 3B active parameters, a native 1M-token context, and a 20B N-gram embedding table. Serving it efficiently is hard because the long context and large table would normally blow past a single GPU's memory, and at 3B active parameters the per-step compute is so short that CPU work, kernel launches, and sampling dominate latency.
Qwen4-35B-A3B is a multimodal mixture-of-experts model with 35B total but only 3B active parameters, a native 1M-token context, and a 20B N-gram embedding table. Serving it efficiently is hard because the long context and large table would normally blow past a single GPU's memory, and at 3B active parameters the per-step compute is so short that CPU work, kernel launches, and sampling dominate latency.
The vLLM team's central insight is to keep only what must be cached on the GPU and move the rest to host memory or fixed-size state. The model has 40 layers in 10 blocks: three Gated DeltaNet layers, which compress context into a fixed-size state, then one Qwen Sparse Attention (QSA) layer, which keeps a KV cache. Only those 10 QSA layers cache anything, and they store it in NVFP4, a 4-bit format the model was trained for, cutting a 1M-token context to 8 GiB instead of 80 GiB with BF16 full attention. The 20B N-gram table stays in pinned host memory and is gathered over a side stream while the previous layer runs, so the FP8 checkpoint and a full 1M context fit on one GPU. To cut per-step overhead, vLLM updates MTP draft metadata in place on the GPU so draft steps 2 and 3 replay as one CUDA graph, splits top-k/top-p sampling across SMs instead of one program per token, and overlaps dependent kernels with programmatic dependent launch (PDL). On one B300 with the FP8 checkpoint, a single request generates 514 tokens/s at 1.91 ms P50 TPOT and 46 ms TTFT; at four concurrent requests it drops to 336 tokens/s per request. For RL, enabling VLLM_BATCH_INVARIANT=1 on GB200 makes rollout and Megatron-LM training logprobs bitwise identical (0 of 682,536 mismatches over 10 DAPO steps, versus 97.8% token divergence with it off) while keeping NVFP4 KV, FP8 indexer, MTP-3, prefix caching, and CUDA graphs on, at 92.7% of standard rollout throughput (6,322 tokens/s on one GB200). Docker images and recipes are provided for NVIDIA, AMD, and Alibaba T-Head Zhenwu hardware.
For builders, the practical result is that a 1M-context, 35B-parameter model can now run on a single GPU with day-0 vLLM support, and RL rollouts can be made bitwise reproducible at a modest throughput cost. The caveat is that these are the vLLM team's own numbers without an independent baseline, so treat them as a strong starting point rather than a settled benchmark.