ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation
Tianchen Zhao, Tongcheng Fang, Haofeng Huang, Enshu Liu, Rui Wan,, Widyadewi Soedarmadji, Shiyao Li, Zinan Lin, Guohao Dai, Shengen Yan,, Huazhong Yang, Xuefei Ning, Yu Wang

TL;DR
ViDiT-Q introduces a specialized post-training quantization method for diffusion transformers, significantly reducing memory and computational costs while maintaining high visual quality in image and video generation tasks.
Contribution
The paper presents ViDiT-Q, a novel quantization scheme specifically designed for diffusion transformers, enabling efficient deployment with minimal quality loss.
Findings
Achieves W8A8 and W4A8 quantization with negligible quality degradation.
Provides 2-2.5x memory savings and 1.4-1.7x latency speedup.
Effectively applies to various text-to-image and video diffusion models.
Abstract
Diffusion transformers have demonstrated remarkable performance in visual generation tasks, such as generating realistic images or videos based on textual instructions. However, larger model sizes and multi-frame processing for video generation lead to increased computational and memory costs, posing challenges for practical deployment on edge devices. Post-Training Quantization (PTQ) is an effective method for reducing memory costs and computational complexity. When quantizing diffusion transformers, we find that existing quantization methods face challenges when applied to text-to-image and video tasks. To address these challenges, we begin by systematically analyzing the source of quantization error and conclude with the unique challenges posed by DiT quantization. Accordingly, we design an improved quantization scheme: ViDiT-Q (Video & Image Diffusion Transformer Quantization),…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Memory and Neural Computing · Neural Networks and Reservoir Computing
MethodsAttention Is All You Need · Concatenated Skip Connection · Convolution · Softmax · Max Pooling · Layer Normalization · *Communicated@Fast*How Do I Communicate to Expedia? · U-Net · Linear Layer · Byte Pair Encoding
