Mikubill / sd-webui-controlnet

WebUI extension for ControlNet
GNU General Public License v3.0
16.88k stars 1.94k forks source link

[Bug]: Infinite loading of extensions in Extensions → Installed after installing ControlNet #2602

Open d0verenny opened 8 months ago

d0verenny commented 8 months ago

Is there an existing issue for this?

What happened?

I got infinite loading of extensions in Extensions → Installed section after installing ControlNet. I've tried removing venv folder and restarting webui — no luck.

image

Steps to reproduce the problem

  1. Install ControlNet via Extensions → Install from URL
  2. Go to Extensions → Installed → Apply and restart UI. Wait till the webui restarts.
  3. Go to Extensions → Installed and see the infinite loading of extensions list.

What should have happened?

The list of extensions should load.

Commit where the problem happens

webui: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/cf2772fab0af5573da775e7437e6acdca424f26e controlnet: https://github.com/Mikubill/sd-webui-controlnet/commit/c5432dd4f605ff5ddc63a6b477d8df68654ea65c

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--lowvram --xformers

List of enabled extensions

image

Console logs

D:\AI\stable-diffusion-webui>Git pull
Already up to date.
venv "D:\AI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Launching Web UI with arguments: --lowvram --xformers
Style database not found: D:\AI\stable-diffusion-webui\styles.csv
ControlNet preprocessor location: D:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-01-29 21:35:57,583 - ControlNet - INFO - ControlNet v1.1.440
2024-01-29 21:35:57,830 - ControlNet - INFO - ControlNet v1.1.440
Loading weights [db6cd0a62d] from D:\AI\stable-diffusion-webui\models\Stable-diffusion\Counterfeit-V3.0.safetensors
2024-01-29 21:35:58,323 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Creating model from config: D:\AI\stable-diffusion-webui\configs\v1-inference.yaml
Startup time: 19.5s (prepare environment: 4.1s, import torch: 5.1s, import gradio: 1.8s, setup paths: 1.5s, initialize shared: 0.3s, other imports: 1.1s, setup codeformer: 0.4s, load scripts: 2.4s, create ui: 0.9s, gradio launch: 1.9s).
Applying attention optimization: xformers... done.
Model loaded in 12.6s (load weights from disk: 2.5s, create model: 0.7s, apply weights to model: 6.7s, apply half(): 2.2s, calculate empty prompt: 0.4s).

Additional information

No response

Setiawan-byte commented 7 months ago

same here, my troubleshooting was disabling all the extensions and enabling them 1 by 1, when it came to ControlNet the issue happened (infinite loading) infinite loading also occurs in Textual inversion, Hypernetwork, checkpoint, and Lora. image

Bobcatie commented 7 months ago

similar issue with localised installation of Stable Diffusion (A1111) the github files take a very long time to install' but repeatedly fail