Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

A wrapper around AUTOMATIC1111's stable diffusion web UI for Apple Silicon

License

Notifications You must be signed in to change notification settings

johnnymo87/stable-diffusion-webui-apple-silicon

Repository files navigation

Stable Diffusion WebUI Apple Silicon

If you your computer has an Apple silicon chip (M1, M2, etc.), you need to do special things to use stable diffusion. Here, I want to use it via AUTOMATIC1111's web UI. In the wiki in that codebase, there's some tips about how to do this, and someone even did wrote a script to automate this setup. This codebase is my attempt to improve upon this automation.

Installation

  1. Install direnv.
  2. Because this repository uses git submodules, clone it recusively.
    git clone --recurse-submodules https://github.com/johnnymo87/stable-diffusion-webui-apple-silicon.git
    
  3. Move into the cloned directory.
    cd stable-diffusion-webui-apple-silicon
    
  4. Initialize the file for environment variables and then fill it out.
    cp .envrc.sample .envrc
    
    • Optionally, skip this step, and the first time setup script will prompt you for the necessary information.
  5. Run the first time setup script.
    ./first_time_setup.sh
    
  6. Run the every time script.
    ./run_webui_mac.sh
    

Special Thanks

About

A wrapper around AUTOMATIC1111's stable diffusion web UI for Apple Silicon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages