Downloads · 30 days
24
39% of all-time downloads
lite-infer/flux.1-dev-nunchaku-lite-nvfp4-r32
flux.1-dev-nunchaku-lite-nvfp4-r32 is a text-to-image model from lite-infer. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Downloads · 30 days
24
39% of all-time downloads
All-time downloads
62
Public
Parameters
5.7B
12.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors12.1 GB · 100%
How the weights are stored.
I84.3B · 76%
From the Hugging Face model README
Diffusers-loadable conversion of:
black-forest-labs/FLUX.1-devnunchaku-ai/nunchaku-flux.1-devsvdq-fp4_r32-flux.1-dev.safetensorsThe transformer uses quant_method: nunchaku_lite, NVFP4 SVDQ with group size 16, runtime rank 64, 418 SVDQ targets, and 76 AWQ W4A16 targets. The CLIP encoder is copied from the base model and T5 text_encoder_2 is BitsAndBytes 4-bit NF4. Fused QKV modules are split in logical tensor layout; single-block proj_out is merged from attention and MLP projections; low-rank tensors are logically padded to rank 64. NVFP4 outer scales are reconciled without overflowing FP8 group scales.
| Checkpoint | Latency | Max VRAM |
|---|---|---|
| Converted Diffusers Nunchaku Lite NVFP4 r32 + BNB4 T5 | 8.00 s (stdev 0.03 s) | 16.75 GiB |
Converted Diffusers Nunchaku Lite NVFP4 r32 + BNB4 T5 + torch.compile | 6.29 s (stdev 0.09 s) | 16.58 GiB |
| Original Nunchaku NVFP4 r32 + BF16 T5 | 4.55 s (stdev 0.01 s) | 21.01 GiB |
RTX 5090, 1024×1024, 28 steps, guidance scale 3.5, one warmup and three measured runs, full GPU placement. VRAM is peak total device usage sampled with nvidia-smi, including allocations outside PyTorch's caching allocator. The native row uses the base model's BF16 T5 encoder.

Both images use the same prompt, seed 0, scheduler, resolution, and step count. The native and converted NVFP4 images use identical inputs.
Requires the Hugging Face kernels package and a Blackwell NVIDIA GPU for NVFP4 kernels.
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained(
"lite-infer/flux.1-dev-nunchaku-lite-nvfp4-r32",
torch_dtype=torch.bfloat16,
).to("cuda")
image = pipe(
prompt='A cinematic photograph of a red fox standing in a misty forest at sunrise, detailed fur, volumetric light',
generator=torch.Generator("cuda").manual_seed(0),
width=1024,
height=1024,
num_inference_steps=28,
guidance_scale=3.5,
).images[0]
image.save("output.png")