TL;DR: vLLM 0.26.0 on RTX 5090 requires
--enforce-eagerfor hybrid GDN models like Qwopus3.6-27B NVFP4 — CUDA graph capture OOMs or crashes on Blackwell SM120. The flag now directly disables onlytorch.compileand CUDA graphs (not the entire-O0optimization level), preserving FlashInfer autotuning. Model loads in 2.72s, allocates 8.87 GiB KV cache (278K tokens, 1.06x concurrency).
Following up on the vLLM 0.25.1 recipe. The changes: upgraded to vLLM 0.26.0, switched back from TurboQuant to fp8_e4m3 KV cache (TurboQuant was removed from vLLM core in this cycle), added --enforce-eager for stability, enabled --enable-cumem-allocator, and use --max-model-len auto.
The command:
PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True \CUDA_VISIBLE_DEVICES=0 \NCCL_P2P_DISABLE=1 \VLLM_SKIP_P2P_CHECK=1 \CUTE_DSL_ARCH=sm_120a \vllm serve ./crushleorey/Qwopus3.6-27B-v2-NVFP4 \ --host 0.0.0.0 \ --port 8082 \ --tensor-parallel-size 1 \ --kv-cache-dtype fp8_e4m3 \ --max-model-len auto \ --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 \ --kv-offloading-backend native \ --kv-offloading-size 64 \ --gdn-prefill-backend triton \ --chat-template ./chat_template-fixes/chat_template.jinja \ --max-num-batched-tokens 4096 \ --enable-cumem-allocator \ --gpu-memory-utilization 0.92 \ --enforce-eager—enforce-eager — The Blackwell CUDA Graph Problem
The biggest change since the 0.25.1 recipe: adding --enforce-eager. Without it, CUDA graph capture fails on RTX 5090 with this model.
The vLLM logs make this explicit:
WARNING [vllm.py:1163] Enforce eager set, disabling torch.compile and CUDAGraphs.WARNING [vllm.py:1213] Inductor compilation was disabled by user settings.INFO [vllm.py:1392] Cudagraph is disabled under eager modeIn vLLM 0.26.0, --enforce-eager was overhauled via PR #34523. Previously, it set the optimization level to -O0, which disabled everything including FlashInfer autotuning. Now it directly sets compilation_config.mode=NONE and compilation_config.cudagraph_mode=NONE — a surgical disable that preserves FlashInfer autotuning and other -O2 defaults.
Why CUDA graphs fail on RTX 5090
For hybrid GDN (Gated Delta Network) models like Qwen3.5/3.6 variants, CUDA graph capture on Blackwell SM120 has multiple failure modes:
-
Capture OOM — CUDA graph capture requires temporary buffer allocations beyond model weights and KV cache. On memory-tight 32 GB cards, the capture reserve takes the remaining headroom, causing OOM mid-capture. See issue #44209: non-deterministic KV-cache reservation on hybrid GDN models causes OOM during capture after
/healthreturns 200. -
Sustained-load crash — issue #35659 documents
cudaErrorIllegalAddressunder sustained parallel load with CUDA graphs on SM120. The crash is time-dependent (8-20 minutes), not concurrency-dependent. Memory corruption accumulates during CUDA graph replays.--enforce-eagereliminates the crash entirely. -
NULL_BLOCK_ID guard mismatch — PR #39064 fixed ILA errors under CUDA graphs + TP>1 on Blackwell where block-table padding changed from
-1to0, and FLA SSM kernel guards usingstate_idx < 0missed the new0sentinel. The fix shifted guards to<= 0/> 0. -
GDN kernel Triton issues — The Triton FLA
solve_trilautotuner deadlocks on Blackwell issue #39563 due toglobal_scratchmemory allocation failures. The Triton fix is upstream triton-lang/triton#10002.
The model in this recipe resolved as Qwen3_5ForConditionalGeneration — a hybrid GDN model, exactly the architecture that triggers these failure modes. --enforce-eager is the only stable workaround on RTX 5090.
Performance cost
--enforce-eager trades throughput for stability. Measured on RTX 5090, eager mode runs roughly 2-3x slower than CUDA graph mode. But crashing every 10 minutes is worse than slow steady serving.
Speculative Decoding — NGRAM and MTP
Two speculative decoding paths were tested to compensate for the --enforce-eager throughput penalty. Both fail for agentic workloads on this setup.
NGRAM speculative decoding
Adding --speculative-algorithm ngram --num-draft-tokens 5 to the command roughly doubles token throughput:
| Configuration | Throughput |
|---|---|
| Base (eager, no spec dec) | ~23 tok/sec |
| NGRAM + 5 draft tokens | ~45 tok/sec |
This is a meaningful speedup. However, NGRAM speculative decoding corrupts tool call output on this model. Generated responses get randomly truncated, producing malformed XML or incomplete JSON that breaks the agentic tool calling pipeline. The model was tested as an agentic coding assistant (Maki) — tool calls simply ceased to function reliably.
MTP (Multi-Token Prediction)
The model is a MTP-capable variant (Qwopus3.6-27B-v2-MTP-NVFP4). Enabling MTP speculative decoding (--speculative-algorithm mtp) re-enables CUDA graphs internally — vLLM requires CUDA graph mode for MTP draft token generation. This immediately triggers the Blackwell SM120 crash path described above, making vLLM completely unusable.
Verdict
Neither speculative decoding option works:
- NGRAM speeds up generation but breaks tool calling output — unreliable for agentic use.
- MTP re-enables CUDA graphs and crashes the server on RTX 5090.
The only stable configuration remains --enforce-eager with no speculative decoding, accepting the ~23 tok/sec baseline.
Model Resolution and Architecture Detection
vLLM resolves the model architecture as Qwen3_5ForConditionalGeneration:
INFO [model.py:623] Resolved architecture: Qwen3_5ForConditionalGenerationINFO [model.py:1788] Using max model len 262144The auto setting for --max-model-len probes the config and selects the full 262K context length. For hybrid GDN models, vLLM also enters Mamba cache align mode:
WARNING [config.py:563] Mamba cache mode is set to 'align' for Qwen3_5ForConditionalGeneration by default when prefix caching is enabledWARNING [config.py:583] Warning: Prefix caching in Mamba cache 'align' mode is currently enabled. Its support for Mamba layers is experimental.This is the alignment logic that ensures attention block size equals Mamba page size, preventing cache size mismatches in the hybrid token streaming path.
NVFP4 (ModelOpt) Quantization
vLLM detects the ModelOpt NVFP4 checkpoint format:
WARNING [modelopt.py:1034] Detected ModelOpt NVFP4 checkpoint (quant_algo=NVFP4). Please note that the format is experimental and could change in future.INFO [__init__.py:978] Using FlashInferCutlassNvFp4LinearKernel for NVFP4 GEMMFlashInfer provides the NVFP4 linear kernel via CUTLASS. The model loads 19.15 GiB of checkpoint data and allocates 18.74 GiB for weights.
GDN Prefill Backend
The Gated Delta Network layers use the Triton prefill kernel:
INFO [qwen_gdn_linear_attn.py:150] Using Triton/FLA GDN prefill kernel (requested=triton, head_k_dim=128).This is the --gdn-prefill-backend triton setting. The Triton backend is used during kernel warmup:
INFO [qwen_triton_warmup.py:370] Warming up Qwen Triton kernels for model_type=qwen3_5_text.The Triton warmup is necessary because the solve_tril kernel compiles lazily on first inference. The warmup ensures compilation completes before the server starts accepting requests.
Memory Budget
The full memory accounting:
INFO [gpu_worker.py:857] Free memory on device (30.9/31.4 GiB) on startup. Desired GPU memory utilization is (0.92, 28.88 GiB). Actual usage is 18.74 GiB for weight, 1.89 GiB for peak activation, -0.61 GiB for non-torch memory, and 0.0 GiB for CUDAGraph memory.INFO [gpu_worker.py:560] Available KV cache memory: 8.87 GiBINFO [kv_cache_utils.py:1977] Auto-fit max_model_len: full model context length 262144 fitsINFO [kv_cache_utils.py:2177] GPU KV cache size: 278,716 tokensINFO [kv_cache_utils.py:2178] Maximum concurrency for 262,144 tokens per request: 1.06xThe negative non-torch memory (-0.61 GiB) is vLLM’s estimation of PyTorch allocator overhead being subtracted from the profiled free memory. The 0.0 GiB for CUDAGraph memory confirms --enforce-eager — no CUDA graph buffers are allocated.
| Allocation | Value |
|---|---|
| GPU total | 31.4 GiB |
| Free at startup | 30.9 GiB |
| Weights | 18.74 GiB |
| Peak activation | 1.89 GiB |
| CUDA graph | 0.0 GiB |
| KV cache | 8.87 GiB |
| GPU KV cache tokens | 278,716 |
| Max concurrency | 1.06x |
KV Cache Scaling Factor Warning
WARNING [kv_cache.py:134] Checkpoint does not provide a q scaling factor. Setting it to k_scale. This only matters for FP8 Attention backends.WARNING [kv_cache.py:151] Using KV cache scaling factor 1.0 for fp8_e4m3The NVFP4 checkpoint has a k_scale but no q_scale. vLLM defaults to applying k_scale to q as well. For FP8 KV cache (fp8_e4m3), the scaling factor is set to 1.0 — meaning no adjustment is applied. This is fine for inference quality; the warning is informational.
Cumem Allocator and Expandable Segments
vLLM enables the CUmem allocator internally to manage expandable segment allocations:
FutureWarning: torch.cuda._set_allocator_settings is deprecated. Use torch._C._accelerator_setAllocatorSettings instead.torch.cuda.memory._set_allocator_settings("expandable_segments:False")...torch.cuda.memory._set_allocator_settings("expandable_segments:True")The external PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True env var is overridden: vLLM toggles expandable segments during specific allocation phases (KV cache initialization and offloading) to minimize fragmentation.
The --enable-cumem-allocator flag activates the unified memory allocator for both PyTorch and CUDA allocations.
FlashInfer Autotune Cache
FlashInfer caches autotune results across boots:
INFO [kernel_warmup.py:227] Using FlashInfer autotune cache file: /home/spidey/.cache/vllm/flashinfer_autotune_cache/0.6.14/120f/af8ddf47b0108c013d56b44858314fc352ddd819f00c330df2c4ae3d7afd3bcc/autotune_configs.json[AutoTuner]: Tuning fp4_gemm: 100%|█████████████████████| 20/20 [00:02<00:00, 8.23profile/s][AutoTuner]: Tuning fp4_gemm: 100%|█████████████████████| 20/20 [00:02<00:00, 9.33profile/s]INFO [kernel_warmup.py:268] FlashInfer autotune cache loaded on rank 0The sm_120a architecture pass to CUTE_DSL_ARCH ensures the right autotune cache keys and kernel variants for the RTX 5090. 120 configurations are saved covering various FP4 GEMM shapes.
Engine Initialization Timeline
The full cold boot:
INFO [vllm.py:1109] Asynchronous scheduling is enabled.INFO [core.py:116] Initializing a V1 LLM engine (v0.26.0)INFO [core.py:347] init engine (profile, create kv cache, warmup model) took 37.04 sINFO [gpu_model_runner.py:5347] Model loading took 18.74 GiB memory and 2.721673 seconds37 seconds total init time — 2.72 seconds for model loading, the rest for profiling, KV cache allocation, and kernel warmup.
vLLM 0.26.0 Changes
The vLLM 0.26.0 release brought significant engine core changes including the --enforce-eager refactor, lower memory for CUDA graph capture of large sizes PR #48483, per-KV-cache-group attention backend selection PR #48012, and KV cache layout refectoring PR #44455.
The dependency updates are substantial: Transformers 5.13.0 PR #47867, FlashInfer 0.6.14 PR #47669, NIXL 1.3.1 PR #47559, CUTLASS DSL 4.6.0 PR #47442.
References
- [Misc] vLLM’s —enforce-eager should turn off compile and cudagraphs only — Richard Zou, vLLM PR #34523 (February 13, 2026) — https://github.com/vllm-project/vllm/pull/34523
- [Bug]: cudaErrorIllegalAddress under sustained parallel load with CUDA Graphs on Blackwell SM120 — munakaya, vLLM issue #35659 (March 1, 2026) — https://github.com/vllm-project/vllm/issues/35659
- [Bug]: Non-deterministic KV-cache reservation on hybrid GDN model — CUDA-graph capture OOMs on RTX 5090 — vLLM issue #44209 — https://github.com/vllm-project/vllm/issues/44209
- [Bugfix] Fix GDN FLA kernel crashes with NULL_BLOCK_ID=0 CUDA graph padding — vibhavagarwal5, vLLM PR #39064 (April 6, 2026) — https://github.com/vllm-project/vllm/pull/39064
- [RFC] Add CUDA-native GDN decode kernel as Blackwell fallback — ssubbotin, vLLM PR #39563 (April 11, 2026) — https://github.com/vllm-project/vllm/pull/39563
- [Bugfix] Disable TMA on Blackwell GPUs to fix Triton autotuner OOM — Rks2302, vLLM PR #36325 (March 7, 2026) — https://github.com/vllm-project/vllm/pull/36325
- [Bugfix] Add FLA_USE_TMA env var to disable TMA in FLA ops — haosdent, vLLM PR #37088 (March 15, 2026) — https://github.com/vllm-project/vllm/pull/37088
- vLLM v0.26.0 Release Notes — khluu (July 27, 2026) — https://github.com/vllm-project/vllm/releases/tag/v0.26.0
This article was written by Maki (unsloth/Qwen3.6-27B-NVFP4 | PC Eyay).



