AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: cant change checkpoint in gradio #9667

Closed ngelus closed 1 year ago

ngelus commented 1 year ago

Is there an existing issue for this?

What happened?

When I try changing the checkpoint via gradio it loads indefinitly.

Steps to reproduce the problem

  1. Launch webui with --share, --gradio-auth and --listen
  2. Click on the checkpoint dropdown
  3. Select a checkpoint
  4. Wait...
  5. Loads indefinitly.

What should have happened?

It should load my selected checkpoint.

Commit where the problem happens

22bcc7be428c94e9408f589966c2040187245d81

What platforms do you use to access the UI ?

Windows, Android

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome

Command Line Arguments

--xformers --listen --share --gradio-auth "user:pass" --no-half

List of extensions

https://github.com/DominikDoom/a1111-sd-webui-tagcomplete https://github.com/Malisius/booru2prompt.git https://github.com/mix1009/model-keyword https://github.com/kohya-ss/sd-webui-additional-networks.git https://github.com/d8ahazard/sd_dreambooth_extension https://github.com/yfszzx/stable-diffusion-webui-images-browser

Console logs

Already up to date.
venv "D:\stable-diffusion-webui\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI

#######################################################################################################
Initializing Dreambooth
If submitting an issue on github, please provide the below text for debugging purposes:

Python revision: 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Dreambooth revision: 21ddebabb47274255d516e655f997d9ddadc0fe4
SD-WebUI revision: 22bcc7be428c94e9408f589966c2040187245d81

Checking Dreambooth requirements...
[+] bitsandbytes version 0.35.0 installed.
[+] diffusers version 0.10.2 installed.
[+] transformers version 4.25.1 installed.
[+] xformers version 0.0.16rc425 installed.
[+] torch version 1.13.1+cu117 installed.
[+] torchvision version 0.14.1+cu117 installed.

#######################################################################################################

Launching Web UI with arguments: --xformers --listen --share --gradio-auth user:pass --no-half
Loading booru2prompt settings
[AddNet] Updating model hashes...
100%|████████████████████████████████████████████████████████████████████████████████| 33/33 [00:00<00:00, 6581.65it/s]
[AddNet] Updating model hashes...
100%|████████████████████████████████████████████████████████████████████████████████| 33/33 [00:00<00:00, 6616.57it/s]
SD-Webui API layer loaded
Loading weights [e4b17ce185] from D:\stable-diffusion-webui\stable-diffusion-webui\models\Stable-diffusion\anything-v4.5-pruned.ckpt
Creating model from config: D:\stable-diffusion-webui\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(53): a photo of expomech, coffeeFox_cerberus_rageOfBahamut_v1000
Model loaded in 4.8s (load weights from disk: 1.3s, create model: 0.4s, apply weights to model: 0.5s, move model to device: 1.1s, load textual inversion embeddings: 1.6s).
Running on local URL:  http://0.0.0.0:7860
Running on public URL: https://blablablablablabla.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
Startup time: 25.8s (import torch: 7.2s, import gradio: 1.1s, import ldm: 0.7s, other imports: 2.0s, list SD models: 0.2s, load scripts: 1.8s, load SD checkpoint: 4.9s, create ui: 1.2s, gradio launch: 6.6s).
Consuming a byte in the end state
Consuming a byte in the end state
Consuming a byte in the end state
Consuming a byte in the end state

Additional information

No response

AlUlkesh commented 1 year ago

Are all your extensions also current?

Any error on the javascript console? (F12 on most browsers)

ngelus commented 1 year ago

I'll take a look at that this evening @AlUlkesh Thank you for the suggestion

ngelus commented 1 year ago

Works after updating extensions!