Cut memory ~3.5× vs FP16 while keeping accuracy close to FP8, then validate with an OpenAI-compatible endpoint
NVFP4 is a 4-bit floating-point format for NVIDIA Blackwell GPUs. It reduces memory bandwidth and storage for inference while keeping accuracy close to higher-precision formats.
Unlike uniform INT4 quantization, NVFP4 keeps floating-point semantics with a shared exponent and a compact mantissa, which improves dynamic range. Blackwell Tensor Cores support mixed-precision execution across FP16, FP8, and FP4, so models can use FP4 for weights and activations while accumulating in higher precision (typically FP16).
Immediate benefits:
You'll produce an NVFP4 checkpoint of DeepSeek-R1-Distill-Llama-8B with NVIDIA Model Optimizer inside a GPU container on your supported hardware platform. As a validation check, you can load the checkpoint and call an OpenAI-compatible endpoint.
Quantization can change model quality. Run evaluations for your use case before deploying.
Required:
Optional:
Use the matrix below to confirm your hardware platform, OS, memory, and whether multi-node applies. The shared workflow is: prepare Docker and Hugging Face auth → run Model Optimizer NVFP4 quantization → validate artifacts → serve an OpenAI-compatible endpoint. Container image and post-quantization serving stack differ by hardware platform (see Instructions).
| Hardware platform | OS | Memory | Multi-node capable hardware |
|---|---|---|---|
| DGX Spark | DGX OS (Linux) | 128 GB Unified Memory | — |
| DGX Station | DGX OS (Linux) | Large HBM + Grace DRAM | — |
Hardware requirements
Software requirements
docker --versionVerify your setup:
# Check GPU visibility on the host
nvidia-smi
# Optional: confirm the default container for your hardware platform can see the GPU
# Set IMAGE to the container image for your hardware platform (see Instructions)
export IMAGE=nvcr.io/nvidia/vllm:25.12.post1-py3 # example — use your hardware platform's image
docker run --rm --gpus all "$IMAGE" nvidia-smi
# On dual-GPU DGX Station, pin the GB300 instead, e.g.:
# docker run --rm --gpus "device=$GPU_ID" "$IMAGE" nvidia-smi
# Verify sufficient disk space
df -h .