Bringing Nunchaku 4-bit Diffusion Inference to Diffusers
AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.
Why it matters
Diffusers users can now run SVDQuant 4-bit diffusion models with a plain from_pretrained() call, halving VRAM while speeding up inference instead of merely saving memory.
Hugging Face has added support for Nunchaku Lite in Diffusers, a popular open-source image-generation library. Unlike most compression methods that shrink model memory but slow things down, this one uses a technique called SVDQuant to store and compute in 4-bit form, cutting memory roughly in half while actually making image generation faster. Anyone with a consumer GPU like an RTX 40 series can now run large image models that previously needed 24 GB of VRAM.
Developers running image-generation models on consumer hardware gain a practical option: Nunchaku checkpoints now load directly through Diffusers with no separate engine or compilation. Benchmarks show a 1024x1024 image in 1.7 seconds at 12 GB peak VRAM on an RTX 5090, versus 24 GB in BF16. NVFP4 checkpoints require Blackwell GPUs; older RTX 30/40 series must use INT4, and Volta/Hopper are unsupported.
Diffusers now natively loads Nunchaku Lite checkpoints via from_pretrained(), with CUDA kernels fetched from the Hub through the kernels package. The generic path patches nn.Linear modules with SVDQ W4A4 layers for attention/MLP projections and AWQ W4A16 layers for modulation, yielding ~30% speedup and ~50% VRAM reduction; torch.compile lifts end-to-end speedup to 1.8x. Architectures needing structural rewrites (e.g. FLUX.1-dev fused QKV) require model-specific target configs and adapters. Volta/Hopper are unsupported.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Nunchaku Diffusers SVDQuant FLUX.2 Klein 4B ERNIE-Image-Turbo RTX 5090 Hugging Face
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.