EdgeFusion: On-Device Text-to-Image Generation

Thibault Castells, Hyoung-Kyu Song, Tairen Piao, Shinkook Choi, Bo-Kyeong Kim +4 more
4/18/2024
cs.LGcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

The intensive computational burden of Stable Diffusion (SD) for text-to-image generation poses a significant hurdle for its practical application. To tackle this challenge, recent research focuses on methods to reduce sampling steps, such as Latent Consistency Model (LCM), and on employing architectural optimizations, including pruning and knowledge distillation. Diverging from existing approaches, we uniquely start with a compact SD variant, BK-SDM. We observe that directly applying LCM to BK-SDM with commonly used crawled datasets yields unsatisfactory results. It leads us to develop two strategies: (1) leveraging high-quality image-text pairs from leading generative models and (2) designing an advanced distillation process tailored for LCM. Through our thorough exploration of quantization, profiling, and on-device deployment, we achieve rapid generation of photo-realistic, text-aligned images in just two steps, with latency under one second on resource-limited edge 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. 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{castells2024edgefusion,
  title  = {EdgeFusion: On-Device Text-to-Image Generation},
  author = {Thibault Castells and Hyoung-Kyu Song and Tairen Piao and Shinkook Choi and Bo-Kyeong Kim and Hanyoung Yim and Changgwun Lee and Jae Gon Kim and Tae-Ho Kim},
  year   = {2024},
  eprint = {2404.11925},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.11925v1}
}

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

Discussion