ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation

Tianchen Zhao, Tongcheng Fang, En-hao Liu, Wan Rui, Widyadewi Soedarmadji +7 more
2/12/2026

No official code found. Best implementation: thu-nics/ViDiT-Q (168 stars, last commit 2025-03-21). 1 more below.

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), tailored specifically for DiT models. We validate the effectiveness of ViDiT-Q across a variety of text-to-image and video models, achieving W8A8 and W4A8 with negligible degradation in visual quality and metrics. Additionally, we implement efficient GPU kernels to achieve practical 2-2.5x memory saving and a 1.4-1.7x end-to-end latency speedup.

View on arXivView PDF

Code Implementations(2)

A-suozhang/ViDiT-QCommunity100%
153C, C++Jul 15, 20241 years ago
thu-nics/ViDiT-QCommunity78%

[ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation

16828C, C++Jun 2, 20241 years ago
diffusion-modelsefficientmlmixed-precisionquantization

Similar Papers

Cite this paper

@article{zhao2026viditq,
  title  = {ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation},
  author = {Tianchen Zhao and Tongcheng Fang and En-hao Liu and Wan Rui and Widyadewi Soedarmadji and Shiyao Li and Zinan Lin and Guohao Dai and Shengen Yan and Huazhong Yang and Xuefei Ning and Yu Wang},
  year   = {2026},
  eprint = {2406.02540},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.02540},
  journal = {ICLR 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.02540.svg)](https://codeofpaper.com/paper/2406.02540)

Discussion