Squeezing Large-Scale Diffusion Models for Mobile

07/03/2023
by   Jiwoong Choi, et al.
0

The emergence of diffusion models has greatly broadened the scope of high-fidelity image synthesis, resulting in notable advancements in both practical implementation and academic research. With the active adoption of the model in various real-world applications, the need for on-device deployment has grown considerably. However, deploying large diffusion models such as Stable Diffusion with more than one billion parameters to mobile devices poses distinctive challenges due to the limited computational and memory resources, which may vary according to the device. In this paper, we present the challenges and solutions for deploying Stable Diffusion on mobile devices with TensorFlow Lite framework, which supports both iOS and Android devices. The resulting Mobile Stable Diffusion achieves the inference latency of smaller than 7 seconds for a 512x512 image generation on Android devices with mobile GPUs.

READ FULL TEXT

page 3

page 4

research
04/21/2023

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

The rapid development and application of foundation models have revoluti...
research
06/01/2023

SnapFusion: Text-to-Image Diffusion Model on Mobile Devices within Two Seconds

Text-to-image diffusion models can create stunning images from natural l...
research
04/27/2020

Deploying Image Deblurring across Mobile Devices: A Perspective of Quality and Latency

Recently, image enhancement and restoration have become important applic...
research
09/17/2021

On-device neural speech synthesis

Recent advances in text-to-speech (TTS) synthesis, such as Tacotron and ...
research
10/30/2019

The Game Performance Index for Mobile Phones

With the recent increase in the quantity of high fidelity games appearin...
research
12/17/2013

Rio: A System Solution for Sharing I/O between Mobile Systems

Mobile systems are equipped with a diverse collection of I/O devices, in...
research
08/14/2018

Sea of Lights: Practical Device-to-Device Security Bootstrapping in the Dark

Practical solutions to bootstrap security in today's information and com...

Please sign up or login with your details

Forgot password? Click here to reset