Skip to content

Stable Diffusion Install script with GPU support for Apple Silicon M1/M2

Notifications You must be signed in to change notification settings

glonlas/Stable-Diffusion-Apple-Silicon-M1-Install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion Installation script for Apple Silicon CPU (M1, M1Pro, M2)

This script will help you to install Stable Diffusion on your Mac. It takes care of installing all dependencies for you and provides a menu to launch a Web UI, run in your terminal, or Upscale photos to High Definition format.

Get Started: How to install Stable Diffusion on Apple M1 with GPU support

Paste the following command in your MacOS terminal.

Option 1: Clone the project.

git clone [email protected]:glonlas/Stable-Diffusion-Apple-Silicon-M1-Install.git

cd Stable-Diffusion-Apple-Silicon-M1-Install

bash ./install-stable-diffusion-apple-silicon.sh

Option 2: Download offline copy of this repo

curl https://raw.githubusercontent.com/glonlas/Stable-Diffusion-Apple-Silicon-M1-Install/main/install-stable-diffusion-apple-silicon.sh -o install-stable-diffusion-apple-silicon.sh

bash ./install-stable-diffusion-apple-silicon.sh

How to use it?

To use it simply go to the folder where you put this project and run ./install-stable-diffusion-apple-silicon.sh.

The script will automatically detect if all the dependencies are installed, then will display the menu to start generating or upscaling images.

Script menu Stable Diffusion Install on MacOS

Web UI provided by Lstein Stable-Diffusion project Stable Diffusion Web UI

Script detecting missing installation Screen you will see at first launch. Stable Diffusion Install on MacOS

Features:

Automatic installs

Stable Diffusion features

  • Run Stable Diffusion in Terminal mode
  • Run Stable Diffusion in a Web UI
  • On-demand picture upscaling
  • Uninstall Stable Diffusion

Credits

FAQ

1. Can I copy this script and update it?

Yes

2. Can I use and integrate it in my project (personal or commercial)?

Yes you can

3. Can I send Pull request to improve it?

Yes, Absolutely this small project is made to help anyone to play with Stable Diffusion. Feel free to contribute

4. Where all the projects are installed?

Per default, if you do not update the variable in the script, it is installed in $HOME/stable-diffusion

About

Stable Diffusion Install script with GPU support for Apple Silicon M1/M2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages