AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.13k stars 26.97k forks source link

[Bug]: "webui-user.bat" file reinstalls everything again every time I open it again after closing stable diffusion ! #8857

Open TonyTxT opened 1 year ago

TonyTxT commented 1 year ago

Is there an existing issue for this?

What happened?

After opened the webui bat file to run stable diffusion for the first time, it installed some files which is what happens normally but then I edited the file and added "--xformers" it installed the xformers successfully but then it started installing the same pytorch files it installed the first time. Is it normal for it download 5+ GBs for files everytime it starts ? or is it possible to use it without an internet connection ?

Steps to reproduce the problem

open the webui user bat file

What should have happened?

Don't know this is the first time I'm using this software

Commit where the problem happens

when i open the webuser.bat file

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

"--xformers"

List of extensions

no

Console logs

venv "C:\Users\tekke\Desktop\STABLE_DIFFUSION\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI
Launching Web UI with arguments: --xformers
Loading weights [b914725d74] from C:\Users\tekke\Desktop\STABLE_DIFFUSION\stable-diffusion-webui\models\Stable-diffusion\ProtoGen_X5.3-pruned-fp16.ckpt
Creating model from config: C:\Users\tekke\Desktop\STABLE_DIFFUSION\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Downloading pytorch_model.bin:   0%|                                                       | 0.00/1.71G [00:00<?, ?B/s]

Additional information

No response

JaRail commented 1 year ago

Do you have extensions installed? This is usually caused by extensions installing different versions. So each launch it installs the base version, then the extension overwrites it with a different version. Repeat on every launch.

TonyTxT commented 1 year ago

Do you have extensions installed? This is usually caused by extensions installing different versions. So each launch it installs the base version, then the extension overwrites it with a different version. Repeat on every launch.

is "--xformers" an extension ?

then yes