STABLE_DIFFUSION_REPO need to be added if not using dev branch or sd.webui.zip

w-e-w
2026-01-06 06:38:03 +09:00
parent 748eb75a76
commit 4eaffb75b7

@@ -40,10 +40,27 @@ The default configuration of web UI should run on most modern GPU, but in some c
### Tip
If you already have stable diffusion models downloaded, you can move the models into `sd.webui\webui\models\Stable-diffusion\` before running `run.bat` in step 3, this will skip auto downloading the vanilla [stable-diffusion-v1-5 model](https://huggingface.co/runwayml/stable-diffusion-v1-5) model.
## Important step (if not using dev branch or mathod 1)
[See this discussion thread for detail](https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/17212)
For Windows add this to [webui-user.bat](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/webui-user.bat)
```
set STABLE_DIFFUSION_REPO=https://github.com/w-e-w/stablediffusion.git
```
For Linux and Mac add this to [webui-user.sh](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/webui-user.sh)
```sh
export STABLE_DIFFUSION_REPO="https://github.com/w-e-w/stablediffusion.git"
```
> the dev branch and the sd.webui.zip has this fix included
## Windows (method 2)
1. Install [Python 3.10.6](https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe) (64-bit) (ticking **Add to PATH**), and [git](https://github.com/git-for-windows/git/releases/download/v2.39.2.windows.1/Git-2.39.2-64-bit.exe)
2. Open Command Prompt from search bar, and type `git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui`
3. Double click `webui-user.bat`
3. Add the following line to [webui-user.bat](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/webui-user.bat) then save the file, see [this post](https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/17212) for details
```
set STABLE_DIFFUSION_REPO=https://github.com/w-e-w/stablediffusion.git
```
4. Double click `webui-user.bat`
Installation video in case you get stuck: \
<sup>solves [#8229](https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8229)</sup>