stable-diffusion-webui-forge
stable-diffusion-webui-forge copied to clipboard
[Bug]: Error loading previous extensions
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [X] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
Forge throws errors when loading old extensions
Steps to reproduce the problem
Launch Forge
What should have happened?
Old extensions load
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
Console logs
venv "C:/SD-1.6/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)]
Version: f0.0.15v1.8.0rc-latest-233-g2ecb869f
Commit hash: 2ecb869f31f4abab5922c1bd611e375d5bb28e8e
Installing requirements
bin C:\SD-1.6\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda121.dll
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
If submitting an issue on github, please provide the full startup log for debugging purposes.
Initializing Dreambooth
Dreambooth revision: 30bfbc289a1d90153a3e5a5ab92bf5636e66b210
Checking xformers...
Checking bitsandbytes...
Checking bitsandbytes (Windows)
Virtual environment path: C:/SD-1.6/venv
Checking for C:/SD-1.6/venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda111.dll
Found windows BNB DLL C:/SD-1.6/venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda111.dll
Checking Dreambooth requirements...
Installed version of accelerate: 0.21.0
[Dreambooth] accelerate v0.21.0 is already installed.
Installed version of dadaptation: 3.2
[Dreambooth] dadaptation v3.2 is already installed.
Installed version of diffusers: 0.25.0
[Dreambooth] diffusers v0.25.0 is already installed.
Installed version of discord-webhook: 1.3.0
[Dreambooth] discord-webhook v1.3.0 is already installed.
Installed version of fastapi: 0.94.0
[Dreambooth] fastapi is already installed.
Installed version of gitpython: 3.1.32
[Dreambooth] gitpython v3.1.40 is not installed.
Successfully installed gitpython-3.1.42
Installed version of pytorch_optimizer: 2.12.0
[Dreambooth] pytorch_optimizer v2.12.0 is already installed.
Installed version of Pillow: 9.5.0
[Dreambooth] Pillow is already installed.
Installed version of tqdm: 4.66.2
[Dreambooth] tqdm is already installed.
Installed version of tomesd: 0.1.3
[Dreambooth] tomesd v0.1.2 is already installed.
Installed version of tensorboard: 2.13.0
[Dreambooth] tensorboard v2.13.0 is already installed.
[+] torch version 2.1.2+cu121 installed.
[+] torchvision version 0.16.2+cu121 installed.
[+] accelerate version 0.21.0 installed.
[+] diffusers version 0.25.0 installed.
[+] bitsandbytes version 0.41.2.post2 installed.
[!] xformers NOT installed.
Launching Web UI with arguments: --ckpt-dir C:/SD-1.6/models/Stable-diffusion --hypernetwork-dir C:/SD-1.6/models/hypernetworks --embeddings-dir C:/SD-1.6/embeddings --lora-dir C:/SD-1.6/models/Lora
Total VRAM 6144 MB, total RAM 16260 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1660 Ti : native
VAE dtype: torch.float32
Using pytorch cross attention
ControlNet preprocessor location: C:\SD-1.6\models\ControlNetPreprocessor
*** Error loading script: model_keyword_support.py
Traceback (most recent call last):
File "C:\SD-1.6\modules\scripts.py", line 544, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\SD-1.6\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\SD-1.6\extensions\a1111-sd-webui-tagcomplete\scripts\model_keyword_support.py", line 7, in <module>
from scripts.shared_paths import EXT_PATH, STATIC_TEMP_PATH, TEMP_PATH
ModuleNotFoundError: No module named 'scripts.shared_paths'
---
*** Error loading script: tag_autocomplete_helper.py
Traceback (most recent call last):
File "C:\SD-1.6\modules\scripts.py", line 544, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\SD-1.6\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\SD-1.6\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 15, in <module>
from scripts.model_keyword_support import (get_lora_simple_hash,
ModuleNotFoundError: No module named 'scripts.model_keyword_support'
---
*** Error loading script: GenParamGetter.py
Traceback (most recent call last):
File "C:\SD-1.6\modules\scripts.py", line 544, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\SD-1.6\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\SD-1.6\extensions\sd-webui-supermerger\scripts\GenParamGetter.py", line 2, in <module>
import scripts.mergers.components as components
ModuleNotFoundError: No module named 'scripts.mergers'
---
*** Error loading script: supermerger.py
Traceback (most recent call last):
File "C:\SD-1.6\modules\scripts.py", line 544, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\SD-1.6\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\SD-1.6\extensions\sd-webui-supermerger\scripts\supermerger.py", line 22, in <module>
import scripts.mergers.mergers
ModuleNotFoundError: No module named 'scripts.mergers'
---
Loading weights [0d32aafb76] from C:\SD-1.6\models\Stable-diffusion\hardcore_hentai_v1.3-FP32.safetensors
2024-02-24 06:02:20,582 - ControlNet - INFO - ControlNet UI callback registered.
model_type EPS
UNet ADM Dimension 0
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 40.2s (prepare environment: 24.6s, import torch: 5.9s, import gradio: 1.3s, setup paths: 1.6s, initialize shared: 0.2s, other imports: 0.7s, list SD models: 0.1s, load scripts: 3.9s, create ui: 1.3s, gradio launch: 0.4s).
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
extra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_l.text_projection'}
left over keys: dict_keys(['model_ema.decay', 'model_ema.num_updates'])
Loading VAE weights specified in settings: C:\SD-1.6\models\VAE\kl-f8-anime2.safetensors
To load target model SD1ClipModel
Begin to load 1 model
Reuse 0 loaded models
Moving model(s) has taken 0.01 seconds
Model loaded in 7.3s (load weights from disk: 0.7s, forge load real models: 5.2s, load VAE: 0.5s, calculate empty prompt: 0.9s).
Advanced elements visible: False
Additional information
Installed Forge as a branch