Posted August 31, 2022 by bfirsh Stable Diffusion is open source, so anyone can run and modify it. That’s what has caused the abundance of creations over the past week.

You can run Stable Diffusion in the cloud on Replicate, but it’s also possible to run it locally. As well as generating predictions, you can hack on it, modify it, and build new things. Getting it working on an M1 Mac’s GPU is a little fiddly, so we’ve created this guide to show you how to do it.

All credit for this goes to everyone who contributed to this fork of stable-diffusion on GitHub and figured it all out in this GitHub thread. We’re merely messengers of their great work.

One thing we’ve done on top of previous work: use pip instead of Conda to install dependencies. It’s much easier to set up and shouldn’t need to compile anything because it uses binary wheels.

Prerequisites