AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: #9123

Closed ivangarciafilho closed 1 year ago

ivangarciafilho commented 1 year ago

Is there an existing issue for this?

What happened?

UI infinitely loading parameters ! image

Steps to reproduce the problem

  1. Update to newest version
  2. Open the server
  3. check for settings tab

What should have happened?

All of the parameters should have been loaded!

Commit where the problem happens

d667fc435f6210575ba50a6f3a05d3853b233caa

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome, Brave, Microsoft Edge

Command Line Arguments

--xformers --opt-channelslast  --disable-safe-unpickle

List of extensions

Extension | URL | Version | Update -- | -- | -- | -- ABG_extension | https://github.com/KutsuyaYuki/ABG_extension.git | 2548e968 (Thu Mar 23 11:16:59 2023) | Loading... AntiBurn | https://github.com/klimaleksus/stable-diffusion-webui-anti-burn.git | 4d678f1f (Sun Feb 19 19:22:44 2023) | Loading... CFG-Schedule-for-Automatic1111-SD | https://github.com/guzuligo/CFG-Schedule-for-Automatic1111-SD.git | 84892c88 (Thu Mar 9 10:43:02 2023) | Loading... DreamArtist-sd-webui-extension | https://github.com/7eu7d7/DreamArtist-sd-webui-extension.git | a9db06d8 (Mon Jan 16 07:30:08 2023) | Loading... Hypernetwork-MonkeyPatch-Extension | https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension.git | f747420a (Fri Mar 3 12:39:40 2023) | Loading... SD-latent-mirroring | https://github.com/dfaker/SD-latent-mirroring | 05df9e83 (Sat Mar 25 14:37:33 2023) | Loading... a1111-sd-webui-locon | https://github.com/KohakuBlueleaf/a1111-sd-webui-locon.git | 85f84724 (Sun Mar 26 14:13:01 2023) | Loading... a1111-sd-webui-tagcomplete | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete | afe3f23a (Sun Mar 26 08:59:22 2023) | Loading... asymmetric-tiling-sd-webui | https://github.com/tjm35/asymmetric-tiling-sd-webui.git | b4470ddc (Fri Nov 18 17:42:54 2022) | Loading... clip-interrogator-ext | https://github.com/pharmapsychotic/clip-interrogator-ext.git | 1ecedb5c (Sat Mar 25 17:55:23 2023) | Loading... custom-diffusion-webui | https://github.com/guaneec/custom-diffusion-webui.git | 017757d2 (Sun Feb 5 07:08:07 2023) | Loading... depthmap2mask | https://github.com/Extraltodeus/depthmap2mask.git | 7eedf6af (Mon Mar 20 10:16:05 2023) | Loading... embedding-inspector | https://github.com/tkalayci71/embedding-inspector.git | 448b6d06 (Sat Mar 18 12:01:18 2023) | Loading... gif2gif | https://github.com/LonicaMewinsky/gif2gif.git | 230f6737 (Wed Mar 15 21:51:11 2023) | Loading... multi-subject-render | https://github.com/Extraltodeus/multi-subject-render.git | 03427e26 (Mon Mar 6 14:11:30 2023) | Loading... multidiffusion-upscaler-for-automatic1111 | https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git | 0ab4e247 (Sun Mar 26 12:10:06 2023) | Loading... posex | https://github.com/hnmr293/posex.git | 233daf8e (Tue Mar 7 12:21:57 2023) | Loading... prompt-fusion-extension | https://github.com/ljleb/prompt-fusion-extension.git | e3fc8f5a (Fri Mar 17 20:46:59 2023) | Loading... sd-3dmodel-loader | https://github.com/jtydhr88/sd-3dmodel-loader.git | 98a7d438 (Sat Mar 25 12:56:27 2023) | Loading... sd-dynamic-thresholding | https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git | 7a9f2694 (Wed Mar 22 17:02:01 2023) | Loading... sd-webui-3d-open-pose-editor | https://github.com/nonnonstop/sd-webui-3d-open-pose-editor.git | 231c4512 (Sat Mar 25 14:15:19 2023) | Loading... sd-webui-additional-networks | https://github.com/kohya-ss/sd-webui-additional-networks.git | d2758b6c (Sun Mar 12 10:58:50 2023) | Loading... sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet | 241c05f8 (Thu Mar 23 15:18:35 2023) | Loading... sd-webui-llul | https://github.com/hnmr293/sd-webui-llul.git | b20337ae (Wed Mar 22 15:56:08 2023) | Loading... sd-webui-model-converter | https://github.com/Akegarasu/sd-webui-model-converter.git | d19e2816 (Sun Mar 26 06:36:49 2023) | Loading... sd-webui-multiple-hypernetworks | https://github.com/antis0007/sd-webui-multiple-hypernetworks.git | dc37ce84 (Tue Jan 10 06:48:35 2023) | Loading... sd_dreambooth_extension | https://github.com/d8ahazard/sd_dreambooth_extension | 3324b6ab (Sun Mar 26 00:34:34 2023) | Loading... sd_smartprocess | https://github.com/d8ahazard/sd_smartprocess | 41fb35ef (Sun Jan 22 17:30:02 2023) | Loading... stable-diffusion-webui-aesthetic-gradients | https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients | 2624e5dd (Fri Jan 6 10:59:30 2023) | Loading... stable-diffusion-webui-composable-lora | https://github.com/opparco/stable-diffusion-webui-composable-lora.git | d4963e48 (Mon Feb 27 17:40:08 2023) | Loading... stable-diffusion-webui-depthmap-script | https://github.com/thygate/stable-diffusion-webui-depthmap-script.git | 33a93791 (Tue Mar 14 16:39:44 2023) | Loading... stable-diffusion-webui-embedding-editor | https://github.com/CodeExplode/stable-diffusion-webui-embedding-editor.git | c8f29023 (Sun Dec 4 04:55:54 2022) | Loading... stable-diffusion-webui-embedding-merge | https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge.git | 56d4ac1f (Mon Feb 27 20:57:13 2023) | Loading... stable-diffusion-webui-instruct-pix2pix | https://github.com/Klace/stable-diffusion-webui-instruct-pix2pix.git | a5a4c6b8 (Sun Feb 5 22:19:05 2023) | Loading... stable-diffusion-webui-pixelization | https://github.com/AUTOMATIC1111/stable-diffusion-webui-pixelization.git | e37251c5 (Sat Feb 4 17:02:01 2023) | Loading... stable-diffusion-webui-sonar | https://github.com/Kahsolt/stable-diffusion-webui-sonar.git | 6cf2cf3f (Thu Mar 9 11:50:57 2023) | Loading... stable-diffusion-webui-tokenizer | https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git | ac6d541c (Sat Dec 10 12:58:31 2022) | Loading... stable-diffusion-webui-two-shot | https://github.com/opparco/stable-diffusion-webui-two-shot.git | 9936c52e (Sun Feb 19 08:40:41 2023) | Loading... stable-diffusion-webui-wd14-tagger | https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git | 3ba3a735 (Sat Mar 25 20:32:37 2023) | Loading... ultimate-upscale-for-automatic1111 | https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git | 0a3d03a4 (Tue Feb 7 06:07:23 2023) | Loading... LDSR | built-in |   |   Lora | built-in |   |   ScuNET | built-in |   |   SwinIR | built-in |   |   prompt-bracket-checker | built-in Extension URL Version Update ABG_extension https://github.com/KutsuyaYuki/ABG_extension.git 2548e968 (Thu Mar 23 11:16:59 2023) Loading... AntiBurn https://github.com/klimaleksus/stable-diffusion-webui-anti-burn.git 4d678f1f (Sun Feb 19 19:22:44 2023) Loading... CFG-Schedule-for-Automatic1111-SD https://github.com/guzuligo/CFG-Schedule-for-Automatic1111-SD.git 84892c88 (Thu Mar 9 10:43:02 2023) Loading... DreamArtist-sd-webui-extension https://github.com/7eu7d7/DreamArtist-sd-webui-extension.git a9db06d8 (Mon Jan 16 07:30:08 2023) Loading... Hypernetwork-MonkeyPatch-Extension https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension.git f747420a (Fri Mar 3 12:39:40 2023) Loading... SD-latent-mirroring https://github.com/dfaker/SD-latent-mirroring 05df9e83 (Sat Mar 25 14:37:33 2023) Loading... a1111-sd-webui-locon https://github.com/KohakuBlueleaf/a1111-sd-webui-locon.git 85f84724 (Sun Mar 26 14:13:01 2023) Loading... a1111-sd-webui-tagcomplete https://github.com/DominikDoom/a1111-sd-webui-tagcomplete afe3f23a (Sun Mar 26 08:59:22 2023) Loading... asymmetric-tiling-sd-webui https://github.com/tjm35/asymmetric-tiling-sd-webui.git b4470ddc (Fri Nov 18 17:42:54 2022) Loading... clip-interrogator-ext https://github.com/pharmapsychotic/clip-interrogator-ext.git 1ecedb5c (Sat Mar 25 17:55:23 2023) Loading... custom-diffusion-webui https://github.com/guaneec/custom-diffusion-webui.git 017757d2 (Sun Feb 5 07:08:07 2023) Loading... depthmap2mask https://github.com/Extraltodeus/depthmap2mask.git 7eedf6af (Mon Mar 20 10:16:05 2023) Loading... embedding-inspector https://github.com/tkalayci71/embedding-inspector.git 448b6d06 (Sat Mar 18 12:01:18 2023) Loading... gif2gif https://github.com/LonicaMewinsky/gif2gif.git 230f6737 (Wed Mar 15 21:51:11 2023) Loading... multi-subject-render https://github.com/Extraltodeus/multi-subject-render.git 03427e26 (Mon Mar 6 14:11:30 2023) Loading... multidiffusion-upscaler-for-automatic1111 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git 0ab4e247 (Sun Mar 26 12:10:06 2023) Loading... posex https://github.com/hnmr293/posex.git 233daf8e (Tue Mar 7 12:21:57 2023) Loading... prompt-fusion-extension https://github.com/ljleb/prompt-fusion-extension.git e3fc8f5a (Fri Mar 17 20:46:59 2023) Loading... sd-3dmodel-loader https://github.com/jtydhr88/sd-3dmodel-loader.git 98a7d438 (Sat Mar 25 12:56:27 2023) Loading... sd-dynamic-thresholding https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git 7a9f2694 (Wed Mar 22 17:02:01 2023) Loading... sd-webui-3d-open-pose-editor https://github.com/nonnonstop/sd-webui-3d-open-pose-editor.git 231c4512 (Sat Mar 25 14:15:19 2023) Loading... sd-webui-additional-networks https://github.com/kohya-ss/sd-webui-additional-networks.git d2758b6c (Sun Mar 12 10:58:50 2023) Loading... sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet 241c05f8 (Thu Mar 23 15:18:35 2023) Loading... sd-webui-llul https://github.com/hnmr293/sd-webui-llul.git b20337ae (Wed Mar 22 15:56:08 2023) Loading... sd-webui-model-converter https://github.com/Akegarasu/sd-webui-model-converter.git d19e2816 (Sun Mar 26 06:36:49 2023) Loading... sd-webui-multiple-hypernetworks https://github.com/antis0007/sd-webui-multiple-hypernetworks.git dc37ce84 (Tue Jan 10 06:48:35 2023) Loading... sd_dreambooth_extension https://github.com/d8ahazard/sd_dreambooth_extension 3324b6ab (Sun Mar 26 00:34:34 2023) Loading... sd_smartprocess https://github.com/d8ahazard/sd_smartprocess 41fb35ef (Sun Jan 22 17:30:02 2023) Loading... stable-diffusion-webui-aesthetic-gradients https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients 2624e5dd (Fri Jan 6 10:59:30 2023) Loading... stable-diffusion-webui-composable-lora https://github.com/opparco/stable-diffusion-webui-composable-lora.git d4963e48 (Mon Feb 27 17:40:08 2023) Loading... stable-diffusion-webui-depthmap-script https://github.com/thygate/stable-diffusion-webui-depthmap-script.git 33a93791 (Tue Mar 14 16:39:44 2023) Loading... stable-diffusion-webui-embedding-editor https://github.com/CodeExplode/stable-diffusion-webui-embedding-editor.git c8f29023 (Sun Dec 4 04:55:54 2022) Loading... stable-diffusion-webui-embedding-merge https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge.git 56d4ac1f (Mon Feb 27 20:57:13 2023) Loading... stable-diffusion-webui-instruct-pix2pix https://github.com/Klace/stable-diffusion-webui-instruct-pix2pix.git a5a4c6b8 (Sun Feb 5 22:19:05 2023) Loading... stable-diffusion-webui-pixelization https://github.com/AUTOMATIC1111/stable-diffusion-webui-pixelization.git e37251c5 (Sat Feb 4 17:02:01 2023) Loading... stable-diffusion-webui-sonar https://github.com/Kahsolt/stable-diffusion-webui-sonar.git 6cf2cf3f (Thu Mar 9 11:50:57 2023) Loading... stable-diffusion-webui-tokenizer https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git ac6d541c (Sat Dec 10 12:58:31 2022) Loading... stable-diffusion-webui-two-shot https://github.com/opparco/stable-diffusion-webui-two-shot.git 9936c52e (Sun Feb 19 08:40:41 2023) Loading... stable-diffusion-webui-wd14-tagger https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git 3ba3a735 (Sat Mar 25 20:32:37 2023) Loading... ultimate-upscale-for-automatic1111 https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git 0a3d03a4 (Tue Feb 7 06:07:23 2023) Loading... LDSR [built-in](http://127.0.0.1:7860/) Lora [built-in](http://127.0.0.1:7860/) ScuNET [built-in](http://127.0.0.1:7860/) SwinIR [built-in](http://127.0.0.1:7860/) prompt-bracket-checker [built-in](http://127.0.0.1:7860/) ### Console logs ```Shell hint: core.useBuiltinFSMonitor=true is deprecated;please set core.fsmonitor=true instead hint: Disable this message with "git config advice.useCoreFSMonitorConfig false" Already up to date. venv "C:\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: defc90fa713ae603a7661dab060a627449d460d6 Installing requirements for Web UI Installing None Installing onnxruntime-gpu... Installing None Installing opencv-python... Installing None Installing Pillow... Installing requirements for CLIP Interrogator Fetching updates for midas... Checking out commit for midas with hash: b845b78... If submitting an issue on github, please provide the full startup log for debugging purposes. Initializing Dreambooth Dreambooth revision: 3324b6ab7fa661cf7d6b5ef186227dc5e8ad1878 Successfully installed accelerate-0.17.1 fastapi-0.90.1 gitpython-3.1.31 requests-2.28.2 starlette-0.23.1 tensorboard-data-server-0.7.0 transformers-4.26.1 [+] xformers version 0.0.17.dev476 installed. [+] torch version 1.13.1+cu117 installed. [+] torchvision version 0.14.1+cu117 installed. [+] accelerate version 0.17.1 installed. [+] diffusers version 0.14.0 installed. [+] transformers version 4.26.1 installed. [+] bitsandbytes version 0.35.4 installed. Installing imageio-ffmpeg requirement for depthmap script Installing pyqt5 requirement for depthmap script Launching Web UI with arguments: --xformers --opt-channelslast --disable-safe-unpickle C:\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py:54: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'CPUExecutionProvider' warnings.warn( Additional Network extension not installed, Only hijack built-in lora LoCon Extension hijack built-in lora successfully Error loading script: clip_interrogator_ext.py Traceback (most recent call last): File "C:\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "C:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\stable-diffusion-webui\extensions\clip-interrogator-ext\scripts\clip_interrogator_ext.py", line 9, in import clip_interrogator File "C:\stable-diffusion-webui\venv\lib\site-packages\clip_interrogator\__init__.py", line 1, in from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list File "C:\stable-diffusion-webui\venv\lib\site-packages\clip_interrogator\clip_interrogator.py", line 12, in from transformers import AutoProcessor, AutoModelForCausalLM, BlipForConditionalGeneration, Blip2ForConditionalGeneration ImportError: cannot import name 'Blip2ForConditionalGeneration' from 'transformers' (C:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py) [AddNet] Updating model hashes... 100%|██████████████████████████████████████████████████████████████████████████████████| 7/7 [00:00<00:00, 2341.13it/s] [AddNet] Updating model hashes... 100%|██████████████████████████████████████████████████████████████████████████████████| 7/7 [00:00<00:00, 3511.14it/s] Loading weights [adc9b4e999] from C:\stable-diffusion-webui\models\Stable-diffusion\SEEK_PROTO_B.safetensors Creating model from config: C:\stable-diffusion-webui\configs\v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Loading VAE weights specified in settings: C:\stable-diffusion-webui\models\VAE\1_5.ckpt Applying xformers cross attention optimization. Textual inversion embeddings loaded(46): A female cyborg, arcane-face, arcane-style-jv, badbucket, beetlejuice-cartoon, dangerdonkey, dangermouse, dr-strange, DreamArtistBADHAND-neg, DreamArtistBADHAND, emb_ccd20, emb_ccd22, emb_ccd23, EMB_CCDNT, Exouds-Style, fairy-tale-painting-style, JM-Bergling-monogram, KOJIMA, lls, marbling-art, Marc_Allante, midjourney-style, moe-bius, moebius, negativeembed, ng_deepnegative_v1_16t, ng_deepnegative_v1_32t, NG_DeepNegative_V1_64T, NG_DeepNegative_V1_75T, portrait-style-dishonored, rayne-weynolds, sherhook, StarhavenMachineGods, summie-style, tcircle, tcircle1, tony-diterlizzi-planescape, tooth-wu, trash-polka-style, Unspeakable-Horrors-64v, valorant, warcharport, xbh, yinit-dropcap, yoji-shinkawa, emb_CostumeDesign Model loaded in 16.9s (load weights from disk: 0.4s, create model: 1.1s, apply weights to model: 6.4s, apply channels_last: 2.4s, apply half(): 1.7s, load VAE: 0.6s, move model to device: 1.4s, load textual inversion embeddings: 2.8s). patched in extra network ui page: deltas patched in extra network: deltas CUDA SETUP: Loading binary C:\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 48.4s (import torch: 6.1s, import gradio: 1.8s, import ldm: 0.9s, other imports: 1.7s, setup codeformer: 0.2s, load scripts: 11.6s, load SD checkpoint: 17.0s, create ui: 8.6s, gradio launch: 0.3s). ``` ### Additional information _No response_
PhreakHeaven commented 1 year ago

Same. WTF is going on? This has been happening since I did a "git pull" last night. Even if I do the style.css trick, the model never changes when selecting a different one. I've performed "git pull" several more times since, and there have been multiple updates, apparently, but this is still not fixed in any of those updates.

notkmikiya commented 1 year ago

Woah, that's a crazy number of extensions.

After the recent updates, many extensions don't work anymore, and disabling them brings back functionality. I slowly enabled the ones I used the most to see what was still working, and ended up only having controlnet.

Golevka2001 commented 1 year ago

#9027

That will help.

Golevka2001 commented 1 year ago

Woah, that's a crazy number of extensions.

After the recent updates, many extensions don't work anymore, and disabling them brings back functionality. I slowly enabled the ones I used the most to see what was still working, and ended up only having controlnet.

Judging from recent updates, more extensions will only make WebUI more vulnerable :joy:. They keep adding new features without releasing some stable versions, while the extension authors may not have had time to synchronize the updates. Especially some functional related ones.