Closed fulleclip closed 9 months ago
I have realized that now dreambooth uses xformer 0.21, I have deleted both the plugin folder and the venv folder to avoid possible errors, after this I have reinstalled the latest version of dreambooth, everything loads fine, the training also seems to be correct or at least no errors, but when trying to load the new model the error appears again
------- log -----
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: v1.7.0 Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e Installing requirements bin D:\sd1\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.dll If submitting an issue on github, please provide the full startup log for debugging purposes.
Initializing Dreambooth Dreambooth revision: 1cf7267f49ecfe24fec9756b1d76c0ad8629087f Checking xformers... Checking bitsandbytes... Checking bitsandbytes (Windows) Virtual environment path: D:\sd1\stable-diffusion-webui\venv Checking for D:\sd1\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.dll Checking Dreambooth requirements... [Dreambooth] accelerate v0.21.0 is already installed. [Dreambooth] dadaptation v3.1 is already installed. [Dreambooth] diffusers v0.23.1 is already installed. [Dreambooth] discord-webhook v1.3.0 is already installed. [Dreambooth] fastapi is already installed. [Dreambooth] gitpython v3.1.40 is not installed. Successfully installed gitpython-3.1.40
[Dreambooth] pytorch_optimizer v2.12.0 is already installed. [Dreambooth] Pillow is already installed. [Dreambooth] tqdm is already installed. [Dreambooth] tomesd v0.1.2 is already installed. [Dreambooth] transformers v4.30.2 is already installed. [Dreambooth] tensorboard v2.13.0 is already installed. [+] xformers version 0.0.21 installed. [+] torch version 2.0.1+cu118 installed. [+] torchvision version 0.15.2+cu118 installed. [+] accelerate version 0.21.0 installed. [+] diffusers version 0.24.0 installed. [+] transformers version 4.30.2 installed. [+] bitsandbytes version 0.41.2.post2 installed. Launching Web UI with arguments: --xformers --medvram-sdxl --no-half-vae bin D:\sd1\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.dll Style database not found: D:\sd1\stable-diffusion-webui\styles.csv [-] ADetailer initialized. version: 23.11.1, num models: 9 ControlNet preprocessor location: D:\sd1\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads 2023-12-18 01:09:31,841 - ControlNet - INFO - ControlNet v1.1.423 2023-12-18 01:09:31,977 - ControlNet - INFO - ControlNet v1.1.423 Loading weights [c55a11068a] from D:\sd1\stable-diffusion-webui\models\Stable-diffusion\adriii55\adriii55_5400.safetensors 2023-12-18 01:09:32,978 - AnimateDiff - INFO - Injecting LCM to UI. 2023-12-18 01:09:33,359 - AnimateDiff - INFO - Hacking i2i-batch. Creating model from config: D:\sd1\stable-diffusion-webui\models\Stable-diffusion\adriii55\adriii55_5400.yaml Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True
in launch()
.
Startup time: 37.2s (prepare environment: 21.5s, import torch: 4.7s, import gradio: 1.5s, setup paths: 1.7s, initialize shared: 0.3s, other imports: 0.5s, setup codeformer: 0.3s, load scripts: 4.4s, create ui: 1.6s, gradio launch: 0.2s).
Applying attention optimization: xformers... done.
Model loaded in 7.5s (load weights from disk: 1.1s, create model: 0.6s, apply weights to model: 5.2s, calculate empty prompt: 0.2s).
Advanced elements visible: False
Reusing loaded model adriii55\adriii55_5400.safetensors [c55a11068a] to load p3\p3_300.safetensors [88e401a5b9]
Loading weights [88e401a5b9] from D:\sd1\stable-diffusion-webui\models\Stable-diffusion\p3\p3_300.safetensors
Creating model from config: D:\sd1\stable-diffusion-webui\models\Stable-diffusion\p3\p3_300.yaml
changing setting sd_model_checkpoint to p3\p3_300.safetensors [88e401a5b9]: RuntimeError
Traceback (most recent call last):
File "D:\sd1\stable-diffusion-webui\modules\options.py", line 146, in set
option.onchange()
File "D:\sd1\stable-diffusion-webui\modules\call_queue.py", line 13, in f
res = func(*args, *kwargs)
File "D:\sd1\stable-diffusion-webui\modules\initialize_util.py", line 174, in
I have updated to the latest version 0c434ad7, generated a new test model, and at least it still gives me the same errors when loading the resulting model
perfect thanks, everything seems to work now
This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days
Is there an existing issue for this?
What happened?
When I try to load the models created by Dreambooth, errors appear and they do not load
Steps to reproduce the problem
Try to load from the interface any model recently created by Dreambooth
Commit and libraries
Initializing Dreambooth Dreambooth revision: 1cf7267f49ecfe24fec9756b1d76c0ad8629087f Checking xformers... Checking bitsandbytes... Checking bitsandbytes (Windows) Virtual environment path: D:\sd1\stable-diffusion-webui\venv Checking for D:\sd1\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.dll Checking Dreambooth requirements... [Dreambooth] accelerate v0.21.0 is already installed. [Dreambooth] dadaptation v3.1 is already installed. [Dreambooth] diffusers v0.23.1 is already installed. [Dreambooth] discord-webhook v1.3.0 is already installed. [Dreambooth] fastapi is already installed. [Dreambooth] gitpython v3.1.40 is not installed. Successfully installed gitpython-3.1.40
[Dreambooth] pytorch_optimizer v2.12.0 is already installed. [Dreambooth] Pillow is already installed. [Dreambooth] tqdm is already installed. [Dreambooth] tomesd v0.1.2 is already installed. [Dreambooth] transformers v4.30.2 is already installed. [Dreambooth] tensorboard v2.13.0 is already installed. [!] xformers version 0.0.20 installed. [+] torch version 2.0.1+cu118 installed. [+] torchvision version 0.15.2+cu118 installed. [+] accelerate version 0.21.0 installed. [+] diffusers version 0.23.1 installed. [+] transformers version 4.30.2 installed. [+] bitsandbytes version 0.41.2.post2 installed.
Command Line Arguments
Console logs
Additional information
No response