Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB completely broken and full of errors when launch AUTOMATIC's after last update. (1.3.0) #1242

Closed
ZeroCool22 opened this issue May 28, 2023 · 34 comments
Labels
new Just added, you should probably sort this. Stale

Comments

@ZeroCool22
Copy link

ZeroCool22 commented May 28, 2023

After the last update of AUTO's, DB got completely broken and trough lot's of errors.

commit 20ae71faa8ef035c31aa3a410b707d792c8203a3 (HEAD -> master, tag: v1.3.0, origin/master, origin/HEAD)
Author: AUTOMATIC <16777216c@gmail.com>
Date:   Sat May 27 20:23:16 2023 +0300

    fix linter issue for 1.3.0

💻 DB Extension version:

Screenshot_5

📋 Tracerback:

`Error running install.py for extension C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension.
Command: "C:\Users\ZeroCool22\Desktop\Auto\venv\Scripts\python.exe" "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\install.py"
Error code: 1
stdout: If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 926ae20

Requirement installation exception:

WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
Ignoring tensorboard: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Ignoring tensorflow-macos: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Ignoring tensorflow-metal: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Requirement already satisfied: accelerate~=0.18.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (0.18.0)
Requirement already satisfied: bitsandbytes==0.35.4 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (0.35.4)
Requirement already satisfied: dadaptation~=1.5.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 3)) (1.5)
Requirement already satisfied: diffusers~=0.14.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (0.14.0)
Requirement already satisfied: discord-webhook~=1.1.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 5)) (1.1.0)
Collecting fastapi~=0.94.1
Using cached fastapi-0.94.1-py3-none-any.whl (56 kB)
Collecting gitpython~=3.1.31
Using cached GitPython-3.1.31-py3-none-any.whl (184 kB)
Requirement already satisfied: lion-pytorch~=0.0.7 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 8)) (0.0.7)
Collecting Pillow~=9.4.0
Using cached Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB)
Requirement already satisfied: tqdm~=4.64.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (4.64.1)
Collecting transformers~=4.26.1
Using cached transformers-4.26.1-py3-none-any.whl (6.3 MB)
Requirement already satisfied: tensorboard==2.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.12.0)
Requirement already satisfied: tensorflow==2.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.12.0)
Requirement already satisfied: markdown>=2.6.8 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.4.3)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (63.2.0)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.7.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.17.3)
Requirement already satisfied: grpcio>=1.48.2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.54.0)
Requirement already satisfied: numpy>=1.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.23.5)
Requirement already satisfied: protobuf>=3.19.6 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (4.22.3)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.8.1)
Requirement already satisfied: requests<3,>=2.21.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.31.0)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: werkzeug>=1.0.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.2.3)
Requirement already satisfied: absl-py>=0.4 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.4.0)
Requirement already satisfied: wheel>=0.26 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.40.0)
Requirement already satisfied: tensorflow-intel==2.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.12.0)
Requirement already satisfied: typing-extensions>=3.6.6 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (4.4.0)
Requirement already satisfied: flatbuffers>=2.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (23.3.3)
Requirement already satisfied: h5py>=2.9.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (3.8.0)
Requirement already satisfied: tensorflow-estimator<2.13,>=2.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.12.0)
Requirement already satisfied: packaging in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (23.1)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (0.31.0)
Requirement already satisfied: gast<=0.4.0,>=0.2.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (0.4.0)
Requirement already satisfied: jax>=0.3.15 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (0.4.8)
Requirement already satisfied: keras<2.13,>=2.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.12.0)
Requirement already satisfied: astunparse>=1.6.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.6.3)
Requirement already satisfied: six>=1.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.16.0)
Requirement already satisfied: google-pasta>=0.1.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (0.2.0)
Requirement already satisfied: opt-einsum>=2.3.2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (3.3.0)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.2.0)
Requirement already satisfied: wrapt<1.15,>=1.11.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.14.1)
Requirement already satisfied: libclang>=13.0.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (16.0.0)
Requirement already satisfied: pyyaml in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (6.0)
Requirement already satisfied: psutil in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (5.9.5)
Requirement already satisfied: torch>=1.4.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (2.0.0+cu118)
Requirement already satisfied: importlib-metadata in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (6.5.0)
Requirement already satisfied: huggingface-hub>=0.10.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (0.13.4)
Requirement already satisfied: filelock in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (3.9.0)
Requirement already satisfied: regex!=2019.12.17 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2023.3.23)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.10.7)
Requirement already satisfied: starlette<0.27.0,>=0.26.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (0.26.1)
Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from gitpython~=3.1.31->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (4.0.10)
Requirement already satisfied: colorama in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tqdm~=4.64.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (0.4.6)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from transformers~=4.26.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 11)) (0.13.3)
Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from gitdb<5,>=4.0.1->gitpython~=3.1.31->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (5.0.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.3.0)
Requirement already satisfied: rsa<5,>=3.1.4 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (4.9)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (5.3.0)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.3.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2022.12.7)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.1.1)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.26.13)
Requirement already satisfied: idna<4,>=2.5 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.10)
Requirement already satisfied: anyio<5,>=3.4.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from starlette<0.27.0,>=0.26.1->fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (3.6.2)
Requirement already satisfied: jinja2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: networkx in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (3.0)
Requirement already satisfied: sympy in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.11.1)
Requirement already satisfied: MarkupSafe>=2.1.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from werkzeug>=1.0.1->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.1.2)
Requirement already satisfied: zipp>=0.5 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from importlib-metadata->diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (3.15.0)
Requirement already satisfied: sniffio>=1.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from anyio<5,>=3.4.0->starlette<0.27.0,>=0.26.1->fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.3.0)
Requirement already satisfied: scipy>=1.7 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from jax>=0.3.15->tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.10.1)
Requirement already satisfied: ml-dtypes>=0.0.3 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from jax>=0.3.15->tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (0.1.0)
Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.5.0)
Requirement already satisfied: oauthlib>=3.0.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.2.2)
Requirement already satisfied: mpmath>=0.19 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from sympy->torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.2.1)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
Installing collected packages: Pillow, gitpython, transformers, google-auth-oauthlib, fastapi
Attempting uninstall: Pillow
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
Found existing installation: Pillow 9.5.0
Uninstalling Pillow-9.5.0:
Successfully uninstalled Pillow-9.5.0
ERROR: Could not install packages due to an OSError: [WinError 5] Acceso denegado: 'C:\Users\ZeroCool22\Desktop\Auto\venv\Lib\site-packages\~%l\_imaging.cp310-win_amd64.pyd'
Check the permissions.
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -llow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\zerocool22\desktop\auto\venv\lib\site-packages)
[notice] A new release of pip available: 22.2.1 -> 23.1.2
[notice] To update, run: C:\Users\ZeroCool22\Desktop\Auto\venv\Scripts\python.exe -m pip install --upgrade pip

stderr: C:\Users\ZeroCool22\Desktop\Auto\venv\lib\site-packages\pkg_resources_init_.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release
warnings.warn(
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
C:\Users\ZeroCool22\Desktop\Auto\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: pytorch_lightning.utilities.distributed.rank_zero_only has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from pytorch_lightning.utilities instead.
rank_zero_deprecation(
loading stable diffusion model: ImportError
Traceback (most recent call last):
File "C:\Users\ZeroCool22\Desktop\Auto\modules\sd_models.py", line 424, in get_sd_model
load_model()
File "C:\Users\ZeroCool22\Desktop\Auto\modules\sd_models.py", line 441, in load_model
from modules import lowvram, sd_hijack
File "C:\Users\ZeroCool22\Desktop\Auto\modules\sd_hijack.py", line 5, in
import modules.textual_inversion.textual_inversion
File "C:\Users\ZeroCool22\Desktop\Auto\modules\textual_inversion\textual_inversion.py", line 17, in
from modules import shared, devices, sd_hijack, processing, sd_models, images, sd_samplers, sd_hijack_checkpoint
File "C:\Users\ZeroCool22\Desktop\Auto\modules\processing.py", line 17, in
from modules.sd_hijack import model_hijack
ImportError: cannot import name 'model_hijack' from partially initialized module 'modules.sd_hijack' (most likely due to a circular import) (C:\Users\ZeroCool22\Desktop\Auto\modules\sd_hijack.py)

Stable diffusion model failed to load
Traceback (most recent call last):
File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\install.py", line 35, in
actual_install()
File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 41, in actual_install
install_requirements()
File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 87, in install_requirements
raise grepexc
File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 75, in install_requirements
pip_install("-r", req_file)
File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 53, in pip_install
output = subprocess.check_output(
File "C:\Users\ZeroCool22\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\ZeroCool22\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\Users\ZeroCool22\Desktop\Auto\venv\Scripts\python.exe', '-m', 'pip', 'install', '-r', 'C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt']' returned non-zero exit status 1.

Launching Web UI with arguments: --xformers --api --vae-path F:\Stable-diffusion\vae-ft-mse-840000-ema-pruned.ckpt`

============================

What OS?
Win. 10 22H2 (19045.2604)

If Windows - WSL or native?
Native.

What GPU are you using?
1080 TI.

UPDATE:

Deleting and recreating the VENV folder don't fix the problem.

@alcure
Copy link

alcure commented May 28, 2023

I'm was having the same issue here! I got to the folder ~\Automatic1111\stable-diffusion-webui\ and renamed venv folder to venv-old just to test, so when running webui-user.bat it'll recreate with the requeriments from extensions etc.

Guess it'll solve the problem. I'll return with my results soon!

EDIT::
Well, same erros, just recreating venv didnt solve (but updated alot of requeriments and solved a bunch of bugs i was having). I recommend doing it for now until a definite fix is sorted out, then delete venv-old folder if it works for you!

@LulzRose
Copy link

Same errors on fresh install

@gee666
Copy link

gee666 commented May 28, 2023

All the same stuff here, tried to remove the extention and reinstall it didn't help
remove venv also didn't help

@YUMEORIGINS
Copy link

YUMEORIGINS commented May 28, 2023

same here 👍
but seems fixed with that

@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
set "XFORMERS_PACKAGE=xformers==0.0.17.dev447"
:: Use the below argument if getting OOM extracting checkpoints
:: set COMMANDLINE_ARGS=--ckptfix
set "REQS_FILE=.\extensions\sd_dreambooth_extension\requirements.txt"
:: Uncomment below to skip trying to install automatically on launch.
:: set "DREAMBOOTH_SKIP_INSTALL=True"
:: Use this to launch with accelerate (Run 'accelerate config' first, launch once without to install dependencies)
:: set ACCELERATE="True"

call webui.bat

@BlackDragonBE
Copy link

@YUMEORIGINS
I don't understand your reply. How were you able to fix it?

@ZeroCool22
Copy link
Author

All the same stuff here, tried to remove the extention and reinstall it didn't help remove venv also didn't help

Same, did the venv folder thing, but still same error:

Error running install.py for extension C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension.
Command: "C:\Users\ZeroCool22\Desktop\Auto\venv\Scripts\python.exe" "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\install.py"
Error code: 1
stdout: If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
# Requirement installation exception:
Ignoring tensorboard: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Ignoring tensorflow-macos: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Ignoring tensorflow-metal: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Requirement already satisfied: accelerate~=0.18.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from -r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (0.18.0)
Collecting bitsandbytes==0.35.4
Using cached bitsandbytes-0.35.4-py3-none-any.whl (62.5 MB)
Collecting dadaptation~=1.5.0
Using cached dadaptation-1.5-py3-none-any.whl
Collecting diffusers~=0.14.0
Using cached diffusers-0.14.0-py3-none-any.whl (737 kB)
Collecting discord-webhook~=1.1.0
Using cached discord_webhook-1.1.0-py3-none-any.whl (12 kB)
Collecting fastapi~=0.94.1
Using cached fastapi-0.94.1-py3-none-any.whl (56 kB)
Collecting gitpython~=3.1.31
Using cached GitPython-3.1.31-py3-none-any.whl (184 kB)
Collecting lion-pytorch~=0.0.7
Downloading lion_pytorch-0.0.8-py3-none-any.whl (4.5 kB)
Collecting Pillow~=9.4.0
Using cached Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting tqdm~=4.64.1
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting transformers~=4.26.1
Using cached transformers-4.26.1-py3-none-any.whl (6.3 MB)
Collecting tensorboard==2.12.0
Using cached tensorboard-2.12.0-py3-none-any.whl (5.6 MB)
Collecting tensorflow==2.12.0
Using cached tensorflow-2.12.0-cp310-cp310-win_amd64.whl (1.9 kB)
Requirement already satisfied: absl-py>=0.4 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.4.0)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.7.0)
Requirement already satisfied: werkzeug>=1.0.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.3.4)
Requirement already satisfied: markdown>=2.6.8 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.4.3)
Requirement already satisfied: wheel>=0.26 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.40.0)
Requirement already satisfied: protobuf>=3.19.6 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.20.0)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: numpy>=1.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.23.5)
Requirement already satisfied: google-auth<3,>=1.6.3 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.19.0)
Requirement already satisfied: requests<3,>=2.21.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.31.0)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (63.2.0)
Requirement already satisfied: grpcio>=1.48.2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.54.2)
Collecting tensorflow-intel==2.12.0
Using cached tensorflow_intel-2.12.0-cp310-cp310-win_amd64.whl (272.8 MB)
Collecting gast<=0.4.0,>=0.2.1
Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting tensorflow-estimator<2.13,>=2.12.0
Using cached tensorflow_estimator-2.12.0-py2.py3-none-any.whl (440 kB)
Collecting wrapt<1.15,>=1.11.0
Using cached wrapt-1.14.1-cp310-cp310-win_amd64.whl (35 kB)
Collecting libclang>=13.0.0
Using cached libclang-16.0.0-py2.py3-none-win_amd64.whl (24.4 MB)
Requirement already satisfied: packaging in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (23.1)
Collecting protobuf>=3.19.6
Using cached protobuf-4.23.2-cp310-abi3-win_amd64.whl (422 kB)
Collecting tensorflow-io-gcs-filesystem>=0.23.1
Using cached tensorflow_io_gcs_filesystem-0.31.0-cp310-cp310-win_amd64.whl (1.5 MB)
Collecting google-pasta>=0.1.1
Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Requirement already satisfied: flatbuffers>=2.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (23.5.26)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.3.0)
Collecting keras<2.13,>=2.12.0
Using cached keras-2.12.0-py2.py3-none-any.whl (1.7 MB)
Collecting jax>=0.3.15
Downloading jax-0.4.10.tar.gz (1.3 MB)
---------------------------------------- 1.3/1.3 MB 20.4 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting opt-einsum>=2.3.2
Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Requirement already satisfied: typing-extensions>=3.6.6 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (4.6.2)
Requirement already satisfied: six>=1.12.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.16.0)
Collecting astunparse>=1.6.0
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting h5py>=2.9.0
Using cached h5py-3.8.0-cp310-cp310-win_amd64.whl (2.6 MB)
Requirement already satisfied: psutil in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (5.9.5)
Requirement already satisfied: pyyaml in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (6.0)
Requirement already satisfied: torch>=1.4.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (2.0.1+cu118)
Collecting importlib-metadata
Using cached importlib_metadata-6.6.0-py3-none-any.whl (22 kB)
Requirement already satisfied: regex!=2019.12.17 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2023.5.5)
Requirement already satisfied: huggingface-hub>=0.10.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (0.14.1)
Requirement already satisfied: filelock in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (3.12.0)
Requirement already satisfied: starlette<0.27.0,>=0.26.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (0.26.1)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.10.8)
Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from gitpython~=3.1.31->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (4.0.10)
Requirement already satisfied: colorama in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from tqdm~=4.64.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (0.4.6)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from transformers~=4.26.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 11)) (0.13.3)
Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from gitdb<5,>=4.0.1->gitpython~=3.1.31->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (5.0.0)
Requirement already satisfied: rsa<5,>=3.1.4 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (4.9)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.3.0)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (5.3.1)
Requirement already satisfied: urllib3<2.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.26.16)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.3.1)
Requirement already satisfied: fsspec in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from huggingface-hub>=0.10.0->diffusers~=0.14.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2023.5.0)
Requirement already satisfied: idna<4,>=2.5 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.4)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.1.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2023.5.7)
Requirement already satisfied: anyio<5,>=3.4.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from starlette<0.27.0,>=0.26.1->fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (3.7.0)
Requirement already satisfied: networkx in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (3.1)
Requirement already satisfied: jinja2 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: sympy in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.12)
Requirement already satisfied: MarkupSafe>=2.1.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from werkzeug>=1.0.1->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.1.2)
Collecting zipp>=0.5
Using cached zipp-3.15.0-py3-none-any.whl (6.8 kB)
Requirement already satisfied: sniffio>=1.1 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from anyio<5,>=3.4.0->starlette<0.27.0,>=0.26.1->fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.3.0)
Requirement already satisfied: exceptiongroup in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from anyio<5,>=3.4.0->starlette<0.27.0,>=0.26.1->fastapi~=0.94.1->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.1.1)
Requirement already satisfied: scipy>=1.7 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from jax>=0.3.15->tensorflow-intel==2.12.0->tensorflow==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.10.1)
Collecting ml-dtypes>=0.1.0
Using cached ml_dtypes-0.1.0-cp310-cp310-win_amd64.whl (120 kB)
Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.5.0)
Requirement already satisfied: oauthlib>=3.0.0 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.12.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.2.2)
Requirement already satisfied: mpmath>=0.19 in c:\users\zerocool22\desktop\auto\venv\lib\site-packages (from sympy->torch>=1.4.0->accelerate~=0.18.0->-r C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.3.0)
Building wheels for collected packages: jax
Building wheel for jax (pyproject.toml): started
Building wheel for jax (pyproject.toml): finished with status 'done'
Created wheel for jax: filename=jax-0.4.10-py3-none-any.whl size=1480617 sha256=8546dfe1ee53ad2b97c6e5b77f5a07c6a9b10b64177313364660c7aead8478a3
Stored in directory: c:\users\zerocool22\appdata\local\pip\cache\wheels\2f\04\51\ebc9c5225f0a0df1e56c231c1f4c9b7afd3e024ebb492eed99
Successfully built jax
Installing collected packages: tensorboard-plugin-wit, libclang, bitsandbytes, zipp, wrapt, tqdm, tensorflow-io-gcs-filesystem, tensorflow-estimator, protobuf, Pillow, opt-einsum, ml-dtypes, keras, h5py, google-pasta, gast, dadaptation, astunparse, jax, importlib-metadata, gitpython, discord-webhook, transformers, lion-pytorch, google-auth-oauthlib, fastapi, diffusers, tensorboard, tensorflow-intel, tensorflow
Attempting uninstall: tqdm
Found existing installation: tqdm 4.65.0
Uninstalling tqdm-4.65.0:
Successfully uninstalled tqdm-4.65.0
Attempting uninstall: protobuf
Found existing installation: protobuf 3.20.0
Uninstalling protobuf-3.20.0:
Successfully uninstalled protobuf-3.20.0
ERROR: Could not install packages due to an OSError: [WinError 5] Acceso denegado: 'C:\\Users\\ZeroCool22\\Desktop\\Auto\\venv\\Lib\\site-packages\\google\\~rotobuf\\internal\\_api_implementation.cp310-win_amd64.pyd'
Check the permissions.
[notice] A new release of pip available: 22.2.1 -> 23.1.2
[notice] To update, run: C:\Users\ZeroCool22\Desktop\Auto\venv\Scripts\python.exe -m pip install --upgrade pip

stderr: A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
C:\Users\ZeroCool22\Desktop\Auto\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.
  rank_zero_deprecation(
loading stable diffusion model: ImportError
Traceback (most recent call last):
  File "C:\Users\ZeroCool22\Desktop\Auto\modules\sd_models.py", line 424, in get_sd_model
    load_model()
  File "C:\Users\ZeroCool22\Desktop\Auto\modules\sd_models.py", line 441, in load_model
    from modules import lowvram, sd_hijack
  File "C:\Users\ZeroCool22\Desktop\Auto\modules\sd_hijack.py", line 5, in <module>
    import modules.textual_inversion.textual_inversion
  File "C:\Users\ZeroCool22\Desktop\Auto\modules\textual_inversion\textual_inversion.py", line 17, in <module>
    from modules import shared, devices, sd_hijack, processing, sd_models, images, sd_samplers, sd_hijack_checkpoint
  File "C:\Users\ZeroCool22\Desktop\Auto\modules\processing.py", line 17, in <module>
    from modules.sd_hijack import model_hijack
ImportError: cannot import name 'model_hijack' from partially initialized module 'modules.sd_hijack' (most likely due to a circular import) (C:\Users\ZeroCool22\Desktop\Auto\modules\sd_hijack.py)


Stable diffusion model failed to load
Traceback (most recent call last):
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\install.py", line 35, in <module>
    actual_install()
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 41, in actual_install
    install_requirements()
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 87, in install_requirements
    raise grepexc
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 75, in install_requirements
    pip_install("-r", req_file)
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\postinstall.py", line 53, in pip_install
    output = subprocess.check_output(
  File "C:\Users\ZeroCool22\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "C:\Users\ZeroCool22\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\ZeroCool22\\Desktop\\Auto\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', '-r', 'C:\\Users\\ZeroCool22\\Desktop\\Auto\\extensions\\sd_dreambooth_extension\\requirements.txt']' returned non-zero exit status 1.

Launching Web UI with arguments: --xformers --api --vae-path F:\Stable-diffusion\vae-ft-mse-840000-ema-pruned.ckpt
python_server_full_path:  C:\Users\ZeroCool22\Desktop\Auto\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server
ControlNet v1.1.200
ControlNet v1.1.200
Loading weights [f8bb2922e1] from C:\Users\ZeroCool22\Desktop\Auto\models\Stable-diffusion\revAnimated_v122.safetensors
Creating model from config: C:\Users\ZeroCool22\Desktop\Auto\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights from commandline argument: F:\Stable-diffusion\vae-ft-mse-840000-ema-pruned.ckpt
Textual inversion embeddings loaded(4): bad-hands-5, bad-image-v2-39000, bad_prompt_version2, EasyNegative
Textual inversion embeddings skipped(3): nartfixer, nfixer, nrealfixer
Model loaded in 3.7s (load weights from disk: 0.1s, create model: 0.3s, apply weights to model: 0.9s, apply half(): 0.7s, load VAE: 0.2s, move model to device: 0.6s, load textual inversion embeddings: 0.8s).
Exception importing api
Traceback (most recent call last):
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\scripts\api.py", line 27, in <module>
    from dreambooth.dataclasses.db_config import from_file, DreamboothConfig
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in <module>
    from dreambooth.utils.image_utils import get_scheduler_names  # noqa
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in <module>
    from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'
Error loading script: main.py
Traceback (most recent call last):
  File "C:\Users\ZeroCool22\Desktop\Auto\modules\scripts.py", line 263, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "C:\Users\ZeroCool22\Desktop\Auto\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:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\scripts\main.py", line 7, in <module>
    from dreambooth.dataclasses.db_config import (
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in <module>
    from dreambooth.utils.image_utils import get_scheduler_names  # noqa
  File "C:\Users\ZeroCool22\Desktop\Auto\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in <module>
    from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'

Applying optimization: xformers... done.

@d8ahazard
Copy link
Owner

d8ahazard commented May 28, 2023 via email

@ChessChampTTV
Copy link

Hi everyone , I CAME TO SAVE THE DAY @ZeroCool22 @LulzRose @BlackDragonBE @alcure , i had the same issue as you guys so i got mad and started thinking the reason why ? i must find the problem !! at all cost !! all you gotta do is go to your dreambooth folder " sd_dreambooth_extension " there you would find a text file called " requirements.txt " open it and look for " Pillow~=9.4.0 " now all you gotta do is change the 4 to a 5 hahahaha " Pillow~=9.5.0 " <-----like this ! and click SAVE !! and run stable diffusion again ! AND BOOM !! WE are back to ACTION . Changing one number did the trick lol ! P.S if your PIllow have a different number then 9.4.0 doesn't matter just changed it to 9.5.0 thats all ! have a good day ya ! thanks me later :)

@E2GO
Copy link

E2GO commented May 29, 2023

@d8ahazard Switching to dev helps! Thanks a lot)

@vkleinmp
Copy link

Hi everyone , I CAME TO SAVE THE DAY @ZeroCool22 @LulzRose @BlackDragonBE @alcure , i had the same issue as you guys so i got mad and started thinking the reason why ? i must find the problem !! at all cost !! all you gotta do is go to your dreambooth folder " sd_dreambooth_extension " there you would find a text file called " requirements.txt " open it and look for " Pillow~=9.4.0 " now all you gotta do is change the 4 to a 5 hahahaha " Pillow~=9.5.0 " <-----like this ! and click SAVE !! and run stable diffusion again ! AND BOOM !! WE are back to ACTION . Changing one number did the trick lol ! P.S if your PIllow have a different number then 9.4.0 doesn't matter just changed it to 9.5.0 thats all ! have a good day ya ! thanks me later :)

This worked, thanks a lot.

@BlackDragonBE
Copy link

@ChessChampTTV
Worked like a charm! Thank you.

@ChessChampTTV
Copy link

@vkleinmp @BlackDragonBE I'm so happy it work for ya , BUT GUESS What ? that was a QUICK , Fast , FIX !! So I decided to make the SOLUTION more ELEGANT, CLEAN and PERFECT ! that's why i spend from 1am to 6 am working on this ! Before i continue can ya TWO PLEASE post the LOG when you start your stable diffusion , here ! so i can see it . I KNOW I KNOW most of ya wiould said " dude im fine with the QUICK FIX , it works 100 % " and that's TOTALLY FINE but im just want everything to be PERFECT AND ELEGANT ! so please post your LOG when your start up StableDiffusion WEBUI thank you :)

@johnc2k
Copy link

johnc2k commented May 29, 2023

@ChessChampTTV I tried your suggestion but it didn't work for me.

  • Clean install as per instructions
  • Installed Dreambooth via the GUI
  • Closed down the app
  • Updated the requirements.txt as per your suggestion
  • Launched auto1111 again and get the following error:
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.3.0
Commit hash: 20ae71faa8ef035c31aa3a410b707d792c8203a3
Installing requirements
Error running install.py for extension F:\sd.webui\webui\extensions\sd_dreambooth_extension.
Command: "F:\sd.webui\system\python\python.exe" "F:\sd.webui\webui\extensions\sd_dreambooth_extension\install.py"
Error code: 1
stdout: 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: 926ae204ef5de17efca2059c334b6098492a0641
# Requirement installation exception:
Ignoring tensorboard: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Ignoring tensorflow-macos: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Ignoring tensorflow-metal: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Requirement already satisfied: accelerate~=0.18.0 in f:\sd.webui\system\python\lib\site-packages (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (0.18.0)
Collecting bitsandbytes==0.35.4 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 2))
Using cached bitsandbytes-0.35.4-py3-none-any.whl (62.5 MB)
Collecting dadaptation~=1.5.0 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 3))
Using cached dadaptation-1.5-py3-none-any.whl
Collecting diffusers~=0.14.0 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 4))
Using cached diffusers-0.14.0-py3-none-any.whl (737 kB)
Collecting discord-webhook~=1.1.0 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 5))
Using cached discord_webhook-1.1.0-py3-none-any.whl (12 kB)
Collecting fastapi~=0.94.1 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 6))
Using cached fastapi-0.94.1-py3-none-any.whl (56 kB)
Collecting gitpython~=3.1.31 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 7))
Using cached GitPython-3.1.31-py3-none-any.whl (184 kB)
Collecting lion-pytorch~=0.0.7 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 8))
Using cached lion_pytorch-0.0.8-py3-none-any.whl (4.5 kB)
Requirement already satisfied: Pillow~=9.5.0 in f:\sd.webui\system\python\lib\site-packages (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (9.5.0)
Collecting tqdm~=4.64.1 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 10))
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting transformers~=4.26.1 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 11))
Using cached transformers-4.26.1-py3-none-any.whl (6.3 MB)
Collecting tensorboard==2.12.0 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14))
Using cached tensorboard-2.12.0-py3-none-any.whl (5.6 MB)
Collecting tensorflow==2.12.0 (from -r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached tensorflow-2.12.0-cp310-cp310-win_amd64.whl (1.9 kB)
Requirement already satisfied: absl-py>=0.4 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.4.0)
Requirement already satisfied: grpcio>=1.48.2 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.54.2)
Requirement already satisfied: google-auth<3,>=1.6.3 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.19.0)
Collecting google-auth-oauthlib<0.5,>=0.4.1 (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14))
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: markdown>=2.6.8 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.4.3)
Requirement already satisfied: numpy>=1.12.0 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.23.5)
Requirement already satisfied: protobuf>=3.19.6 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.20.0)
Requirement already satisfied: requests<3,>=2.21.0 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.31.0)
Requirement already satisfied: setuptools>=41.0.0 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (67.8.0)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.7.0)
Collecting tensorboard-plugin-wit>=1.6.0 (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14))
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Requirement already satisfied: werkzeug>=1.0.1 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.3.4)
Requirement already satisfied: wheel>=0.26 in f:\sd.webui\system\python\lib\site-packages (from tensorboard==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.40.0)
Collecting tensorflow-intel==2.12.0 (from tensorflow==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached tensorflow_intel-2.12.0-cp310-cp310-win_amd64.whl (272.8 MB)
Collecting astunparse>=1.6.0 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting flatbuffers>=2.0 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB)
Collecting gast<=0.4.0,>=0.2.1 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting google-pasta>=0.1.1 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Collecting h5py>=2.9.0 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached h5py-3.8.0-cp310-cp310-win_amd64.whl (2.6 MB)
Collecting jax>=0.3.15 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r F:\sd.webui\webui\extensions\sd_dreambooth_extension\requirements.txt (line 15))
Using cached jax-0.4.10.tar.gz (1.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
ERROR: Exception:
Traceback (most recent call last):
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\cli\base_command.py", line 169, in exc_logging_wrapper
status = run_func(*args)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\cli\req_command.py", line 248, in wrapper
return func(self, options, args)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\commands\install.py", line 377, in run
requirement_set = resolver.resolve(
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 230, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 156, in __bool__
return bool(self._sequence)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
return any(self)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
candidate = func()
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 293, in __init__
super().__init__(
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 156, in __init__
self.dist = self._prepare()
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 225, in _prepare
dist = self._prepare_distribution()
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 516, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 631, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 69, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\distributions\sdist.py", line 48, in prepare_distribution_metadata
self._install_build_reqs(finder)
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\distributions\sdist.py", line 118, in _install_build_reqs
build_reqs = self._get_build_requires_wheel()
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\distributions\sdist.py", line 95, in _get_build_requires_wheel
return backend.get_requires_for_build_wheel()
File "F:\sd.webui\system\python\lib\site-packages\pip\_internal\utils\misc.py", line 692, in get_requires_for_build_wheel
return super().get_requires_for_build_wheel(config_settings=cs)
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\pyproject_hooks\_impl.py", line 166, in get_requires_for_build_wheel
return self._call_hook('get_requires_for_build_wheel', {
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\pyproject_hooks\_impl.py", line 321, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
File "F:\sd.webui\system\python\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 77, in _build_backend
obj = import_module(mod_path)
File "importlib\__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\John\AppData\Local\Temp\pip-build-env-ax2chaw4\overlay\Lib\site-packages\setuptools\__init__.py", line 15, in <module>
import setuptools.version
File "C:\Users\John\AppData\Local\Temp\pip-build-env-ax2chaw4\overlay\Lib\site-packages\setuptools\version.py", line 1, in <module>
from ._importlib import metadata
File "C:\Users\John\AppData\Local\Temp\pip-build-env-ax2chaw4\overlay\Lib\site-packages\setuptools\_importlib.py", line 44, in <module>
import importlib.metadata as metadata  # noqa: F401
File "importlib\metadata\__init__.py", line 17, in <module>
File "importlib\metadata\_adapters.py", line 3, in <module>
File "email\message.py", line 15, in <module>
File "email\utils.py", line 29, in <module>
File "socket.py", line 51, in <module>
ModuleNotFoundError: No module named '_socket'

stderr: F:\sd.webui\system\python\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.
  rank_zero_deprecation(
loading stable diffusion model: ImportError
Traceback (most recent call last):
  File "F:\sd.webui\webui\modules\sd_models.py", line 424, in get_sd_model
    load_model()
  File "F:\sd.webui\webui\modules\sd_models.py", line 441, in load_model
    from modules import lowvram, sd_hijack
  File "F:\sd.webui\webui\modules\sd_hijack.py", line 5, in <module>
    import modules.textual_inversion.textual_inversion
  File "F:\sd.webui\webui\modules\textual_inversion\textual_inversion.py", line 17, in <module>
    from modules import shared, devices, sd_hijack, processing, sd_models, images, sd_samplers, sd_hijack_checkpoint
  File "F:\sd.webui\webui\modules\processing.py", line 17, in <module>
    from modules.sd_hijack import model_hijack
ImportError: cannot import name 'model_hijack' from partially initialized module 'modules.sd_hijack' (most likely due to a circular import) (F:\sd.webui\webui\modules\sd_hijack.py)


Stable diffusion model failed to load
Traceback (most recent call last):
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\install.py", line 35, in <module>
    actual_install()
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\postinstall.py", line 41, in actual_install
    install_requirements()
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\postinstall.py", line 87, in install_requirements
    raise grepexc
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\postinstall.py", line 75, in install_requirements
    pip_install("-r", req_file)
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\postinstall.py", line 53, in pip_install
    output = subprocess.check_output(
  File "subprocess.py", line 420, in check_output
  File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['F:\\sd.webui\\system\\python\\python.exe', '-m', 'pip', 'install', '-r', 'F:\\sd.webui\\webui\\extensions\\sd_dreambooth_extension\\requirements.txt']' returned non-zero exit status 2.

Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Loading weights [6ce0161689] from F:\sd.webui\webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: F:\sd.webui\webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Textual inversion embeddings loaded(0):
Model loaded in 3.3s (load weights from disk: 0.2s, create model: 0.4s, apply weights to model: 0.6s, apply half(): 0.7s, move model to device: 0.6s, load textual inversion embeddings: 0.9s).
Exception importing api
Traceback (most recent call last):
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\scripts\api.py", line 27, in <module>
    from dreambooth.dataclasses.db_config import from_file, DreamboothConfig
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in <module>
    from dreambooth.utils.image_utils import get_scheduler_names  # noqa
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in <module>
    from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'
Error loading script: main.py
Traceback (most recent call last):
  File "F:\sd.webui\webui\modules\scripts.py", line 263, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "F:\sd.webui\webui\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 "F:\sd.webui\webui\extensions\sd_dreambooth_extension\scripts\main.py", line 7, in <module>
    from dreambooth.dataclasses.db_config import (
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in <module>
    from dreambooth.utils.image_utils import get_scheduler_names  # noqa
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in <module>
    from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'

Applying optimization: sdp-no-mem... done.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Error executing callback app_started_callback for F:\sd.webui\webui\extensions\sd_dreambooth_extension\scripts\api.py
Traceback (most recent call last):
  File "F:\sd.webui\webui\modules\script_callbacks.py", line 125, in app_started_callback
    c.callback(demo, app)
  File "F:\sd.webui\webui\extensions\sd_dreambooth_extension\scripts\api.py", line 524, in dreambooth_api
    model_cfg: DreamboothConfig = Body(description="The config to save"),
NameError: name 'DreamboothConfig' is not defined

Startup time: 8.5s (import torch: 1.2s, import gradio: 1.1s, import ldm: 0.4s, other imports: 0.8s, load scripts: 4.5s, create ui: 0.4s, gradio launch: 0.1s).

@ChessChampTTV
Copy link

ChessChampTTV commented May 29, 2023

i think you missing xformers ! please post your dreambooth requeriments.txt and your stable diffusion requirements.txt and requirements_version.txt , post the 3 ! so i can see it , EASY FIX , i got you !!! i almost forget , go to your stable diffusion folder and EDIT THE " webui-user windows batch file " with notepad copy and paste the .txt here !! thank you once you post this i can fix your dreambooth

@ZeroCool22
Copy link
Author

ZeroCool22 commented May 30, 2023

Hi everyone , I CAME TO SAVE THE DAY @ZeroCool22 @LulzRose @BlackDragonBE @alcure , i had the same issue as you guys so i got mad and started thinking the reason why ? i must find the problem !! at all cost !! all you gotta do is go to your dreambooth folder " sd_dreambooth_extension " there you would find a text file called " requirements.txt " open it and look for " Pillow~=9.4.0 " now all you gotta do is change the 4 to a 5 hahahaha " Pillow~=9.5.0 " <-----like this ! and click SAVE !! and run stable diffusion again ! AND BOOM !! WE are back to ACTION . Changing one number did the trick lol ! P.S if your PIllow have a different number then 9.4.0 doesn't matter just changed it to 9.5.0 thats all ! have a good day ya ! thanks me later :)

Thx a lot, it worked, so simple lol!

I see you asking for the log in another reply, if by LOG you mean the text on the CMD window when start the GUI, i let you it here:

*If the LOG you ask for is in another place, tell me where it's, and i will upload it.

venv "C:\Users\ZeroCool22\Desktop\Auto\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: v1.3.0
Commit hash: 20ae71faa8ef035c31aa3a410b707d792c8203a3
Installing requirements
[Auto-Photoshop-SD] Attempting auto-update...
[Auto-Photoshop-SD] switch branch to extension branch.
checkout_result: Your branch is up to date with 'origin/master'.

[Auto-Photoshop-SD] Current Branch.
branch_result: * master

[Auto-Photoshop-SD] Fetch upstream.
fetch_result:
[Auto-Photoshop-SD] Pull upstream.
pull_result: Already up to date.



Fetching updates for midas...
Checking out commit for midas with hash: 1645b7e...


If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
Successfully installed fastapi-0.94.1 gitpython-3.1.31 google-auth-oauthlib-0.4.6 transformers-4.26.1


Does your project take forever to startup?
Repetitive dependency installation may be the reason.
Automatic1111's base project sets strict requirements on outdated dependencies.
If an extension is using a newer version, the dependency is uninstalled and reinstalled twice every startup.

[+] xformers version 0.0.17 installed.
[+] torch version 2.0.1+cu118 installed.
[+] torchvision version 0.15.2+cu118 installed.
[+] accelerate version 0.18.0 installed.
[+] diffusers version 0.14.0 installed.
[+] transformers version 4.26.1 installed.
[+] bitsandbytes version 0.35.4 installed.

Launching Web UI with arguments: --xformers --api --vae-path F:\Stable-diffusion\vae-ft-mse-840000-ema-pruned.ckpt
C:\Users\ZeroCool22\Desktop\Auto\venv\lib\site-packages\pkg_resources\__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release
  warnings.warn(
python_server_full_path:  C:\Users\ZeroCool22\Desktop\Auto\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server
ControlNet v1.1.202
ControlNet v1.1.202
Loading weights [13dfc9921f] from C:\Users\ZeroCool22\Desktop\Auto\models\Stable-diffusion\dreamshaper_332BakedVaeClipFix.safetensors
Creating model from config: C:\Users\ZeroCool22\Desktop\Auto\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights from commandline argument: F:\Stable-diffusion\vae-ft-mse-840000-ema-pruned.ckpt
Textual inversion embeddings loaded(4): bad-hands-5, bad-image-v2-39000, bad_prompt_version2, EasyNegative
Textual inversion embeddings skipped(3): nartfixer, nfixer, nrealfixer
Model loaded in 3.7s (load weights from disk: 0.3s, create model: 0.3s, apply weights to model: 0.7s, apply half(): 0.6s, load VAE: 0.2s, move model to device: 0.6s, load textual inversion embeddings: 0.8s).
Applying optimization: xformers... done.
Create LRU cache (max_size=16) for preprocessor results.
Create LRU cache (max_size=16) for preprocessor results.
CUDA SETUP: Loading binary C:\Users\ZeroCool22\Desktop\Auto\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()`.
Create LRU cache (max_size=16) for preprocessor results.
Startup time: 12.6s (import torch: 2.9s, import gradio: 0.7s, import ldm: 0.3s, other imports: 0.9s, load scripts: 5.9s, create ui: 1.6s, gradio launch: 0.1s).

Be aware that when you check for extensions updates and update DB one, it will change again the requeriments.txt giving you the error again.

👉 Also want to ask you, it's correct what this guy suggests doing with the Req.txt from AUTO's and DB?:

https://youtu.be/pom3nQejaTs?t=113 (1:53)

@ChessChampTTV
Copy link

@ZeroCool22, thank you for sharing your CMD LOG for SD. I can confirm that Dreambooth is functioning optimally. However, I noticed a familiar warning message, similar to one I've experienced before:

"Is your project taking an eternity to start up? The culprit could be repetitive dependency installations. Automatic1111's base project imposes strict regulations on outdated dependencies, and if an extension uses a newer version, the dependency ends up being uninstalled and reinstalled with every startup."

Though this message has been present since I began using Automatic1111, and my SD functioned smoothly despite it, I found it rather unnecessary. Just last night, I was able to eliminate this warning message, resulting in my SD launching more quickly and efficiently, free from any distracting notifications.

My log :

venv "C:\Users\milko\AIPrograms\stablediffusionnew\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)]
Version: v1.3.0
Commit hash: 20ae71faa8ef035c31aa3a410b707d792c8203a3
Installing requirements

If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 926ae20
Successfully installed google-auth-oauthlib-0.4.6

[+] xformers version 0.0.17 installed.
[+] torch version 2.0.1+cu118 installed.
[+] torchvision version 0.15.2+cu118 installed.
[+] accelerate version 0.18.0 installed.
[+] diffusers version 0.14.0 installed.
[+] transformers version 4.26.1 installed.
[+] bitsandbytes version 0.35.4 installed.

Launching Web UI with arguments: --xformers
ControlNet v1.1.202
ControlNet v1.1.202
Loading weights [6ce0161689] from C:\Users\milko\AIPrograms\stablediffusionnew\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: C:\Users\milko\AIPrograms\stablediffusionnew\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Textual inversion embeddings loaded(0):
Model loaded in 2.1s (load weights from disk: 0.2s, create model: 0.4s, apply weights to model: 0.5s, apply half(): 0.6s, move model to device: 0.5s).
Applying optimization: xformers... done.
Create LRU cache (max_size=16) for preprocessor results.
Create LRU cache (max_size=16) for preprocessor results.
Deforum ControlNet support: enabled
CUDA SETUP: Loading binary C:\Users\milko\AIPrograms\stablediffusionnew\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().
Create LRU cache (max_size=16) for preprocessor results.
Startup time: 12.7s (import torch: 3.7s, import gradio: 0.8s, import ldm: 0.4s, other imports: 0.9s, load scripts: 5.7s, create ui: 0.8s, gradio launch: 0.1s).

See how clean it's ?

In reference to the YouTube video - the fellow does have a point, but his method seems quite complex and doesn't guarantee success every time. I'm of the belief that a simpler and more reliable method could be designed.

The goal here is to ensure clarity and simplicity, making it straightforward enough for a 10-year-old to comprehend and implement. I will post a DIAGRAM showing the 2 easy steps to have clean working SD and DB , tomorrow. Right now i wanna go play some MW2 RANKED :)

@nlienard
Copy link

thanks, i do confirm changing Pillow~=9.4.0 to Pillow~=9.5.0 makes the extension working back without error when starting

@gee666
Copy link

gee666 commented May 30, 2023

thanks to everybody, me too, I confirm Pillow~=9.5.0 works. Thanks to creativity of some of you who found it.

@YUMEORIGINS
Copy link

YUMEORIGINS commented May 30, 2023

in the web ui user bat : right click and choose " edit with notepad " (if you don't have notepad install it it's free and not taking big place ) then fill the blank with what you see bellow
@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
set "XFORMERS_PACKAGE=xformers==0.0.17.dev447"
:: Use the below argument if getting OOM extracting checkpoints
:: set COMMANDLINE_ARGS=--ckptfix
set "REQS_FILE=.\extensions\sd_dreambooth_extension\requirements.txt"
:: Uncomment below to skip trying to install automatically on launch.
:: set "DREAMBOOTH_SKIP_INSTALL=True"
:: Use this to launch with accelerate (Run 'accelerate config' first, launch once without to install dependencies)
:: set ACCELERATE="True"

call webui.bat
and save and finally restart your web ui

@ChessChampTTV
Copy link

thanks, i do confirm changing Pillow~=9.4.0 to Pillow~=9.5.0 makes the extension working back without error when starting

thanks to everybody, me too, I confirm Pillow~=9.5.0 works. Thanks to creativity of some of you who found it.

I'm glad it work for ya 👍

@johnc2k
Copy link

johnc2k commented May 30, 2023

I fixed my issue by git cloning (plus @ChessChampTTV fix) instead of using the release zip

@ChessChampTTV
Copy link

ChessChampTTV commented May 30, 2023

in the web ui user bat : right click and choose " edit with notepad " (if you don't have notepad install it it's free and not taking big place ) then fill the blank with what you see bellow @echo off

set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= set "XFORMERS_PACKAGE=xformers==0.0.17.dev447" :: Use the below argument if getting OOM extracting checkpoints :: set COMMANDLINE_ARGS=--ckptfix set "REQS_FILE=.\extensions\sd_dreambooth_extension\requirements.txt" :: Uncomment below to skip trying to install automatically on launch. :: set "DREAMBOOTH_SKIP_INSTALL=True" :: Use this to launch with accelerate (Run 'accelerate config' first, launch once without to install dependencies) :: set ACCELERATE="True"

call webui.bat and save and finally restart your web ui

Your method seems good but in my opinion CLUNKY , i just feel it masked the issues , my method is more elegant and smooth here is my webui-user edit log as you can see I DONT NEED ALL THAT CLUNKYNESS in my log for my SD to work like BUTTER :)

@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --xformers

call webui.bat

ELEGANT and smooth !

@ChessChampTTV
Copy link

this is how my SD runs like butter : you need to 2 STEPS , easy and simple

  1. just copy the HIGHLITED boxes in red ONLY ---to your SD and DB requierements.txt and click " Save" for every file
  2. Uninstall requirements.txt and Reinstall requirements.txt

THAT's ALL -----> follow diagram

sddbfix

After

sddbfix2

P.S i dont think you need to do this but if you run into a problem Just DOUBLE CHECK if the 3 requirements.txt files still have the same numbers (after reinstalling requirements.txt) provided by me in the HIGHLIGHT boxes , especially DB , if you do still have the same numbers ENJOY , if not , just changed to the ones I provided. HAVE A NICE DAY YA !!

@XC3N
Copy link

XC3N commented Jun 1, 2023

@ChessChampTTV you type like Jeff K but your solution worked, FINALLY got it running after a week of troubleshooting, you have my thanks

(PS: 20+ years in IT and I never knew you could open CMD prompt on a specific folder that way, FYI you can also shift-rightclick the folder and "open command prompt/powershell window here"

@swumagic
Copy link

swumagic commented Jun 1, 2023

After each update, the requirements.txt must be modified as follows.
extensions\sd_dreambooth_extension\requirements.txt。it run ok。

accelerate~=0.18.0
bitsandbytes==0.35.4
dadaptation~=3.1
diffusers~=0.16.1
discord-webhook~=1.1.0
fastapi~=0.94.1
gitpython~=3.1.31
lion-pytorch~=0.0.7
Pillow~=9.5.0
tqdm~=4.64.1
transformers~=4.25.1 # > 4.26.x causes issues (db extension #1110)

@ChessChampTTV
Copy link

@ChessChampTTV you type like Jeff K but your solution worked, FINALLY got it running after a week of troubleshooting, you have my thanks

(PS: 20+ years in IT and I never knew you could open CMD prompt on a specific folder that way, FYI you can also shift-rightclick the folder and "open command prompt/powershell window here"

I'm really happy that I could help out! You know, I've been working as a Janitor for over 12 years, and lately, I've been trying to dive into the world of tech and AI. It's pretty challenging, though, and sometimes I feel like I'm not smart enough to understand all that IT stuff. But hey, I'm determined to give it my best shot and learn as much as I can!

And it's awesome to know that my solutions are actually helping so many people! It genuinely makes me feel like I'm making a difference and being useful. I have to admit, I'm far from being a tech whiz. Following steps and understanding complex tech concepts can sometimes feel like a real challenge for me. But you know what? Despite all that, being able to lend a hand to others and witness the positive impact I can have is incredibly fulfilling. It motivates me to keep pushing myself and continue growing in this field.

P.s : Don't know who Jeff K. is ? but i'm guessing his bad at writing ? lol for that reason , my reply is more complex now :) no more JEFF K

@ngtrkhoa
Copy link

ngtrkhoa commented Jun 2, 2023

@ChessChampTTV which branch are you using? dev or 1.0.13? Can you share the commit hash?

@XC3N
Copy link

XC3N commented Jun 2, 2023

@ChessChampTTV you type like Jeff K but your solution worked, FINALLY got it running after a week of troubleshooting, you have my thanks
(PS: 20+ years in IT and I never knew you could open CMD prompt on a specific folder that way, FYI you can also shift-rightclick the folder and "open command prompt/powershell window here"

I'm really happy that I could help out! You know, I've been working as a Janitor for over 12 years, and lately, I've been trying to dive into the world of tech and AI. It's pretty challenging, though, and sometimes I feel like I'm not smart enough to understand all that IT stuff. But hey, I'm determined to give it my best shot and learn as much as I can!

And it's awesome to know that my solutions are actually helping so many people! It genuinely makes me feel like I'm making a difference and being useful. I have to admit, I'm far from being a tech whiz. Following steps and understanding complex tech concepts can sometimes feel like a real challenge for me. But you know what? Despite all that, being able to lend a hand to others and witness the positive impact I can have is incredibly fulfilling. It motivates me to keep pushing myself and continue growing in this field.

P.s : Don't know who Jeff K. is ? but i'm guessing his bad at writing ? lol for that reason , my reply is more complex now :) no more JEFF K

All good man, you sound like you are like me, genuinely curious and fascinated, and always willing to learn or help others learn, kudos ;) Don't mind the Jeff K reference, it's early internet meme stuff and not meant as an insult, just that you sound overexcited and type in caps a lot ;)

Cheers!

@ElleandBeauty
Copy link

this is how my SD runs like butter : you need to 2 STEPS , easy and simple

  1. just copy the HIGHLITED boxes in red ONLY ---to your SD and DB requierements.txt and click " Save" for every file
  2. Uninstall requirements.txt and Reinstall requirements.txt

...
I had to run that uninstall command from the main sd webui folder in order for it to work.

@github-actions
Copy link

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

@github-actions github-actions bot added the Stale label Jun 17, 2023
@madrooky
Copy link

this is how my SD runs like butter : you need to 2 STEPS , easy and simple

Thanks, reminded me of the last time this happened.
But i would like to add that the requirements might change, but in general it works taking the requirements of the failing extension and put it manually to the SD requirements to liquidate these nasty conflicts.

@github-actions github-actions bot removed the Stale label Jun 18, 2023
@li775176364
Copy link

this is how my SD runs like butter : you need to 2 STEPS , easy and simple

  1. just copy the HIGHLITED boxes in red ONLY ---to your SD and DB requierements.txt and click " Save" for every file
  2. Uninstall requirements.txt and Reinstall requirements.txt

THAT's ALL -----> follow diagram

sddbfix

After

sddbfix2

P.S i dont think you need to do this but if you run into a problem Just DOUBLE CHECK if the 3 requirements.txt files still have the same numbers (after reinstalling requirements.txt) provided by me in the HIGHLIGHT boxes , especially DB , if you do still have the same numbers ENJOY , if not , just changed to the ones I provided. HAVE A NICE DAY YA !!

Following your first step, I changed the version number in the requierements.txt file in the sd and db directories to be consistent with requierements__version.txt, and now I see the dreambooth TAB on the web-ui page

It seems to have solved the problem, but the console still prompts an exception:

cannot import name 'model_hijack' from partially initialized module 'modules.sd_hijack' (most likely due to a circular import)

I don't know what that means ?

As for the second step you mentioned, my sd directory does not contain the venv folder, how do I Uninstall and Reinstall requirements.txt ?

@slohth
Copy link

slohth commented Jul 7, 2023

I am also having this issue - full stacktrace here:
https://pastebin.com/R3gywAQP

@github-actions
Copy link

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

@github-actions github-actions bot added the Stale label Jul 22, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new Just added, you should probably sort this. Stale
Projects
None yet
Development

No branches or pull requests