How to use NVFP4 in ComfyUI

last edited

To use NVFP4 in ComfyUI, the setup needs a Blackwell GPU, a current ComfyUI build, torch on CUDA 13, and a matching checkpoint. No launch flag exists to switch it on, because the checkpoint itself declares it.

16 values, 4 bitscalerestored weightsstored in the file, read by the loader

What does ComfyUI need before NVFP4 can run?

ada 8.9hopper 9.0blackwell 10.0blackwell 12.0sm 10.0 needed for nvfp4 matmul

The comfy-kitchen README asks for a GPU of compute capability 10.0 or higher. Torch 2.7 and CUDA runtime 13 are the floor.

partminimumhow to check
gpucompute capability 10.0+nvidia-smi --query-gpu=compute_cap --format=csv
torch2.7+, cu130 build, driver r580startup log warns on older CUDA
kitchencomfy-kitchen 0.2.42pip show comfy-kitchen

The newest ComfyUI release, 0.46, landed on 18 November. Its requirements file pins the kitchen package.

Where do NVFP4 checkpoints for ComfyUI come from?

klein 4bflux2 devltx 2.3 22b

Official files sit on Hugging Face, and community repos add more. Lightricks recommends its built-in LTXVideo nodes. Model background is in frontier models.

modelfile
FLUX.2 klein 4Bflux-2-klein-4b-nvfp4.safetensors
FLUX.2 devflux2-dev-nvfp4.safetensors, plus a mixed file
LTX-2.3ltx-2.3-22b-dev-nvfp4.safetensors

How does ComfyUI pick the NVFP4 path?

layerfp4 block matmulfull precision pathcapability 10+ top, below 10 bottom

The file carries per-layer scale tensors, so the standard diffusion-model loader works. In ops.py, a device below capability 10 disables it.

The kernel list has no triton matmul for it, so --enable-triton-backend adds nothing. The startup log should name cuda.

How can a user verify that NVFP4 is faster?

nvfp4 run 1nvfp4 run 2fp8 run 2grey = load, solid = sampling steps

Run one workflow twice, once with an NVFP4 file and once with an FP8 file with the same seed. Compare seconds per step after the first run, since warm-up skews it. See NVFP4 vs FP8 and file conversion.

Sources