Installing Stable Diffusion 1.5
To install Stable Diffusion 1.5 (released Oct 20, 2022) locally, I found this video was really excellent – except for a few points:
- You MUST use python 3.10.6 (I used 3.9.7 as recommended). The latest version (as of Feb 2023) is Python 3.11.1 – which stable diffusion does NOT seem to like and won’t run.
You might also want to read through this older stable diffusion 1.4 install guide, but he uses model checkpoints which haven’t been updated since version 1.4.
Gotchas and Fixes:
- If you have an incompatible version of Python installed when you try to run webui-user.bat for the first time, stable diffusion will set itself up to point at this bad python version directory. Even if you uninstall and install the correct python version, stable diffusion will still look at the wrong python version. You can go fiddle with the different setup files – but it’s faster just to blow away the pulled git source at the top level and re-pull it to ensure you don’t have cruft laying around.
Installer Links:
- Install Python from here: https://python.org
- Use version Python version 3.10.6 – https://www.python.org/downloads/release/python-3109/
- Install GIT from here: https://gitforwindows.org
- Download the models directly from hugging face: https://huggingface.co/runwayml/stable-diffusion-v1-5
- Install this version of the Stable Diffusion UI: https://github.com/AUTOMATIC1111/stable-diffusion-webui
- Using custom latent models to generate domain specific images: https://stable-diffusion-art.com/models/#Stable_diffusion_v15
2 thoughts on “Installing Stable Diffusion 1.5”