Stable Diffusion WebUI Forge opens the door to a world of artistic possibilities, and you can embark on this journey using Conda on your Mac. This guide will walk you through the setup step-by-step, guiding you from creating a Conda environment to generating breathtaking images.
Quick Tip: Before diving into this guide, check out how to supercharge your creations with FLUX.1-dev on Mac. It’s the go-to model for producing high-quality visuals. Explore the full tutorial here:
Before we begin:
- Ensure you have Conda installed on your Mac. Download and follow the instructions from : https://zahiralam.com/blog/conda-installation-on-apple-silicon-mac-simplified-step-by-step-instructions/
- This process may require administrator privileges, so be prepared to enter your password when prompted.
Let’s dive in!
- Create a Conda environment:
Open your terminal and type the following command to create a new environment named webui-forge
with Python 3.10:
conda create -n webui-forge python=3.10
- Activate the environment:
Activate the newly created environment by running:
conda activate webui-forge
- Clone the Stable Diffusion WebUI Forge repository:
Use the git
command to clone the repository into your local environment:
git clone https://github.com/lllyasviel/stable-diffusion-webui-forge.git
- Navigate to the project directory:
Change your directory to the cloned repository folder:
cd stable-diffusion-webui-forge
- Start the installation:
Run the provided script to initiate the installation process:
./webui.sh --always-cpu --skip-torch-cuda-test
Troubleshooting Common Issues
If you encounter an error related to missing dependencies, such as:
ModuleNotFoundError: No module named 'fastapi'
This indicates that fastapi
is missing from your environment. To resolve it, simply install fastapi
within the webui-forge
environment:
conda install fastapi -n webui-forge
Once installed, rerun the command:
./webui.sh --always-cpu --skip-torch-cuda-test
Following these steps should ensure all necessary dependencies are in place for a smooth setup.
Important notes:
- The installation process can take some time, depending on your internet speed and system resources. Be patient and let it complete.
- You might be prompted to download additional dependencies during the installation. Follow the instructions provided on screen.
- Once the installation finishes, you can access the WebUI by opening http://127.0.0.1:7860/ in your web browser.
Congratulations! You’ve successfully installed Stable Diffusion WebUI Forge on your Mac using Conda. Now, the world of AI-powered image generation awaits your exploration. Remember to download Stable Diffusion models separately and place them in the designated directory for them to work with the WebUI.
Additional tips:
- Consider using a dedicated GPU for optimal performance, especially when dealing with larger models and complex prompts.
- Explore the extensive documentation and community resources available online for troubleshooting and discovering exciting features.
- Be responsible and creative with your AI-generated art!