MixDiT: Accelerating Image Diffusion Transformer Inference With Mixed-Precision MX Quantization
<underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Di</u>ffusion <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">T</u>ransformer (DiT) has driven significant progress in image generation tasks. However, DiT inferencing is notoriously compute-intensive and incurs long latency even on datacenter-scale GPUs, primarily due to its iterative nature and heavy reliance on GEMM operations inherent to its encoder-based structure. To address the challenge, prior work has explored quantization, but achieving low-precision quantization for DiT inferencing with both high accuracy and substantial speedup remains an open problem. To this end, this paper proposes MixDiT, an algorithm-hardware co-designed acceleration solution that exploits mixed Microscaling (MX) formats to quantize DiT activation values. MixDiTquantizes the DiT activation tensors by selectively applying higher precision to magnitude-based outliers, which produce mixed-precision GEMM operations. To achieve tangible speedup from the mixed-precision arithmetic, we design a MixDiTaccelerator that enables precision-flexible multiplications and efficient MX precision conversions. Our experimental results show that MixDiTdelivers a speedup of 2.10–5.32× over RTX 3090, with no loss in FID.
Authors
- Changhun Oh (ORCID: https://orcid.org/0000-0003-2002-1928)
- Jongse Park (ORCID: https://orcid.org/0000-0002-6629-449X)
- Jinwoo Hwang
- D. Kim
Institutions
- Korea Advanced Institute of Science and Technology (KR)
Publication Details
- Journal
- IEEE Computer Architecture Letters
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/lca.2025.3560786
- Citations
- 1
- Primary Topic
- Image and Signal Denoising Methods
- Type
- article
- Field-Weighted Citation Impact
- 1.28