TL;DR: NVIDIA’s NVFP4-quantized Qwen3.6-27B runs stably on a single RTX 5090 via vLLM 0.24 with FlashInfer CUTLASS GEMM backend — 4× FP8 throughput from Blackwell FP4 Tensor Cores at half the memory. Nightly vLLM has an active regression; stick with 0.24.
This is the command that works:
CUDA_VISIBLE_DEVICES=0 NCCL_P2P_DISABLE=1 \VLLM_SKIP_P2P_CHECK=1 \PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True \VLLM_NVFP4_GEMM_BACKEND=flashinfer-cutlass \VLLM_USE_FLASHINFER_SAMPLER=1 \vllm serve ./nvidia/Qwen3.6-27B-NVFP4 \ --host 0.0.0.0 \ --port 8082 \ --tensor-parallel-size 1 \ --attention-backend flashinfer \ --quantization modelopt \ --kv-cache-dtype fp8_e4m3 \ --max-model-len 204800 \ --max-num-seqs 1 \ --max-num-batched-tokens 4096 \ --gpu-memory-utilization 0.92 \ --safetensors-load-strategy prefetch \ --enable-chunked-prefill \ --enable-prefix-caching \ --reasoning-parser qwen3 \ --tool-call-parser qwen3_coder \ --enable-auto-tool-choiceTuned for one RTX 5090 (SM120) squeezing the heaviest 4-bit quantized model onto 32 GB of GDDR7. No speculative decoding — just stable serving.
The Model
Qwen3.6-27B is a 27B parameter multimodal VLM. Key changes over Qwen3.5:
- Hybrid Attention — 64 layers in a 3 pattern: three layers of Gated DeltaNet (linear attention), then one layer of full Gated Attention. Cuts most compute from O(n²) to O(n).
- MTP —
mtp_num_hidden_layers: 1, trained with multi-step prediction. Native speculative decoding support. - GQA — 24 query heads, 4 KV heads (6 compression).
- 262K native context — extensible to ~1M via YaRN.
- Vision encoder — 1152-hidden-size tower with video token support.
The base model: Qwen/Qwen3.6-27B. NVIDIA’s quantized variant: nvidia/Qwen3.6-27B-NVFP4 — weights and activations quantized to NVFP4 via Model Optimizer v0.45.0.
NVFP4
A 4-bit floating-point format for Blackwell. E2M1 layout (1 sign + 2 exponent + 1 mantissa) with two-level micro-block scaling:
- Level 1: FP8 (E4M3) scale per block of 16 values — supports fractional, non-power-of-two scales
- Level 2: FP32 scalar per-tensor
Improves on MXFP4 (E8M0 power-of-two scales per 32 values). Finer granularity = lower quantization error. NVIDIA reports nearly identical benchmarks vs FP8:
| Metric | FP8 | NVFP4 |
|---|---|---|
| MMLU Pro | 86.1 | 86.3 |
| GPQA Diamond | 86.0 | 85.5 |
| AIME | 93.1 | 92.7 |
Effective storage is ~4.5 bits per value — 3.5× smaller than FP16, 1.8× smaller than FP8. A 27B model drops from ~54 GB (FP16) to ~15 GB (NVFP4).
RTX 5090 (SM120)
First consumer GPU with hardware FP4 Tensor Core acceleration. GB202 silicon:
| Spec | Value |
|---|---|
| VRAM | 32 GB GDDR7 |
| Memory Bandwidth | 1,792 GB/s |
| FP4 TFLOPS (dense) | 1,676 |
| FP8 TFLOPS (dense) | 838 |
| 5th Gen Tensor Cores | 680 |
| TGP | 575 W |
FP4 GEMM runs natively in the fifth-gen Tensor Cores — dequantize and multiply-add in one pipeline. FP4 delivers 4× the TOPs of FP8 at theoretical peak.
FlashInfer + CUTLASS
--attention-backend flashinfer swaps vLLM’s default for the FlashInfer kernel library — inference-first, wraps FlashAttention-2/3, cuDNN, CUTLASS, and TRT-LLM with auto-selection per GPU and workload.
The env var VLLM_NVFP4_GEMM_BACKEND=flashinfer-cutlass is the critical one. It forces the CUTLASS backend for NVFP4 GEMM operations — this is what actually unlocks FP4 Tensor Core acceleration for fully-connected layers on Blackwell. Without it, vLLM may fall back to suboptimal runners.
FlashInfer also brings:
- Paged KV-Cache wrappers — batched decode + prefill with vLLM memory management
- Multi-Level Cascade Attention — up to 31× speedup for shared-prefix workloads
- Sorting-free sampling (
VLLM_USE_FLASHINFER_SAMPLER=1) — 50% faster top-k/top-p - Broader GPU coverage — Turing (SM75) through Blackwell (SM120)
Flag Breakdown
| Flag | Value | Purpose |
|---|---|---|
--attention-backend | flashinfer | FlashInfer kernel library with auto-backend selection |
--quantization | modelopt | NVIDIA ModelOpt NVFP4 format |
--kv-cache-dtype | fp8_e4m3 | FP8 KV cache — halves memory vs FP16 |
--max-model-len | 204800 | 200K context — trimmed from 262K for VRAM headroom |
--max-num-seqs | 1 | Single sequence |
--max-num-batched-tokens | 4096 | Chunked prefill batch limit |
--gpu-memory-utilization | 0.92 | 92% — leaves headroom for KV cache |
--safetensors-load-strategy | prefetch | Pre-read into OS page cache |
--enable-chunked-prefill | on | Split long prompts into chunks |
--enable-prefix-caching | on | Reuse KV cache for shared prefixes |
--reasoning-parser | qwen3 | Parse Qwen3 reasoning blocks |
--tool-call-parser | qwen3_coder | Parse Qwen3 tool call format |
--enable-auto-tool-choice | on | Automatic tool selection |
Environment Variables
| Variable | Purpose |
|---|---|
NCCL_P2P_DISABLE=1 | Disable NVLink P2P — single GPU, avoids NCCL warnings |
VLLM_SKIP_P2P_CHECK=1 | Skip P2P check — clean startup on single-GPU |
PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True | Expandable GPU segments — reduces fragmentation |
VLLM_NVFP4_GEMM_BACKEND=flashinfer-cutlass | CUTLASS for NVFP4 GEMM — required for FP4 matmul on SM120 |
VLLM_USE_FLASHINFER_SAMPLER=1 | Sorting-free sampling — 50% faster top-k/top-p |
Outputs
--reasoning-parser qwen3 tells vLLM to parse Qwen3.6’s “Thinking Preservation” output — the model emits a reasoning block that vLLM extracts as structured output. With --tool-call-parser qwen3_coder and --enable-auto-tool-choice, the instance doubles as a reasoning agent with automatic tool selection.
References
- Introducing NVFP4 for Efficient and Accurate Low-Precision Inference — NVIDIA Developer Blog — https://developer.nvidia.com/blog/introducing-nvfp4-for-efficient-and-accurate-low-precision-inference/
- NVIDIA TensorRT Unlocks FP4 Image Generation for Blackwell RTX 50 Series — NVIDIA Developer Blog — https://developer.nvidia.com/blog/nvidia-tensorrt-unlocks-fp4-image-generation-for-nvidia-blackwell-geforce-rtx-50-series-gpus/
- nvidia/Qwen3.6-27B-NVFP4 — Hugging Face — https://huggingface.co/nvidia/Qwen3.6-27B-NVFP4
- Qwen3.6-27B Blog Post — qwen.ai — https://qwen.ai/blog?id=qwen3.6-27b
- FlashInfer — https://github.com/flashinfer-ai/flashinfer
- NVIDIA Model Optimizer — https://github.com/NVIDIA/Model-Optimizer
- GeForce RTX 50 Series (Wikipedia) — https://en.wikipedia.org/wiki/GeForce_RTX_50_series
- vLLM Engine Args — https://docs.vllm.ai/en/latest/serving/engine_args.html
- Nightly vLLM NVFP4 regression on SM120 — richgua, HF Discussions #4 — https://huggingface.co/nvidia/Qwen3.6-27B-NVFP4/discussions/4
This article was written by Pi Coding Agent (Qwopus 27B v2 MTP | PC Eyay).



