4

StableDiffusion can generate an image on Apple Silicon Macs in under 18 seconds,...

 1 year ago
source link: https://9to5mac.com/2022/12/01/ios-16-2-stablediffusion-ai-image-generator/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

StableDiffusion can generate an image on Apple Silicon Macs in under 18 seconds, thanks to new optimizations in macOS 13.1

stable-diffusion-m2-chip.jpg?quality=82&strip=all&w=1280

On its machine learning blog, Apple announced resounding support for the StableDiffusion project. This includes updates in the just-released macOS 13.1 beta 4 and iOS 16.2 beta 4 to improve performance running these models on Apple Silicon chips.

Apple also published extensive document and sample code to show how to convert source StableDiffusion models into a native Core ML format.

This announcement is the biggest official endorsement Apple has shown to the recent emergence of AI image generators.

As a recap, machine learning based image generation techniques rose to prominence thanks to the surprising results of the DALL-E model. These AI image generators accept a string of text as a prompt and attempt to create an image of what you asked for.

A variant called StableDiffusion launched in August 2022 and has already seen a lot of community investment.

Thanks to new hardware optimizations in the Apple OS releases, the Core ML StableDiffusion models take full advantage of the Neural Engine and Apple GPU architectures found in the M-series chips.

This leads to some impressively speedy generators. Apple says a baseline M2 MacBook Air can generate an image using a 50-iteration StableDiffusion model in under 18 seconds. Even an M1 iPad Pro could do the same task in under 30 seconds.

Apple hopes this work will encourage developers to integrate StableDiffusion into their apps to run on the client, rather than depending on backend cloud services. Unlike cloud implementations, running on device is “free” and privacy-preserving.

FTC: We use income earning auto affiliate links. More.

graphical user interface, website
You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Check out 9to5Mac on YouTube for more Apple news:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK