Speed Is All You Need: On-Device Acceleration of Large Diffusion Models via GPU-Aware Optimizations

Yu-Hui Chen, Raman Sarokin, Juhyun Lee, Jiuqiang Tang, Chuo-Ling Chang +2 more
4/21/2023
cs.CVcs.LGeess.IV

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

The rapid development and application of foundation models have revolutionized the field of artificial intelligence. Large diffusion models have gained significant attention for their ability to generate photorealistic images and support various tasks. On-device deployment of these models provides benefits such as lower server costs, offline functionality, and improved user privacy. However, common large diffusion models have over 1 billion parameters and pose challenges due to restricted computational and memory resources on devices. We present a series of implementation optimizations for large diffusion models that achieve the fastest reported inference latency to-date (under 12 seconds for Stable Diffusion 1.4 without int8 quantization on Samsung S23 Ultra for a 512x512 image with 20 iterations) on GPU-equipped mobile devices. These enhancements broaden the applicability of generative AI and improve the overall user experience across a wide range of devices.

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. 2 weaker matches are hidden by default — 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{chen2023speed,
  title  = {Speed Is All You Need: On-Device Acceleration of Large Diffusion Models via GPU-Aware Optimizations},
  author = {Yu-Hui Chen and Raman Sarokin and Juhyun Lee and Jiuqiang Tang and Chuo-Ling Chang and Andrei Kulik and Matthias Grundmann},
  year   = {2023},
  eprint = {2304.11267},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.11267v2}
}

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

Discussion