Memory-efficient Diffusion Transformers with Quanto and Diffusers
Related stories
Exploring Quantization Backends in Diffusers
Introducing Modular Diffusers - Composable Building Blocks for Diffusion Pipelines
Diffusers welcomes Stable Diffusion 3
Overview of natively supported quantization schemes in 🤗 Transformers
Diffusers welcomes Stable Diffusion 3.5 Large
Bringing Nunchaku 4-bit Diffusion Inference to Diffusers
Quality-Aware Modulation for Diffusion Transformers
arXiv:2606. 30934v1 Announce Type: new Abstract: Modern text-to-image diffusion models, such as diffusion transformers (DiT), rely on timestep or prompt embeddings to modulate the strength of the denoising process in each timestep.
Stable Diffusion XL on Mac with Advanced Core ML Quantization
A Gentle Introduction to 8-bit Matrix Multiplication for transformers at scale using transformers, accelerate and bitsandbytes
The Quantization Benefits of Residual-Free Transformers
The paper investigates how residual connections in transformers affect the distribution of activations, making them heavy‑tailed and more difficult to quantize accurately. By comparing standard residual transformers with residual‑free variants, the authors show that residuals increase quantization error and accuracy loss at low precision, while residual‑free models maintain near‑Gaussian activations and better robustness to low‑bit quantization. They further demonstrate that residual‑free transformers can be trained effectively using orthogonal initialization, spectral or second‑order optimization, and depth‑aware scaling of attention temperature, achieving comparable full‑precision performance with improved quantization friendliness.
KroQuant: Kronecker-Structured Block Transforms for Efficient Post-Training Quantization of Diffusion Transformers
arXiv:2607. 21446v1 Announce Type: new Abstract: Post-training quantization (PTQ) of diffusion transformers (DiTs) to W4A4 severely degrades output quality, because activations entering each linear layer contain outliers that 4-bit formats cannot represent.