How To Install Stable Diffusion On Mac With Automatic1111

Hyeat

Install Stable Diffusion on MAC

Stable Diffusion is an advanced text-to-image AI tool that can be seamlessly installed on Mac computers. In this step-by-step guide, we will walk you through the installation process for Stable Diffusion on your Mac. Whether you’re an artist, designer, or simply interested in exploring the capabilities of AI, this guide will help you harness the power of Stable Diffusion and unleash your creativity.

Requirements

Before we begin, make sure you have the following requirements:

  1. Mac computer with Apple Silicon (M1 or M2) processors.
  2. At least 16 GB of memory (RAM) for optimal performance.
  3. Stable internet connection to download the necessary files.

Installation Options

There are several installation options available for Stable Diffusion on Mac. Let’s explore each option briefly:

OptionProsCons
Draw Things App– Easy installation– Features not as extensive as AUTOMATIC1111
Diffusers App– Easy installation– Limited models and features
DiffusionBee– Relatively easy installation– Features are a bit lacking
AUTOMATIC1111– Best features among all apps– Difficult to install if you are not tech-savvy

Now let’s dive into the step-by-step installation process for each option:

Draw Things App Installation

draw things

To install the Draw Things app, follow these steps:

    • Visit the App Store on your Mac.
    • Search for “Draw Things” and click on the app.
    • Click on the “Get” or “Install” button to begin the installation process.
    • Once the installation is complete, you can launch the Draw Things app.

    Diffusers App Installation

    To install the Diffusers app, follow these steps:

    • Visit the official Diffusers app page.
    • Download and install the app by clicking on the provided link.
    • Once the installation is finished, you can launch the Diffusers app.

    DiffusionBee Installation

    To install DiffusionBee, follow these steps:

    Visit the DiffusionBee download page.

    Download the installer for MacOS (Apple Silicon).

    diffusionbee

    Locate the downloaded .dmg file and double-click to open it.

    In the installation window, drag the DiffusionBee icon to the Applications folder.

    drag diffusionbee to application

    The installation process will be completed.

    Running DiffusionBee

    Step 1: Use the spotlight search bar by pressing Command + Spacebar.

    Step 2: Type “DiffusionBee” and press return to start the application.

    Step 3: During the initial launch, DiffusionBee will download some necessary models.

    diffusionbee downloading model, Install Stable Diffusion On Mac

    Step 4: Once the download is complete, you can start using Stable Diffusion.

    Step 5: Try putting a prompt like “a dog” in the prompt box and click “Generate.”

    Step 6: You can customize your images using the options provided, such as image size and CFG scale.

    AUTOMATIC1111 Installation

    To install AUTOMATIC1111, follow these steps:

    Step 1: Open the Terminal app on your Mac.

    Step 2: Copy and paste the following command and press Enter:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    Step 3: Install the required packages by running the following command in a new Terminal window:
    brew install cmake protobuf rust python@3.10 git wget

    Step 4: Clone the AUTOMATIC1111 repository by running the following command in the Terminal:
    git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui

    Step 5: Download the v1.5 model by using the provided link and place it in the appropriate folder:
    stable-diffusion-webui/models/Stable-diffusion

    put model here

    Running AUTOMATIC1111:

    1: In the Terminal, run the following command:
    cd ~/stable-diffusion-webui;./webui.sh

    2: Wait for the initialization process to complete.

    3: Open a web browser and visit the following URL:
    http://127.0.0.1:7860/

    run stable diffusion webUI on MAC

    4: The AUTOMATIC1111 GUI for Stable Diffusion will appear.

    5: Enter a prompt, such as “a dog,” and click “Generate” to test using the GUI.

    Automatic1111 generates a dog

    Pros and Cons of AUTOMATIC1111:

    Pros:

    • Offers the best features among all the available options.

    Cons:

    • Installation can be challenging for non-tech-savvy users.

    Common Issues and Troubleshooting

    If you encounter the following common issues, try these solutions:

    “RuntimeError: Cannot add middleware after an application has started”:

    • Navigate to the webui folder and run the following command:
      ./venv/bin/python -m pip install --upgrade fastapi==0.90.1

    “RuntimeError: ‘LayerNormKernelImpl’ not implemented for ‘Half'”:

    • Start the webUI with the following command:
      ./webui.sh --precision full --no-half

    Conclusion

    By following this comprehensive step-by-step guide, you have successfully installed Stable Diffusion on your Mac. Whether you chose Draw Things, Diffusers, DiffusionBee, or AUTOMATIC1111, you now have a powerful AI tool at your disposal to transform text prompts into visually stunning images. Explore the features and unleash your creativity with Stable Diffusion on your Mac. Get ready to embark on an exciting journey of AI-assisted artistry!

    Leave a Comment