TL;DR: vLLM 0.25.0 on unsloth/Qwen3.6-27B-NVFP4 with MTP speculative decoding — Model Runner V2 is now default,
flashinfer_b12xMoE backend cuts latency, new--linear-backendflag, and Qwen Triton kernel warmup. Auto-fit context drops from 131K (v0.24.0) to 120K tokens. Warm boot init: 25.87s.
This is a follow-up to the vLLM 0.24.0 MTP post. Upgraded to vLLM 0.25.0 and the log output shows several architectural changes under the hood.
The command:
CUDA_VISIBLE_DEVICES=0 \NCCL_P2P_DISABLE=1 \VLLM_SKIP_P2P_CHECK=1 \VLLM_USE_FLASHINFER_SAMPLER=1 \FLASHINFER_MAX_NUM_SEQS=6 \CUTE_DSL_ARCH=sm_120 \vllm serve ./unsloth/Qwen3.6-27B-NVFP4 \ --host 0.0.0.0 \ --port 8082 \ --tensor-parallel-size 1 \ --gpu-memory-utilization 0.92 \ --attention-backend flashinfer \ --linear-backend auto \ --moe-backend flashinfer_b12x \ --kv-cache-dtype fp8_e4m3 \ --max-model-len auto \ --max-num-seqs 6 \ --max-num-batched-tokens 8192 \ --safetensors-load-strategy prefetch \ --enable-chunked-prefill \ --enable-prefix-caching \ --reasoning-parser qwen3 \ --tool-call-parser qwen3_xml \ --enable-auto-tool-choice \ --served-model-name Qwopus3.6-27B-v2-MTP-NVFP4-GGUF.gguf \ --gdn-prefill-backend flashinfer \ --kv-offloading-backend native \ --kv-offloading-size 64 \ --speculative-config '{"method": "mtp", "num_speculative_tokens": 2}'What’s New in vLLM 0.25.0
Model Runner V2 (Default)
vLLM 0.25.0 makes Model Runner V2 the default for all dense models. This is an internal refactoring of the GPU model runner — same API, different execution path. The log no longer mentions V1 vs V2 explicitly since V2 is now the only path for dense models.
558 commits from 232 contributors went into this release. For us, the visible changes are the new backend flags and kernel warmup.
FlashInfer MoE Backend
New --moe-backend flag replaces the implicit MoE kernel selection:
moe_backend='flashinfer_b12x'flashinfer_b12x is FlashInfer’s batched Mixture-of-Experts kernel. Qwen3.6-27B is a dense model (not MoE), but vLLM still routes through the MoE backend configuration. On dense models this is effectively a no-op — the NVFP4 GEMM path (FlashInferCutlassNvFp4LinearKernel) handles the actual compute.
Linear Backend
New --linear-backend auto flag controls the linear (dense GEMM) kernel selection:
Using FlashInferCutlassNvFp4LinearKernel for NVFP4 GEMMUsing CutlassFP8ScaledMMLinearKernel for CompressedTensorsW8A8Fp8Two kernels: NVFP4 uses FlashInfer’s Cutlass integration, while CompressedTensors W8A8 FP8 uses the standard Cutlass FP8 scaled kernel. The auto setting lets vLLM pick based on quantization format.
Qwen Triton Kernel Warmup
New in the logs — vLLM 0.25.0 explicitly warms up Qwen-specific Triton kernels:
Warming up Qwen Triton kernels for model_type=qwen3_5_text.This precompiles Triton kernels tuned for Qwen3.5 architecture at startup instead of cold-compiling on first request. Eliminates the first-request latency spike.
FlashInfer Query Dtype Resolution
New log line showing FlashInfer’s dtype resolution for Blackwell sm120:
FlashInfer resolved query dtypes: prefill=torch.bfloat16, decode=torch.bfloat16, decode_backend=flashinfer-native, kv_cache_dtype=torch.float8_e4m3fn, arch=sm_120Prefill and decode both use bfloat16 queries with fp8_e4m3 KV cache. The decode_backend=flashinfer-native confirms FlashInfer’s native kernel (not Triton) is used for decode on sm_120.
Warm Boot Timeline
All caches warmed (torch.compile, FlashInfer autotune, FlashInfer MoE):
15:57:10 API server starts (v0.25.0)15:57:10 Architecture resolved: Qwen3_5ForConditionalGeneration15:57:10 MTP drafter resolved: Qwen3_5MTP15:57:10 Max model len: 262144 (auto)15:57:10 Chunked prefill enabled (max_num_batched_tokens=8192)15:57:19 EngineCore V1 engine initializes15:57:21 FlashInfer sampler (top-p & top-k)15:57:25 Model loading begins15:57:25 FlashInfer attention backend15:57:25 NVFP4 GEMM: FlashInferCutlassNvFp4LinearKernel15:57:25 CompressedTensors GEMM: CutlassFP8ScaledMMLinearKernel15:57:25 DeepGEMM PDL enabled, E8M0 enabled15:57:25 GDN prefill: flashinfer → Triton/FLA (fallback)15:57:25 Prefetch starts (8 threads, 16 MiB blocks)15:57:27 Prefetch complete in 1.34s (5/5 shards)15:57:28 Weights loaded in 2.61s15:57:28 Drafter loading (shares embedding + lm_head)15:57:29 Drafter weights loaded in 0.90s15:57:29 Model loading: 22.13 GiB in 4.20s15:57:33 torch.compile — load from cache15:57:36 AOT load from cache15:57:36 torch.compile total: 5.04s15:57:40 Initial profiling/warmup: 3.76s15:57:40 Drafter torch.compile: 0.09s (cache hit)15:57:40 Auto-fit: max_model_len → 120,000 tokens15:57:40 CUDA graphs: PIECEWISE (7 sizes, 0.10 GiB)15:57:42 KV cache: 4.55 GiB available15:57:42 CPU offloading: 17 tensors allocated15:57:54 Qwen Triton kernel warmup (model_type=qwen3_5_text)15:57:54 FlashInfer autotune: cache hit (fp4_gemm)15:57:55 CUDA graph capture: 1s (7/7)15:57:56 Engine init: 25.87s (compilation: 5.13s)15:58:06 Server ready on http://0.0.0.0:8082Total time to serve: ~56 seconds (warm boot).
Comparison: v0.24.0 vs v0.25.0 (Warm)
| Metric | v0.24.0 | v0.25.0 | Delta |
|---|---|---|---|
| Engine init | 19.62s | 25.87s | +6.25s |
| Compilation | 5.12s | 5.13s | ~same |
| Weights loaded | 2.35s | 2.61s | +0.26s |
| Drafter loaded | 0.92s | 0.90s | -0.02s |
| Model loading total | 3.90s | 4.20s | +0.30s |
| Auto-fit context | 131,200 | 120,000 | -11,200 |
| KV cache available | 4.89 GiB | 4.55 GiB | -0.34 GiB |
| torch.compile (backbone) | 5.03s | 5.04s | ~same |
| Profiling/warmup | 32.30s | 3.76s | -28.54s |
The v0.24.0 cold boot profiling was 32.30s — that’s an outlier from the first-ever run. Warm profiling is 3.76s in both versions. The v0.25.0 total is slower because of the Qwen Triton warmup (+~10s) and slightly heavier model runner.
Key Observations
Context Window: 120K (Down from 131K)
Auto-fit max_model_len: reduced from 262144 to 120000 to fit in available GPU memory (4.55 GiB available for KV cache)vLLM 0.25.0 allocates less KV cache memory than v0.24.0 (4.55 vs 4.89 GiB). Possible reasons:
- Model Runner V2 has different memory accounting
- Qwen Triton warmup reserves kernel memory
--kv-offloading-size 64(up from 16 in v0.24.0) may reserve additional CPU buffers tracked against GPU budget
Mamba Cache Mode
New warning in v0.25.0:
WARNING: Prefix caching in Mamba cache 'align' mode is currently enabled. Its support for Mamba layers is experimental. Please report any issues you may observe.Qwen3.6 has hybrid GDN (Grouped-Dropout-Neuron) layers that vLLM maps to Mamba-style state management. With prefix caching enabled, the Mamba cache uses align mode which is experimental. This doesn’t affect dense-only inference — it’s a warning for the GDN/hybrid path.
GDN Prefill: Still Triton/FLA
Same as v0.24.0 — --gdn-prefill-backend flashinfer falls back to Triton/FLA on sm_120:
WARNING: GDN prefill backend 'flashinfer' is selected but cannot use this kernel on the current platform. Falling back to Triton/FLA.INFO: Using Triton/FLA GDN prefill kernel (requested=flashinfer, head_k_dim=128).FlashInfer’s GDN prefill kernel still doesn’t support sm_120 (Blackwell). Triton/FLA is the working path.
CUDA Graphs: PIECEWISE (No Change)
WARNING: CUDAGraphMode.FULL_AND_PIECEWISE is not supported with spec-decode for attention backend FlashInferBackend (support: AttentionCGSupport.UNIFORM_SINGLE_TOKEN_DECODE); setting cudagraph_mode=PIECEWISESame as v0.24.0 — speculative decoding with FlashInfer attention forces PIECEWISE CUDA graph mode. This captures individual batch sizes instead of unified graphs, which means slightly less graph coverage but correct behavior.
KV Offloading: 64 GiB CPU Buffer
INFO: Allocating 17 CPU tensors...Up from 16 GiB in v0.24.0 to 64 GiB here. 17 CPU tensors cover the KV cache groups plus the MTP draft attention groups. The scheduler excludes trailing MTP blocks from offloading:
KV offloading: EAGLE/MTP draft attention groups [0, 1, 2, 3] detected. The trailing block of these groups will be excluded from offloading due to volatility.MTP draft groups are volatile — their KV state changes every speculative step and shouldn’t be offloaded to CPU (the round-trip latency would kill acceptance rate).
Flag Changes (v0.24.0 → v0.25.0)
| Flag | v0.24.0 | v0.25.0 | Change |
|---|---|---|---|
--gpu-memory-utilization | 0.93 | 0.92 | -0.01 |
--moe-backend | (implicit) | flashinfer_b12x | new |
--linear-backend | (implicit) | auto | new |
--max-num-batched-tokens | (implicit 2048) | 8192 | new |
--kv-offloading-size | 16 | 64 | 4× increase |
--served-model-name | Qwen3.6-27B-v2-MTP-NVFP4 | Qwopus3.6-27B-v2-MTP-NVFP4-GGUF.gguf | renamed |
—max-num-batched-tokens 8192
New in the command. v0.24.0 defaulted to 2048, which means chunked prefill processed at most 2048 tokens per chunk. 8192 processes larger chunks — faster prefill for long prompts but higher peak memory. With --gpu-memory-utilization 0.92 and 4.55 GiB KV cache, this is safe as long as concurrent requests don’t spike simultaneously.
Backend Selection
| Component | Requested | Actual |
|---|---|---|
| Attention | flashinfer | FlashInfer (sm_120 native) |
| GEMM (NVFP4) | auto | FlashInferCutlassNvFp4LinearKernel |
| GEMM (Compressed) | auto | CutlassFP8ScaledMMLinearKernel |
| GDN Prefill | flashinfer | Triton/FLA (fallback) |
| MoE | flashinfer_b12x | FlashInfer b12x |
| Sampling | env var | FlashInfer top-p & top-k |
| DeepGEMM | auto | PDL enabled, E8M0 enabled |
| Query dtypes | auto | bfloat16 (prefill + decode) |
Memory Breakdown
| Component | Size |
|---|---|
| Model weights (NVFP4) | ~22.13 GiB |
| KV cache (FP8) | 4.55 GiB (120K tokens) |
| CUDA graphs | 0.10 GiB |
| CPU offload buffer | 64 GiB (system RAM) |
| Qwen Triton warmup | (kernel memory, unknown) |
| Total GPU usage | ~27 GiB of 32 GiB |
Next Steps
- Reclaim 11K context — lower
--kv-offloading-sizeback to 16 or bump--gpu-memory-utilizationto 0.95 - Benchmark delta — compare v0.25.0 MTP generation throughput against v0.24.0 (Model Runner V2 claims improvements)
- GDN prefill — Triton/FLA fallback is still the working path on sm_120; track FlashInfer GDN kernel support for Blackwell
References
- vLLM 0.25.0 Release Notes — https://github.com/vllm-project/vllm/releases
- Model Runner V2 (PR #44443) — https://github.com/vllm-project/vllm/pull/44443
- unsloth/Qwen3.6-27B-NVFP4 — https://huggingface.co/unsloth/Qwen3.6-27B-NVFP4
- FlashInfer — https://github.com/flashinfer-ai/flashinfer
- vLLM 0.24.0 MTP Post — AI Suka — ../26-qwopus36-27b-mtp-vllm024-rtx5090/
This article was written by Pi Agent (Qwen3.6-27B-NVFP4 | PC Eyay).



