PQD: Post-training Quantization for Efficient Diffusion Models

Jiaojiao Ye, Zhen Wang, Linnan Jiang
12/30/2024
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Diffusionmodels(DMs)havedemonstratedremarkableachievements in synthesizing images of high fidelity and diversity. However, the extensive computational requirements and slow generative speed of diffusion models have limited their widespread adoption. In this paper, we propose a novel post-training quantization for diffusion models (PQD), which is a time-aware optimization framework for diffusion models based on post-training quantization. The proposed framework optimizes the inference process by selecting representative samples and conducting time-aware calibration. Experimental results show that our proposed method is able to directly quantize full-precision diffusion models into 8-bit or 4-bit models while maintaining comparable performance in a training-free manner, achieving a few FID change on ImageNet for unconditional image generation. Our approach demonstrates compatibility and can also be applied to 512x512 text-guided image generation for the first time.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ye2024pqd,
  title  = {PQD: Post-training Quantization for Efficient Diffusion Models},
  author = {Jiaojiao Ye and Zhen Wang and Linnan Jiang},
  year   = {2024},
  eprint = {2501.00124},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.00124v1}
}

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/2501.00124.svg)](https://codeofpaper.com/paper/2501.00124)

Discussion