<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-52bez8xcq" -->

---
title: Bringing Nunchaku 4-bit Diffusion Inference to Diffusers
description: Nunchaku&#x27;s SVDQuant 4-bit quantization method (W4A4) is now natively integrated into Hugging Face Diffusers via a new &#x27;Nunchaku Lite&#x27; path. Pre-quantized...
canonical: https://daily.dev/posts/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-52bez8xcq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Bringing Nunchaku 4-bit Diffusion Inference to Diffusers | daily.dev
og:description: Nunchaku&#x27;s SVDQuant 4-bit quantization method (W4A4) is now natively integrated into Hugging Face Diffusers via a new &#x27;Nunchaku Lite&#x27; path. Pre-quantized...
og:url: https://daily.dev/posts/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-52bez8xcq
og:image: https://api.daily.dev/og/posts/52bEz8xcq.png
og:image:alt: Bringing Nunchaku 4-bit Diffusion Inference to Diffusers
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bringing Nunchaku 4-bit Diffusion Inference to Diffusers

**[Hugging Face](https://daily.dev/sources/huggingface)** · 11 min read · 0 upvotes · 0 comments

## Summary

Nunchaku's SVDQuant 4-bit quantization method (W4A4) is now natively integrated into Hugging Face Diffusers via a new 'Nunchaku Lite' path. Pre-quantized checkpoints load with a standard `from_pretrained()` call — no local CUDA compilation needed, as kernels are fetched from the Hub via the `kernels` package. Nunchaku Lite patches `nn.Linear` modules with SVDQ W4A4 and AWQ W4A16 runtime layers, delivering ~30% speedup and up to 50% VRAM reduction vs BF16 baselines. Combined with `torch.compile`, speedup reaches 1.8x. NVFP4 precision requires Blackwell GPUs (RTX 50 series), while INT4 works on Turing/Ampere/Ada. The companion `diffuse-compressor` toolkit lets users quantize new architectures, package them as standard Diffusers repos, and publish to the Hub. A detailed walkthrough covers inspecting, calibrating, quantizing, packaging, and verifying a model (FLUX.2 Klein 4B as example), including handling structural rewrites like fused QKV projections.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://huggingface.co/blog/nunchaku-diffusers>

## Similar posts on daily.dev

- [Faster Diffusion on Blackwell: MXFP8 and NVFP4 with Diffusers and TorchAO – PyTorch](https://daily.dev/posts/faster-diffusion-on-blackwell-mxfp8-and-nvfp4-with-diffusers-and-torchao-pytorch-i2hn4mzkr) · PyTorch · 0 upvotes · 0 comments
- [TorchAO Quantized Models and Quantization Recipes Now Available on HuggingFace Hub – PyTorch](https://daily.dev/posts/torchao-quantized-models-and-quantization-recipes-now-available-on-huggingface-hub-pytorch-fyzjwynsb) · PyTorch · 2 upvotes · 0 comments

---

Tags: [#data-science](https://daily.dev/tags/data-science), [#diffusion-models](https://daily.dev/tags/diffusion-models)

[View this post on daily.dev](https://daily.dev/posts/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-52bez8xcq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Bringing Nunchaku 4-bit Diffusion Inference to Diffusers","url":"https://daily.dev/posts/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-52bez8xcq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-52bez8xcq"},"datePublished":"2026-07-23T07:33:08.327Z","dateModified":"2026-08-24T06:56:27.796Z","description":"Nunchaku's SVDQuant 4-bit quantization method (W4A4) is now natively integrated into Hugging Face Diffusers via a new 'Nunchaku Lite' path. Pre-quantized...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/46c83d5c412938daa351e9b3e1a65573?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/46c83d5c412938daa351e9b3e1a65573?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hugging Face","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hugging Face","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f1f55c67d81a4330acf5b90b26b0c8e1","url":"https://daily.dev/sources/huggingface"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-52bez8xcq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"data-science,diffusion-models","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hugging Face","item":"https://daily.dev/sources/huggingface"},{"@type":"ListItem","position":3,"name":"Bringing Nunchaku 4-bit Diffusion Inference to Diffusers"}]}
```

