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.
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
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.
Web UI provided by Lstein Stable-Diffusion project
Script detecting missing installation Screen you will see at first launch.
Automatic installs
- Install Brew, Wget, Unzip, MiniConda (if not on the system)
- Install Stable Diffusion project (from Lstein Github)
- Install Stable Diffusion 1.4 Model
- Install GFPGAN (from TencentARC Github)
- Install Real-ESRGAN upscaler (from Xinntao Github)
Stable Diffusion features
- Run Stable Diffusion in Terminal mode
- Run Stable Diffusion in a Web UI
- On-demand picture upscaling
- Uninstall Stable Diffusion
- Lstein for the Apple Silicon compatible Stable Diffusion
- TencentARC for GFPGAN
- Any-Winter-4079 from Reddit for the Apple Silicon tutorial
- Xinntao for Real-ESRGAN
Yes
Yes you can
Yes, Absolutely this small project is made to help anyone to play with Stable Diffusion. Feel free to contribute
Per default, if you do not update the variable in the script, it is installed in $HOME/stable-diffusion