Android phone "runs Stable Diffusion" and sets a new record, producing images within 15 seconds

Android phone "runs Stable Diffusion" and sets a new record, producing images within 15 seconds

As we know, Stable Diffusion is a very popular text-to-image generative AI model that can create realistic images for any given input text in tens of seconds. Stable Diffusion has more than 1 billion parameters, and until now, the model has mainly run in the cloud.

Therefore, how to run Stable Diffusion on mobile devices has attracted great interest from people in the industry. Previously, an author developed an application that generates images through Stable Diffusion and then edits them the way you like. The application only takes one minute to generate images on the latest iPhone 14 Pro and uses about 2GiB of application memory.

Even Apple has optimized it, running Stable Diffusion at an amazing speed on devices such as iPhone, iPad, and Mac, generating a 512x512 resolution image in half a minute. The following is an image generated by running Stable Diffusion and Core ML + diffusers on an Apple device.

Stable Diffusion achieves the fastest Android operation

So can Android phones also run Stable Diffusion and quickly generate images? Today, a demo video from Qualcomm demonstrated that Android phones can use Stable Diffusion to achieve the fastest local AI image generation.

In the demo video below, Stable Diffusion v1.5 generates a 512x512 resolution image in less than 15 seconds . Although Qualcomm did not specify which phone it was, it said that the phone was equipped with the latest Snapdragon 8 Gen2 flagship chipset. Various custom optimizations were made at the software level to enable Stable Diffusion to run in the best possible way.

Some example images Qualcomm generated on its test devices include the following: “Super cute, furry warrior cat in armor.”

Running Stable Diffusion at such a fast speed on smartphones is thanks to Qualcomm's full-stack AI optimization solution, which significantly reduces runtime latency and energy consumption, ultimately enabling the safe and efficient operation of Stable Diffusion.

In fact, before Qualcomm released the demo video, a developer had already demonstrated running Stable Diffusion on the 8G RAM Sony Xperia 5 II equipped with Qualcomm Snapdragon 865. The developer's name is Ivon Huang, and his blog details the relevant tutorials. However, it takes 1 hour to generate an image with a resolution of 512x512. In comparison, Qualcomm has achieved a huge improvement in the speed of outputting images.

Blog address:

​https://ivonblog.com/en-us/posts/android-stable-diffusion/​

<<:  Android 13 QPR2 Beta 3.2 released: fix screen artifact issues

>>:  Do you know Web3?

Recommend

"What's Worth Buying" is so awesome, how does it operate its content?

What’s Worth Buying is also known as “Sex Maniac ...

Photography, beauty, which advertising materials are timeless and creative?

I wonder if you often receive such advertising co...

Toutiao advertising strategy and channel characteristics

Why are my ads always performing poorly? I think ...

Lhasa SEO Training: How to determine the essential needs of users?

First of all, how do we determine the essential n...

Online marketing promotion: How to use H5 activities for brand promotion!

An H5 product needs to be carefully polished, but...

Boxuegu-Data Analysis Course for Everyone

Course Catalog: ├──Chapter 1 Overview of the Care...

How to make an executable plan to attract new users?

What should you do when the KPI indicator is &quo...

520 marketing strategy! Here it comes

Although 520 is an ordinary holiday, its pronuncia...

Tencent Social Advertising Getting Started Guide

Recently, many of my friends who have transformed...

The core logic of creating a Douyin live broadcast account

This is a practical article about "creating ...