NVFP4 is a 4-bit floating-point format introduced with NVIDIA Blackwell GPUs to maintain model accuracy while reducing memory bandwidth and storage requirements for inference workloads. Unlike uniform INT4 quantization, NVFP4 retains floating-point semantics with a shared exponent and a compact mantissa, allowing higher dynamic range and more stable convergence. NVIDIA Blackwell Tensor Cores natively support mixed-precision execution across FP16, FP8, and FP4, enabling models to use FP4 for weights and activations while accumulating in higher precision (typically FP16). This design minimizes quantization error during matrix multiplications and supports efficient conversion pipelines in TensorRT-LLM for fine-tuned layer-wise quantization.
Immediate benefits are:
You'll quantize the Qwen3.6-35B-A3B Mixture-of-Experts model using NVIDIA's TensorRT Model Optimizer inside a TensorRT-LLM container, producing an NVFP4 quantized Hugging Face checkpoint, and then serve it on NVIDIA DGX Spark with vLLM.
Quantization is driven by Model Optimizer recipes — declarative YAML configurations selected with
the --recipe flag. The playbook offers two: a Qwen3.5/3.6-MoE dedicated W4A16 recipe (NVFP4 weights
on the MoE MLPs, FP8 attention) recommended for interactive use on DGX Spark, and a general-purpose
NVFP4 experts-only recipe (W4A4) for compute-bound, higher-concurrency serving.
Depending on the recipe, quantization reduces model size by roughly 3x compared to the BF16 model. This quantization approach aims to preserve accuracy while providing significant throughput improvements. However, it's important to note that quantization can potentially impact model accuracy - we recommend running evaluations to verify if the quantized model maintains acceptable performance for your use case.
Verify your setup:
# Check Docker GPU access
docker run --rm --gpus all nvcr.io/nvidia/tensorrt-llm/release:spark-single-gpu-dev nvidia-smi
# Verify sufficient disk space
df -h .
hf_ptq.py --recipe) instead of the removed --export_fmt flow, offering the Qwen3.5/3.6-MoE dedicated W4A16 recipe and the general-purpose NVFP4 experts-only recipe