A 28nm 31.2 TOPS/W Diffusion Transformer Accelerator Using Memory-in-Compute Architecture

Sung Wook Hwang, Kaining Zhou, Nai-Yuan Chiang, Vignesh Sundaresha, Naresh R. Shanbhag2025

Abstract

Diffusion transformers (DiTs) are effective for image and video generation, but their large model sizes and high computational requirements hinder their use on resource-constrained platforms. To address these major challenges, this work presents a DiT accelerator which enables efficient deployment on edge devices. The accelerator is co-designed with a state-of-the-art (SOTA) 2.2 M parameter count DiT algorithm achieving a Fréchet Inception Distance (FID) of 10.9. The accelerator adopts a custom instruction-set architecture (ISA) with an optimized vectorized processing execution model. A digital in-memory computing (DIMC) architecture is employed to speed-up the compute-heavy matrix-vector multiply (MVM) kernels in the DiT algorithm. A novel DIMC floorplan called memory-in-compute architecture (MICA) is proposed to alleviate the energy and latency overhead of DIMC's digital summer. MICA is further employed to efficiently generate independent Gaussian noise samples on-chip to support DiT's generative functionality. Measured results from a prototype IC fabricated in a 28 nm process indicates the MICA macro operates at a maximum frequency of 525 MHz, achieves a SOTA compute density of 1.52 TOPS/mm<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> at (1 V, 525 MHz) and a SOTA energy efficiency of 31.2 TOPS/W at (0.52 V, 100 MHz).
BibTeX
@misc{hwang2025nm,
  author = {Sung Wook Hwang and Kaining Zhou and Nai-Yuan Chiang and Vignesh Sundaresha and Naresh R. Shanbhag},
  title = {{A 28nm 31.2 TOPS/W Diffusion Transformer Accelerator Using Memory-in-Compute Architecture}},
  year = {2025},
  doi = {10.1109/esserc66193.2025.11214030},
}

Loading related content...

Figure