SQ-DM: Accelerating Diffusion Models with Aggressive Quantization and Temporal Sparsity

Zichen Fan, Steve Dai, Rangharajan Venkatesan, Dennis Sylvester, Brucek Khailany
1/26/2025
cs.CVcs.AIcs.AR
diffusion-flow

No confident code implementation found for this paper.

Abstract

Diffusion models have gained significant popularity in image generation tasks. However, generating high-quality content remains notably slow because it requires running model inference over many time steps.

Show full abstract

To accelerate these models, we propose to aggressively quantize both weights and activations, while simultaneously promoting significant activation sparsity. We further observe that the stated sparsity pattern varies among different channels and evolves across time steps. To support this quantization and sparsity scheme, we present a novel diffusion model accelerator featuring a heterogeneous mixed-precision dense-sparse architecture, channel-last address mapping, and a time-step-aware sparsity detector for efficient handling of the sparsity pattern. Our 4-bit quantization technique demonstrates superior generation quality compared to existing 4-bit methods. Our custom accelerator achieves 6.91x speed-up and 51.5% energy reduction compared to traditional dense accelerators.

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{fan2025sqdm,
  title  = {SQ-DM: Accelerating Diffusion Models with Aggressive Quantization and Temporal Sparsity},
  author = {Zichen Fan and Steve Dai and Rangharajan Venkatesan and Dennis Sylvester and Brucek Khailany},
  year   = {2025},
  eprint = {2501.15448},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.15448v1}
}

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

Discussion