BitsFusion: 1.99 bits Weight Quantization of Diffusion Model

Yang Sui, Yanyu Li, Anil Kag, Yerlan Idelbayev, Junli Cao +5 more
2/3/2026

No official code found. Best implementation: huggingface/diffusers (33,963 stars, Apache-2.0, PyTorch, last commit 2026-04-30).

Abstract

Diffusion-based image generation models have achieved great success in recent years by showing the capability of synthesizing high-quality content. However, these models contain a huge number of parameters, resulting in a significantly large model size. Saving and transferring them is a major bottleneck for various applications, especially those running on resource-constrained devices. In this work, we develop a novel weight quantization method that quantizes the UNet from Stable Diffusion v1.5 to 1.99 bits, achieving a model with 7.9X smaller size while exhibiting even better generation quality than the original one. Our approach includes several novel techniques, such as assigning optimal bits to each layer, initializing the quantized model for better performance, and improving the training strategy to dramatically reduce quantization error. Furthermore, we extensively evaluate our quantized model across various benchmark datasets and through human evaluation to demonstrate its superior generation quality.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

33,9637,110Python, MakefileMay 30, 20225 months agoApache-2.0
deep-learningdiffusionfluximage-generationimage2image+10 more

Similar Papers

Cite this paper

@article{sui2026bitsfusion,
  title  = {BitsFusion: 1.99 bits Weight Quantization of Diffusion Model},
  author = {Yang Sui and Yanyu Li and Anil Kag and Yerlan Idelbayev and Junli Cao and Ju Hu and Dhritiman Sagar and Bo Yuan and S. Tulyakov and Jian Ren},
  year   = {2026},
  eprint = {2406.04333},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.04333},
  url    = {https://arxiv.org/abs/2406.04333},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.04333.svg)](https://codeofpaper.com/paper/2406.04333)

Discussion