Skip to content

Installation on Apple Silicon

Dylan Cathelijn edited this page Sep 24, 2022 · 17 revisions

Important note

While the web UI runs fine, there are still certain issues when running this fork on Apple Silicon. The only 2 samplers that work (at the time of writing this) are Euler and DPM2 - all others result in a black screen. Upscaling works, but only using the real-ESRGAN models.

Automatic installation

This script assumes you've installed the same dependencies as the other scripts (python, git, ...) - these can all be installed using Homebrew.

The script can be downloaded from here, or follow the instructions below.

  1. Open Terminal.app
  2. Run the following command:
bash <(curl -s https://github.com/dylancl/stable-diffusion-webui-mps/blob/master/setup_mac.sh)
  1. Follow the instructions in the terminal window.

Usage

After installation, you'll now find run_webui_mac.sh in the stable-diffusion-webui directory. Run this script to start the web UI using ./run_webui_mac.sh. This script automatically activates the conda environment, pulls the latest changes from the repository, and starts the web UI. On exit, the conda environment is deactivated.

Clone this wiki locally