paper-with-me

홈 › Papers

Post-training Quantization for Text-to-Image Diffusion Models with Progressive Calibration and Activation Relaxing

2023-11-10 · Siao Tang, Xin Wang, Hong Chen, Chaoyu Guan, Zewen Wu, Yansong Tang, Wenwu Zhu

High computational overhead is a troublesome problem for diffusion models. Recent studies have leveraged post-training quantization (PTQ) to compress diffusion models. However, most of them only focus on unconditional models, leaving the quantization of widely-used pretrained text-to-image models, e.g., Stable Diffusion, largely unexplored. In this paper, we propose a novel post-training quantization method PCR (Progressive Calibration and Relaxing) for text-to-image diffusion models, which consists of a progressive calibration strategy that considers the accumulated quantization error across timesteps, and an activation relaxing strategy that improves the performance with negligible cost. Additionally, we demonstrate the previous metrics for text-to-image diffusion model quantization are not accurate due to the distribution gap. To tackle the problem, we propose a novel QDiffBench benchmark, which utilizes data in the same domain for more accurate evaluation. Besides, QDiffBench also considers the generalization performance of the quantized model outside the calibration dataset. Extensive experiments on Stable Diffusion and Stable Diffusion XL demonstrate the superiority of our method and benchmark. Moreover, we are the first to achieve quantization for Stable Diffusion XL while maintaining the performance.

📄 PDF Abstract BibTeX arXiv:2311.06322

Code (1)

tsa18/PCR 공식 구현 pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

Focus 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

PQD: Post-training Quantization for Efficient Diffusion Models

2024-12-30 · Jiaojiao Ye, Zhen Wang, Linnan Jiang

Diffusionmodels(DMs)havedemonstratedremarkableachievements in synthesizing images of high fidelity and diversity. However, the extensive computational requirements and slow generative speed of diffusion models have limit…

DiversityImage GenerationQuantizationUnconditional Image Generation

Accurate Compression of Text-to-Image Diffusion Models via Vector Quantization

2024-08-31 · Vage Egiazarian, Denis Kuznedelev, Anton Voronov, Ruslan Svirschevski 외

Text-to-image diffusion models have emerged as a powerful framework for high-quality image generation given textual prompts. Their success has driven the rapid development of production-grade diffusion models that consis…

Image GenerationQuantization

Towards Accurate Post-training Quantization for Diffusion Models

2023-05-30 · CVPR 2024 1 · Changyuan Wang, Ziwei Wang, Xiuwei Xu, Yansong Tang 외

In this paper, we propose an accurate data-free post-training quantization framework of diffusion models (ADP-DM) for efficient image generation. Conventional data-free quantization methods learn shared quantization func…

Data Free QuantizationImage GenerationQuantization

Post-Training Quantization via Residual Truncation and Zero Suppression for Diffusion Models

2025-09-30 · Donghoon Kim, Dongyoung Lee, Ik Joon Chang, Sung-Ho Bae arxiv

Diffusion models achieve high-quality image generation but face deployment challenges due to their high computational requirements. Although 8-bit outlier-aware post-training quantization (PTQ) matches full-precision per…

Image Generation

Q-Sched: Pushing the Boundaries of Few-Step Diffusion Models with Quantization-Aware Scheduling

2025-09-01 · Natalia Frumkin, Diana Marculescu arxiv

Text-to-image diffusion models are computationally intensive, often requiring dozens of forward passes through large transformer backbones. For instance, Stable Diffusion XL generates high-quality images with 50 evaluati…