d8ahazard / sd_dreambooth_extension

Other
1.86k stars 283 forks source link

Can't update extensions after Dreambooth installation #982

Closed Sh4d0wHunt3rX closed 1 year ago

Sh4d0wHunt3rX commented 1 year ago

Kindly read the entire form below and fill it out with the requested information.

Please find the following lines in the console and paste them below. If you do not provide this information, your issue will be automatically closed.

` Python 3.10.9 Commit hash: [0cc0ee1b] Installing requirements for Web UI Skipping dreambooth installation. Dreambooth revision is : Last version Diffusers version is ... Torch version is 1.13.1+cu117 Torch vision version is ...

`

Have you read the Readme? Yes

Have you completely restarted the stable-diffusion-webUI, not just reloaded the UI? Yes

Have you updated Dreambooth to the latest revision? Yes

Have you updated the Stable-Diffusion-WebUI to the latest version? Yes

No, really. Please save us both some trouble and update the SD-WebUI and Extension and restart before posting this. Reply 'OK' Below to acknowledge that you did this. Ok

Describe the bug

This is my first time installing Dreambooth, after installing, noticed I can't update any extension, also I can't select any model from dreambooth "select model" field.

Provide logs

If a crash has occurred, please provide the entire stack trace from the log, including the last few log messages before the crash occurred.

Already up to date.
venv "C:\Users\Amir\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI
Installing None
Installing onnxruntime-gpu...
Installing None
Installing opencv-python...
Installing None
Installing Pillow...

Ignoring tensorflow-macos: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
Collecting accelerate==0.16.0
  Using cached accelerate-0.16.0-py3-none-any.whl (199 kB)
Collecting albumentations~=1.3.0
  Using cached albumentations-1.3.0-py3-none-any.whl (123 kB)
Requirement already satisfied: bitsandbytes==0.35.4 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from -r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 3)) (0.35.4)
Collecting diffusers==0.13.1
  Using cached diffusers-0.13.1-py3-none-any.whl (716 kB)
Collecting gitpython~=3.1.31
  Using cached GitPython-3.1.31-py3-none-any.whl (184 kB)
Requirement already satisfied: fastapi in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from -r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (0.90.1)
Requirement already satisfied: ftfy~=6.1.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from -r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (6.1.1)
Collecting modelcards~=0.1.6
  Using cached modelcards-0.1.6-py3-none-any.whl (12 kB)
Requirement already satisfied: tensorboard in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from -r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (2.11.2)
Collecting tensorflow==2.11.0
  Using cached tensorflow-2.11.0-cp310-cp310-win_amd64.whl (1.9 kB)
Requirement already satisfied: tqdm~=4.64.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from -r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 12)) (4.64.1)
Collecting transformers~=4.26.1
  Using cached transformers-4.26.1-py3-none-any.whl (6.3 MB)
Collecting discord-webhook~=1.1.0
  Using cached discord_webhook-1.1.0-py3-none-any.whl (12 kB)
Collecting lion-pytorch~=0.0.7
  Using cached lion_pytorch-0.0.7-py3-none-any.whl (4.3 kB)
Collecting xformers==0.0.17.dev464
  Using cached xformers-0.0.17.dev464-cp310-cp310-win_amd64.whl (112.3 MB)
Requirement already satisfied: psutil in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.16.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (5.9.4)
Requirement already satisfied: numpy>=1.17 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.16.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.23.3)
Requirement already satisfied: packaging>=20.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.16.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (23.0)
Requirement already satisfied: torch>=1.4.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.16.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.13.1+cu117)
Requirement already satisfied: pyyaml in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.16.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (6.0)
Requirement already satisfied: Pillow in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (9.4.0)
Requirement already satisfied: huggingface-hub>=0.10.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (0.12.0)
Requirement already satisfied: requests in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2.25.1)
Requirement already satisfied: regex!=2019.12.17 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2022.10.31)
Requirement already satisfied: filelock in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (3.9.0)
Collecting importlib-metadata
  Using cached importlib_metadata-6.0.0-py3-none-any.whl (21 kB)
Collecting tensorflow-intel==2.11.0
  Using cached tensorflow_intel-2.11.0-cp310-cp310-win_amd64.whl (266.3 MB)
Collecting pyre-extensions==0.0.23
  Using cached pyre_extensions-0.0.23-py3-none-any.whl (11 kB)
Collecting typing-inspect
  Using cached typing_inspect-0.8.0-py3-none-any.whl (8.7 kB)
Requirement already satisfied: typing-extensions in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from pyre-extensions==0.0.23->xformers==0.0.17.dev464->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 16)) (4.4.0)
Requirement already satisfied: six>=1.12.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (1.16.0)
Collecting h5py>=2.9.0
  Using cached h5py-3.8.0-cp310-cp310-win_amd64.whl (2.6 MB)
Requirement already satisfied: absl-py>=1.0.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (1.4.0)
Collecting astunparse>=1.6.0
  Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (2.2.0)
Collecting gast<=0.4.0,>=0.2.1
  Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
Requirement already satisfied: wrapt>=1.11.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (1.15.0)
Requirement already satisfied: libclang>=13.0.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (15.0.6.1)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (1.51.1)
Collecting google-pasta>=0.1.1
  Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (0.31.0)
Collecting keras<2.12,>=2.11.0
  Using cached keras-2.11.0-py2.py3-none-any.whl (1.7 MB)
Requirement already satisfied: tensorflow-estimator<2.12,>=2.11.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (2.11.0)
Collecting opt-einsum>=2.3.2
  Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Requirement already satisfied: protobuf<3.20,>=3.9.2 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (3.19.6)
Requirement already satisfied: flatbuffers>=2.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (23.1.21)
Requirement already satisfied: setuptools in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow==2.11.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (65.5.0)
Requirement already satisfied: scipy in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from albumentations~=1.3.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (1.10.0)
Collecting opencv-python-headless>=4.1.1
  Using cached opencv_python_headless-4.7.0.72-cp37-abi3-win_amd64.whl (38.1 MB)
Requirement already satisfied: scikit-image>=0.16.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from albumentations~=1.3.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (0.19.2)
Collecting qudida>=0.0.4
  Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB)
Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from gitpython~=3.1.31->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 5)) (4.0.10)
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\amir\stable-diffusion-webui\venv\lib\site-packages (from fastapi->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.10.4)
Requirement already satisfied: starlette<0.24.0,>=0.22.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from fastapi->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (0.22.0)
Requirement already satisfied: wcwidth>=0.2.5 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from ftfy~=6.1.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (0.2.6)
Requirement already satisfied: Jinja2 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from modelcards~=0.1.6->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 8)) (3.1.2)
Requirement already satisfied: markdown>=2.6.8 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (3.4.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (0.4.6)
Requirement already satisfied: wheel>=0.26 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (0.38.4)
Requirement already satisfied: google-auth<3,>=1.6.3 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (2.16.0)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (0.6.1)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (1.8.1)
Requirement already satisfied: werkzeug>=1.0.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (2.2.2)
Requirement already satisfied: colorama in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from tqdm~=4.64.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 12)) (0.4.6)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from transformers~=4.26.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 13)) (0.13.2)
Collecting requests
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from gitdb<5,>=4.0.1->gitpython~=3.1.31->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 5)) (5.0.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (0.2.8)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (5.3.0)
Requirement already satisfied: rsa<5,>=3.1.4 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (1.3.1)
Collecting scikit-learn>=0.19.1
  Using cached scikit_learn-1.2.1-cp310-cp310-win_amd64.whl (8.3 MB)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from requests->diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2.1.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from requests->diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (1.26.14)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from requests->diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2022.12.7)
Requirement already satisfied: idna<4,>=2.5 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from requests->diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2.10)
Requirement already satisfied: imageio>=2.4.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations~=1.3.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (2.25.0)
Requirement already satisfied: networkx>=2.2 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations~=1.3.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (3.0)
Requirement already satisfied: tifffile>=2019.7.26 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations~=1.3.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (2023.2.3)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations~=1.3.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (1.4.1)
Requirement already satisfied: anyio<5,>=3.4.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from starlette<0.24.0,>=0.22.0->fastapi->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (3.6.2)
Requirement already satisfied: MarkupSafe>=2.1.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from werkzeug>=1.0.1->tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (2.1.2)
Requirement already satisfied: zipp>=0.5 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from importlib-metadata->diffusers==0.13.1->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (3.15.0)
Requirement already satisfied: sniffio>=1.1 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from anyio<5,>=3.4.0->starlette<0.24.0,>=0.22.0->fastapi->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.3.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 9)) (3.2.2)
Collecting joblib>=1.1.1
  Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\amir\stable-diffusion-webui\venv\lib\site-packages (from scikit-learn>=0.19.1->qudida>=0.0.4->albumentations~=1.3.0->-r C:\Users\Amir\stable-diffusion-webui\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (3.1.0)
Collecting mypy-extensions>=0.3.0
  Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Installing collected packages: requests, opt-einsum, opencv-python-headless, mypy-extensions, keras, joblib, importlib-metadata, h5py, google-pasta, gast, astunparse, typing-inspect, scikit-learn, lion-pytorch, gitpython, discord-webhook, accelerate, transformers, qudida, pyre-extensions, modelcards, diffusers, xformers, albumentations, tensorflow-intel, tensorflow
  Attempting uninstall: requests
    Found existing installation: requests 2.25.1
    Uninstalling requests-2.25.1:
      Successfully uninstalled requests-2.25.1
  Attempting uninstall: gitpython
    Found existing installation: GitPython 3.1.27
    Uninstalling GitPython-3.1.27:
      Successfully uninstalled GitPython-3.1.27
  Attempting uninstall: accelerate
    Found existing installation: accelerate 0.12.0
    Uninstalling accelerate-0.12.0:
      Successfully uninstalled accelerate-0.12.0
  Attempting uninstall: transformers
    Found existing installation: transformers 4.25.1
    Uninstalling transformers-4.25.1:
      Successfully uninstalled transformers-4.25.1
  Attempting uninstall: xformers
    Found existing installation: xformers 0.0.16rc425
    Uninstalling xformers-0.0.16rc425:
      Successfully uninstalled xformers-0.0.16rc425
Successfully installed accelerate-0.16.0 albumentations-1.3.0 astunparse-1.6.3 diffusers-0.13.1 discord-webhook-1.1.0 gast-0.4.0 gitpython-3.1.31 google-pasta-0.2.0 h5py-3.8.0 importlib-metadata-6.0.0 joblib-1.2.0 keras-2.11.0 lion-pytorch-0.0.7 modelcards-0.1.6 mypy-extensions-1.0.0 opencv-python-headless-4.7.0.72 opt-einsum-3.3.0 pyre-extensions-0.0.23 qudida-0.0.4 requests-2.28.2 scikit-learn-1.2.1 tensorflow-2.11.0 tensorflow-intel-2.11.0 transformers-4.26.1 typing-inspect-0.8.0 xformers-0.0.17.dev464

#######################################################################################################
Initializing Dreambooth
If submitting an issue on github, please provide the below text for debugging purposes:

Python revision: 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Dreambooth revision: d4e2f7d5dc5c67cc6292c8b8137b688a43247c35
SD-WebUI revision: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8

Checking Dreambooth requirements...
[+] torch version 1.13.1+cu117 installed.
[+] torchvision version 0.14.1+cu117 installed.
[+] bitsandbytes version 0.35.4 installed.
[+] diffusers version 0.13.1 installed.
[+] transformers version 4.26.1 installed.
[+] xformers version 0.0.17.dev464 installed.

#######################################################################################################

Launching Web UI with arguments: --xformers
*Deforum ControlNet support: enabled*
Script path is C:\Users\Amir\stable-diffusion-webui
Loading weights [9aba26abdf] from C:\Users\Amir\stable-diffusion-webui\models\Stable-diffusion\deliberate_v2.safetensors
Creating model from config: C:\Users\Amir\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: C:\Users\Amir\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(1): awaitingtongue
Textual inversion embeddings skipped(3): nartfixer, nfixer, nrealfixer
Model loaded in 4.6s (create model: 0.6s, apply weights to model: 0.7s, apply half(): 0.9s, load VAE: 0.3s, move model to device: 1.1s, load textual inversion embeddings: 1.0s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Error checking updates for ABG_extension:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for deforum-for-automatic1111-webui:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for instruct-pix2pix:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for openpose-editor:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for sd-webui-ar:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for sd-webui-controlnet:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for sd_dreambooth_extension:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for stable-diffusion-webui-images-browser:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for ABG_extension:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for deforum-for-automatic1111-webui:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for instruct-pix2pix:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for openpose-editor:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for sd-webui-ar:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for sd-webui-controlnet:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for sd_dreambooth_extension:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for stable-diffusion-webui-images-browser:
Traceback (most recent call last):
  File "C:\Users\Amir\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\Users\Amir\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run

Environment

What OS? Windows 10 64 bit

If Windows - WSL or native? Native

What GPU are you using? Nvidia geforce 2070

Screenshots/Config If the issue is specific to an error while training, please provide a screenshot of training parameters or the db_config.json file from /models/dreambooth/MODELNAME/db_config.json

https://i.imgur.com/gucT2gu.png https://i.imgur.com/XmdkoRD.png

d8ahazard commented 1 year ago

This is an issue with Auto1111 that needs to be fixed. There is a PR you can cherry-pick until it maybe gets merged.

https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/8118

myndxero commented 1 year ago

Every time I update this extension, everything breaks. EVERY TIME. I spend more time fixing issues than I do using the extension. Is there a standalone that isn't a collab with a GUI? I know all of this is free and people work hard on it, just so frustrated, I need to learn to not hit the update button.

Apologize for getting upset @d8ahazard I'm just a novice stumbling in the dark with how all this works on the backend. I realize it's not your issue and waiting for auto on this one. Was just a nightmare in Jan trying to diagnose, learn, and correct all the cuda/torch related stuff to get it working well again. Realize this is all cutting edge and I need to not forget that when things break.

kreendurron commented 1 year ago

THIS IS NOT A SOLUTION:

Solution in this thread: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8281#issuecomment-1458305713

THIS IS THE SOLUTION: https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/8118

The problem appears to be with gitpython=3.1.31 need to roll back to gitpython=3.1.27

The problem appears to be with gitpython~=3.1.27 being wildly insecure and needing to be updated to 3.1.31, and @Auto1111 not allowing anybody else to merge PR's, even if they provide updates to account for massive security issues.

d8ahazard commented 1 year ago

Every time I update this extension, everything breaks. EVERY TIME. I spend more time fixing issues than I do using the extension. Is there a standalone that isn't a collab with a GUI? I know all of this is free and people work hard on it, just so frustrated, I need to learn to not hit the update button.

Let's talk about this for a moment. Do you know why everything breaks every time you update this extension? Honestly?

Because the extension system in Auto1111 is complete and utter garbage in terms of how it functions.

Each extension can install it's own requirements with no restrictions, and they do so after the main app requirements are installed.

Each extension can monkey-patch and change any other existing code or variable anywhere else in the application with zero restrictions.

Additionally, each extension is allowed unfettered access to any method anywhere else in the application...which maybe sounds neat on the surface, but actually means that any time somebody goes and merges a random PR to the MAIN branch of the auto1111 all willy-nilly like, well, it has the potential to fuck up any extension that could be using those methods.

So, while it's sure allowed for a massive growth in the extensions ecosystem...it's also like the wild wild west in terms of considerations given to extension developers. If Auto1111 pushes some shit that breaks an extension...oh well?!

As such, I've adopted the same mentality. While I'm not deliberately trying to break anything, I also don't really give a flying fuck if me patching an issue causes an underlying issue with the main application to be highlighted.

In this case, there has been a has been a "High Severity" Github Security Advisory for the GitPython library used by Auto1111 published since December 5 of last year...and Auto1111 hasn't done anything about it.

https://github.com/advisories/GHSA-hcpj-qp55-gfph

So, I did. I bumped the version of GitPython that ships with my extension because I use it in my extension, and while it's a small attack vector, it's still one that can be exposed on public webservers...so I'm just not going to do it.

And while I'm really getting into the weeds with my issues with the Auto repo...I suggested months and months ago that the process for developing that application should be changed so that there is a dev and master branch, which would eliminate a lot of the issues extension developers face - which is "shit just changed and now I woke up to a hundred messages that my extension is broken".

I could test my extension on the latest dev branch of Auto1111, verify that it still works with forthcoming changes, and have nearly zero headaches in this department. Instead, it's been a regular nightmare for months now.

Additionally, as you can see if you look at the PR above with the proper fix, Auto1111 has been less and less active in this massively used project...but has also not given ANYBODY else permission to merge changes. Meaning, the end result is that while this could have been fixed a day or so after being reported...instead...there is only one person who can fix it properly, and they are nowhere to be found ATM.

So...with all of this in mind...imagine my continued frustration. Imagine there being proper channels for reporting and fixing issues with the main application; a team of collaborators trusted enough to fix breaking issues in a reasonable amount of time; or some semblance of a proper development cycle where changes are tested before being promoted to EVERYBODY.

Hell, imagine an application that was actually designed to have an extension system. Think about it! A proper sandboxed implementation that doesn't let the extensions break the effing app, and where some malicious developer would actually have to work to release an extension that completely hoses a person's OS. Because the current one has none of that...which is actually kind of terrifying.

With all that said - YES - I am working on a stand-alone frontend designed to completely separate myself from Auto1111, plus remedy all of the issues I've described above. Progress has been slow, as I'm actually trying to plan everything in advance, versus just writing code and then hacking in ideas later on as they come to me. I'm also completely ditching Gradio and writing my own user-interface from scratch, which makes it even more tedious.

But, eventually...I won't have to have weekly conversations like this one, because the application will be my own and I'll have nobody else to blame but myself if things are done half-assed.

Apologize for getting upset @d8ahazard I'm just a novice stumbling in the dark with how all this works on the backend. I realize it's not your issue and waiting for auto on this one. Was just a nightmare in Jan trying to diagnose, learn, and correct all the cuda/torch related stuff to get it working well again. Realize this is all cutting edge and I need to not forget that when things break.

It's cool. See above. I'm even more frustrated than you.

d8ahazard commented 1 year ago

image

myndxero commented 1 year ago

I appreciate the long response and read it in it's entirety. I hope it was good to get out as it was for me to gain a better understanding of what's up.

Is it not possible to just branch off on a new fork or is that considered bad practice to sidestep auto? I don't know his mindset in the least, but it's unfortunate he's not around much having sole discretion on merging PRs especially when his UI seems to be the most popular and with the most features.

I run multiple installations but only one dreambooth. Time to spin up a second.

As it were, sounds exciting that there's a standalone in the works and ditching gradio to boot. I've not been too fond of it's shortcomings such as lacking a basic eraser for inpainting. Usually just use photoshop for more precise masking anyway. Don't know if it's a coding thing or a gradio thing the way updating lists are handled when merging ckpts or training models, why they don't just appear without needing to push refresh.

I appreciate your efforts. I prefer sticking with dreambooth. I know there's other options out there, everywhere? I think it's called. But I've not been motivated to relearn basics to get started.

I'm just trying to get training working now on your plugin. My results are damaged compared to prior. Dunno if I just need to role cuda and torch and xformers back again like I was doing Jan/Feb.

ColorfanXP commented 1 year ago

d8 that sounds bad ass. I cant wait to see it! Messing with Auto1111 has been a frustrating mess. Its a fun app, but the weekly headaches...

chakalakasp commented 1 year ago

I mean. I get your frustration. But your main points seem to be that:

  1. The Automatic1111 extension system is cobbled together and lets any extension developer completely jack with the underlying platform in a way that can screw with other extensions’ code.

  2. The Automatic1111 Python library is an insecure dumpster fire. (Which I’d agree with). So you stopped using it in your extension and installed another. Which breaks everything for everyone else but hey, see point 1. You’re right, they’re wrong, if they don’t want their car door dinged they shouldn’t have parked so close.

Which from a point of developer vs developer I understand — the logic is sound. But from the end user perspective, you’ve essentially ended your extension.

The end users mostly seem to be giving your extension a wide berth. Remember; they don’t care about palace intrigue or coder wang fights — from their perspective, it worked great at first and then it kept getting “updates” that made users feel unable to reproduce the good results they got from early versions. And then it started getting “updates” that broke core functionality. And then it started getting “updates” that broke the core functionality of all of the other extensions so that now people are resorting to batch commands and power shell scripts to auto update their extensions. You may feel that this is an unfair characterization. The end users don’t care, they just see what they see and move on.

Most of the YouTube tuts out there and reddit threads now point people to Koya_SS and tell people to avoid your extension. Users really don’t have patience for this kind of thing when there are alternatives. I’m guessing the train has left the station on this whole project and you’re not on it. I see you’re now making your own train with blackjack and hookers that completely abandons gradio and A111 and I genuinely hope you are successful.

myndxero commented 1 year ago

Auto also shouldn't be the only one allowed to approve merge requests if he is gonna disappear for 3+ weeks when his webUI is probably the most popular in the world for SD. Two-way street.

Also, can't claim it's completely his anymore anyway, I could guess at a percentage breakdown but there's been a ton of community contribution. The fact people make extensions for it plus bug fixes and what not. In some ways extensions people develop and add for webUI are probably carrying the whole thing now. How much is still auto's?

I've nothing personal against him at all, I'm just saying this should be a two way street of mutual respect.

On Sat, Mar 11, 2023, 09:11 chakalakasp @.***> wrote:

I mean. I get your frustration. But your main points seem to be that:

1.

The Automatic1111 extension system is cobbled together and lets any extension developer completely jack with the underlying platform in a way that can screw with other extensions’ code. 2.

The Automatic1111 Python library is an insecure dumpster fire. (Which I’d agree with). So you stopped using it in your extension and installed another. Which breaks everything for everyone else but hey, see point 1. You’re right, they’re wrong, if they don’t want their car door dinged they shouldn’t have parked so close.

Which from a point of developer vs developer I understand — the logic is sound. But from the end user perspective, you’ve essentially ended your extension.

The end users mostly seem to be giving your extension a wide berth. Remember; they don’t care about palace intrigue or coder want fights — from their perspective, it worked great at first and then it kept getting “updates” that made users feel unable to reproduce the good results they got from early versions. And then it started getting “updates” that broke core functionality. And then it started getting “updates” that broke the core functionality of all of the other extensions so that now people are resorting to batch commands and power shell scripts to auto update their extensions. You may feel that this is an unfair characterization. The end users don’t care, they just see what they see and move on.

Most of the YouTube tuts out there and reddit threads now point people to Koya_SS and tell people to avoid your extension. Users really don’t have patience for this kind of thing when there are alternatives. I’m guessing the train has left the station on this whole project and you’re not on it. I see you’re now making your own train with blackjack and hookers that completely abandons gradio and A111 and I genuinely hope you are successful.

— Reply to this email directly, view it on GitHub https://github.com/d8ahazard/sd_dreambooth_extension/issues/982#issuecomment-1464931693, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2755J4YVKDYZF4G6KYOMVLW3SIYTANCNFSM6AAAAAAVMKP5DE . You are receiving this because you commented.Message ID: @.***>

jurandfantom commented 1 year ago

I write that as common user and fan of your extension at beginning - why not now? It gonna be surprise but because of community pressure. I had 24GB VRAM card since all that happened, first versions of plugins works best and weren't loaded with all those stuff that people with less VRAM needs - sadly I'm minority here and my right is like truck on road - bigger have less rights. Results become less ideal and as expected? So I stopped use it and swap into Kohya after couple failed results with automatic dream booth. Recently I heard that your extension get few solid fixes so I installed it and...found about above situation. Will uninstall everything and setup fresh automatic1111 without DB and gonna wait to see what you are doing. If you are creating separate software that is independent from automatic? Im all in - just like with kohya. Training is something that is and should be done not in automatic but as separate thing - and popularity of kohya proved its a correct path. Sadly if you update plugin, it might require update from automatic so we end up by clicking update everywhere. Love your work man/woman (who knows :) ) and fingers cross that screenshot will be something more very soon. Ahhh and one more thing, I agree with your old comment about stupid automatic constant updates that break everything and create infinite amount of work to creators. There should be single version and dev version with merge once per month or something - just like are doing normally in software dev cycle (based on Blender for example).

Edit: After 4h of trying recovery from past weeks backups, countless unknown errors and not working clean install, i bring back backup copy created before attempt of clean instal. Well, at least i can generate pictures - im willing to be forced manually update each single plugin if things looks like that. Can't say, Im quite salty atm. and I understand reasons of update that single thing, but instead push such large and breaking stuff thing in main git repo, I wish to see branch of it so users are aware what they are doing. Didn't know how fragile house of card automatic1111 become. Everything shit themself if remove single element and for me as 3D artist forced to google each single thing like "how reinstall python on windows" im mad...mad that I was tempted to re-check dreambooth extension instead stick to kohya.

Yhhhhh. I suggest (if its even possible) to remove DB extension or anything to secure others from same situation.

jurandfantom commented 1 year ago

"@AUTOMATIC1111 bump GitPython to 3.1.30 because some people would be upset about it …"

Yay, at least something

github-actions[bot] commented 1 year ago

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