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

[Bug]: Bunch of loading script errors after fresh install on new hardware. #1491

Open
1 task done
Deniryer opened this issue Jan 10, 2025 · 5 comments
Open
1 task done

Comments

@Deniryer
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

What happened?

Simply bought new GPU and I did a fresh install of everything. Now I cannot use this extension.

Steps to reproduce the problem

Install it on a fresh A1111 instance and try to do anything.

Commit and libraries

Initializing Dreambooth
Dreambooth revision: 1b3257b
Checking xformers...
Checking bitsandbytes...
Checking bitsandbytes (ALL!)
Checking Dreambooth requirements...
Installed version of bitsandbytes: 0.43.0
[Dreambooth] bitsandbytes v0.43.0 is already installed.
Installed version of accelerate: 0.21.0
[Dreambooth] accelerate v0.21.0 is already installed.
Installed version of dadaptation: 3.2
[Dreambooth] dadaptation v3.2 is already installed.
Installed version of diffusers: 0.32.1
[Dreambooth] diffusers v0.25.0 is already installed.
Installed version of discord-webhook: 1.3.0
[Dreambooth] discord-webhook v1.3.0 is already installed.
Installed version of fastapi: 0.94.0
[Dreambooth] fastapi is already installed.
Installed version of gitpython: 3.1.44
[Dreambooth] gitpython v3.1.40 is already installed.
Installed version of pytorch_optimizer: 2.12.0
[Dreambooth] pytorch_optimizer v2.12.0 is already installed.
Installed version of Pillow: 9.5.0
[Dreambooth] Pillow is already installed.
Installed version of tqdm: 4.67.1
[Dreambooth] tqdm is already installed.
Installed version of tomesd: 0.1.3
[Dreambooth] tomesd v0.1.2 is already installed.
Installed version of tensorboard: 2.13.0
[Dreambooth] tensorboard v2.13.0 is already installed.
[+] torch version 2.1.2+cu121 installed.
[+] torchvision version 0.16.2+cu121 installed.
[+] accelerate version 0.21.0 installed.
[+] diffusers version 0.32.1 installed.
[+] bitsandbytes version 0.43.0 installed.
[+] xformers version 0.0.21 installed.
Launching Web UI with arguments: --xformers --vae-dir 'H:\AI\VAE' --ckpt-dir 'H:\AI\SD_Models' --lora-dir 'H:\AI\Lora' --embeddings-dir 'H:\AI\embeddings' --esrgan-models-path 'H:\AI\ESRGAN'
H:\stable-diffusion-webui\venv\lib\site-packages\timm\models\layers_init_.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.1.2+cu121)
Python 3.10.11 (you have 3.10.11)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details

You are running xformers 0.0.21.
The program is tested to work with xformers 0.0.23.post1.
To reinstall the desired version, run with commandline flag --reinstall-xformers.

Use --skip-version-check commandline argument to disable this check.

*** Error loading script: GenParamGetter.py
Traceback (most recent call last):
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Program Files\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in
from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers_init
.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 24, in <module>
    from ...loaders import FromSingleFileMixin, IPAdapterMixin, StableDiffusionLoraLoaderMixin, TextualInversionLoaderMixin
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "H:\stable-diffusion-webui\modules\script_loading.py", line 13, 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 "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\GenParamGetter.py", line 5, in <module>
    from scripts.mergers.pluslora import frompromptf
  File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\mergers\pluslora.py", line 21, in <module>
    from scripts.kohyas import extract_lora_from_models as ext
  File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\extract_lora_from_models.py", line 12, in <module>
    from scripts.kohyas import sai_model_spec,model_util,sdxl_model_util,lora
  File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\model_util.py", line 16, in <module>
    from diffusers import AutoencoderKL, DDIMScheduler, StableDiffusionPipeline  # , UNet2DConditionModel
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

*** Error loading script: supermerger.py
Traceback (most recent call last):
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Program Files\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in
from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers_init
.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 24, in <module>
    from ...loaders import FromSingleFileMixin, IPAdapterMixin, StableDiffusionLoraLoaderMixin, TextualInversionLoaderMixin
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "H:\stable-diffusion-webui\modules\script_loading.py", line 13, 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 "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\supermerger.py", line 25, in <module>
    import scripts.mergers.pluslora
  File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\mergers\pluslora.py", line 21, in <module>
    from scripts.kohyas import extract_lora_from_models as ext
  File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\extract_lora_from_models.py", line 12, in <module>
    from scripts.kohyas import sai_model_spec,model_util,sdxl_model_util,lora
  File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\model_util.py", line 16, in <module>
    from diffusers import AutoencoderKL, DDIMScheduler, StableDiffusionPipeline  # , UNet2DConditionModel
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

Exception importing api
Traceback (most recent call last):
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Program Files\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in
from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers_init
.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Program Files\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl.py", line 29, in
from ...loaders import (
File "", line 1075, in _handle_fromlist
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in getattr
module = self._get_module(self._class_to_module[name])
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers_init
.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\api.py", line 32, in
from dreambooth.ui_functions import create_model, generate_samples,
File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\ui_functions.py", line 28, in
from dreambooth.sd_to_diff import extract_checkpoint
File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\sd_to_diff.py", line 24, in
from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
File "", line 1075, in _handle_fromlist
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in getattr
value = getattr(module, name)
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in getattr
value = getattr(module, name)
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in getattr
module = self._get_module(self._class_to_module[name])
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.stable_diffusion_xl.pipeline_stable_diffusion_xl because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers_init
.py)
*** Error loading script: main.py
Traceback (most recent call last):
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Program Files\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in
from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers_init
.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl.py", line 29, in <module>
    from ...loaders import (
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "H:\stable-diffusion-webui\modules\script_loading.py", line 13, 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 "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py", line 20, in <module>
    from dreambooth.ui_functions import (
  File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\ui_functions.py", line 28, in <module>
    from dreambooth.sd_to_diff import extract_checkpoint
  File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\sd_to_diff.py", line 24, in <module>
    from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.stable_diffusion_xl.pipeline_stable_diffusion_xl because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

Loading weights [6ce0161689] from H:\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: H:\stable-diffusion-webui\configs\v1-inference.yaml
H:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:795: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
Running on local URL: http://127.0.0.1:7860

Command Line Arguments

set COMMANDLINE_ARGS= --xformers --vae-dir "H:\AI\VAE" --ckpt-dir "H:\\AI\SD_Models" --lora-dir "H:\AI\Lora" --embeddings-dir "H:\AI\embeddings" --esrgan-models-path "H:\AI\ESRGAN"
set "XFORMERS_PACKAGE=xformers==0.0.21"
set "REQS_FILE=.\extensions\sd_dreambooth_extension\requirements.txt"

Console logs

venv "H:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing xformers
If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 1b3257b46bb03c6de3bcdfa079773dc040884fbd
Checking xformers...
Checking bitsandbytes...
Checking bitsandbytes (ALL!)
Checking Dreambooth requirements...
Installed version of bitsandbytes: 0.43.0
[Dreambooth] bitsandbytes v0.43.0 is already installed.
Installed version of accelerate: 0.21.0
[Dreambooth] accelerate v0.21.0 is already installed.
Installed version of dadaptation: 3.2
[Dreambooth] dadaptation v3.2 is already installed.
Installed version of diffusers: 0.32.1
[Dreambooth] diffusers v0.25.0 is already installed.
Installed version of discord-webhook: 1.3.0
[Dreambooth] discord-webhook v1.3.0 is already installed.
Installed version of fastapi: 0.94.0
[Dreambooth] fastapi is already installed.
Installed version of gitpython: 3.1.44
[Dreambooth] gitpython v3.1.40 is already installed.
Installed version of pytorch_optimizer: 2.12.0
[Dreambooth] pytorch_optimizer v2.12.0 is already installed.
Installed version of Pillow: 9.5.0
[Dreambooth] Pillow is already installed.
Installed version of tqdm: 4.67.1
[Dreambooth] tqdm is already installed.
Installed version of tomesd: 0.1.3
[Dreambooth] tomesd v0.1.2 is already installed.
Installed version of tensorboard: 2.13.0
[Dreambooth] tensorboard v2.13.0 is already installed.
[+] torch version 2.1.2+cu121 installed.
[+] torchvision version 0.16.2+cu121 installed.
[+] accelerate version 0.21.0 installed.
[+] diffusers version 0.32.1 installed.
[+] bitsandbytes version 0.43.0 installed.
[+] xformers version 0.0.21 installed.
Launching Web UI with arguments: --xformers --vae-dir 'H:\AI\VAE' --ckpt-dir 'H:\AI\SD_Models' --lora-dir 'H:\AI\Lora' --embeddings-dir 'H:\AI\embeddings' --esrgan-models-path 'H:\AI\ESRGAN'
H:\stable-diffusion-webui\venv\lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
  warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.1.2+cu121)
    Python  3.10.11 (you have 3.10.11)
  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
  Memory-efficient attention, SwiGLU, sparse and more won't be available.
  Set XFORMERS_MORE_DETAILS=1 for more details
=================================================================================
You are running xformers 0.0.21.
The program is tested to work with xformers 0.0.23.post1.
To reinstall the desired version, run with commandline flag --reinstall-xformers.

Use --skip-version-check commandline argument to disable this check.
=================================================================================
*** Error loading script: GenParamGetter.py
    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
        return importlib.import_module("." + module_name, self.__name__)
      File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in <module>
        from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
    ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
        return importlib.import_module("." + module_name, self.__name__)
      File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 24, in <module>
        from ...loaders import FromSingleFileMixin, IPAdapterMixin, StableDiffusionLoraLoaderMixin, TextualInversionLoaderMixin
      File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
        module = self._get_module(self._class_to_module[name])
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
        raise RuntimeError(
    RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
    cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "H:\stable-diffusion-webui\modules\script_loading.py", line 13, 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 "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\GenParamGetter.py", line 5, in <module>
        from scripts.mergers.pluslora import frompromptf
      File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\mergers\pluslora.py", line 21, in <module>
        from scripts.kohyas import extract_lora_from_models as ext
      File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\extract_lora_from_models.py", line 12, in <module>
        from scripts.kohyas import sai_model_spec,model_util,sdxl_model_util,lora
      File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\model_util.py", line 16, in <module>
        from diffusers import AutoencoderKL, DDIMScheduler, StableDiffusionPipeline  # , UNet2DConditionModel
      File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
        value = getattr(module, name)
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
        value = getattr(module, name)
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
        module = self._get_module(self._class_to_module[name])
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
        raise RuntimeError(
    RuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion because of the following error (look up to see its traceback):
    Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
    cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

---
*** Error loading script: supermerger.py
    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
        return importlib.import_module("." + module_name, self.__name__)
      File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in <module>
        from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
    ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
        return importlib.import_module("." + module_name, self.__name__)
      File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 24, in <module>
        from ...loaders import FromSingleFileMixin, IPAdapterMixin, StableDiffusionLoraLoaderMixin, TextualInversionLoaderMixin
      File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
        module = self._get_module(self._class_to_module[name])
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
        raise RuntimeError(
    RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
    cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "H:\stable-diffusion-webui\modules\script_loading.py", line 13, 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 "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\supermerger.py", line 25, in <module>
        import scripts.mergers.pluslora
      File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\mergers\pluslora.py", line 21, in <module>
        from scripts.kohyas import extract_lora_from_models as ext
      File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\extract_lora_from_models.py", line 12, in <module>
        from scripts.kohyas import sai_model_spec,model_util,sdxl_model_util,lora
      File "H:\stable-diffusion-webui\extensions\sd-webui-supermerger\scripts\kohyas\model_util.py", line 16, in <module>
        from diffusers import AutoencoderKL, DDIMScheduler, StableDiffusionPipeline  # , UNet2DConditionModel
      File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
        value = getattr(module, name)
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
        value = getattr(module, name)
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
        module = self._get_module(self._class_to_module[name])
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
        raise RuntimeError(
    RuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion because of the following error (look up to see its traceback):
    Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
    cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

---
Exception importing api
Traceback (most recent call last):
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in <module>
    from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl.py", line 29, in <module>
    from ...loaders import (
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\api.py", line 32, in <module>
    from dreambooth.ui_functions import create_model, generate_samples, \
  File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\ui_functions.py", line 28, in <module>
    from dreambooth.sd_to_diff import extract_checkpoint
  File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\sd_to_diff.py", line 24, in <module>
    from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
    value = getattr(module, name)
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.stable_diffusion_xl.pipeline_stable_diffusion_xl because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)
*** Error loading script: main.py
    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
        return importlib.import_module("." + module_name, self.__name__)
      File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\loaders\ip_adapter.py", line 36, in <module>
        from transformers import CLIPImageProcessor, CLIPVisionModelWithProjection, SiglipImageProcessor, SiglipVisionModel
    ImportError: cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 920, in _get_module
        return importlib.import_module("." + module_name, self.__name__)
      File "C:\Program Files\Python310\lib\importlib\__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      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 "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl.py", line 29, in <module>
        from ...loaders import (
      File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
        module = self._get_module(self._class_to_module[name])
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
        raise RuntimeError(
    RuntimeError: Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
    cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "H:\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "H:\stable-diffusion-webui\modules\script_loading.py", line 13, 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 "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py", line 20, in <module>
        from dreambooth.ui_functions import (
      File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\ui_functions.py", line 28, in <module>
        from dreambooth.sd_to_diff import extract_checkpoint
      File "H:\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\sd_to_diff.py", line 24, in <module>
        from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
      File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
        value = getattr(module, name)
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 911, in __getattr__
        value = getattr(module, name)
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 910, in __getattr__
        module = self._get_module(self._class_to_module[name])
      File "H:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
        raise RuntimeError(
    RuntimeError: Failed to import diffusers.pipelines.stable_diffusion_xl.pipeline_stable_diffusion_xl because of the following error (look up to see its traceback):
    Failed to import diffusers.loaders.ip_adapter because of the following error (look up to see its traceback):
    cannot import name 'SiglipImageProcessor' from 'transformers' (H:\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py)

---
Loading weights [6ce0161689] from H:\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: H:\stable-diffusion-webui\configs\v1-inference.yaml
H:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:795: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.

Additional information

No response

@Hi1603
Copy link

Hi1603 commented Jan 11, 2025

hey same error for me as well, i think there is something wrong with the transformer compatibility. Please any one help us

@murmelmischka
Copy link

Have the same issue. Just wanted to get started for the first time

@murmelmischka
Copy link

I would assume as the extension didn't change for a while and this issue only came up in the last days (can't find a similar trace otherwise), it must be an incompatability of a dependency that recently had a version jump?

@Deniryer
Copy link
Author

I assume that might be the issue. At this point, I wish they would bundle this extension with their own A1111 fork.

I’ve tried other standalone Gradio and non-Gradio apps for training, but this extension - at least in my case - has proven to be the most effective and user-friendly.

@smccutchen
Copy link

Looks like this is an issue with using transformers v4.30.2, which is what is specified in the AUTOMATIC1111 requirements.txt.

Seems like it was resolved in v4.37.0, and if you switch, it should allow you to bring up the Dreambooth tab in the UI.

  • Stop your webui service
  • modify the following files:
  • ../sd.webui/webui/requirements.txt
  • ../sd.webui/webui/requirements_versions.txt
  • find the line that says transformers==4.32.0
  • change it to say transformers==4.37.0
  • save both files and restart the webui service

Note that by doing this, there are new errors produced in the log, but these look like access errors for the Huggingface online repository, and they don't appear to be showstoppers (but I haven't really done any further testing):

creating model quickly: OSError
Traceback (most recent call last):
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\utils\_http.py", line 406, in hf_raise_for_status
    response.raise_for_status()
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\requests\models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/None/resolve/main/config.json

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\transformers\utils\hub.py", line 385, in cached_file
    resolved_file = hf_hub_download(
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\file_download.py", line 860, in hf_hub_download
    return _hf_hub_download_to_cache_dir(
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\file_download.py", line 967, in _hf_hub_download_to_cache_dir
    _raise_on_head_call_error(head_call_error, force_download, local_files_only)
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\file_download.py", line 1482, in _raise_on_head_call_error
    raise head_call_error
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\file_download.py", line 1374, in _get_metadata_or_catch_error
    metadata = get_hf_file_metadata(
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\file_download.py", line 1294, in get_hf_file_metadata
    r = _request_wrapper(
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\file_download.py", line 278, in _request_wrapper
    response = _request_wrapper(
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\file_download.py", line 302, in _request_wrapper
    hf_raise_for_status(response)
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\huggingface_hub\utils\_http.py", line 454, in hf_raise_for_status
    raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-6785a1e3-1fdd302c24d180817d7c564f;7ea41f37-0f94-41d9-96ba-179903773ca1)

Repository Not Found for url: https://huggingface.co/None/resolve/main/config.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "threading.py", line 973, in _bootstrap
  File "threading.py", line 1016, in _bootstrap_inner
  File "threading.py", line 953, in run
  File "E:\Repository\Projects\AI\sd.webui\webui\modules\initialize.py", line 149, in load_model
    shared.sd_model  # noqa: B018
  File "E:\Repository\Projects\AI\sd.webui\webui\modules\shared_items.py", line 175, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "E:\Repository\Projects\AI\sd.webui\webui\modules\sd_models.py", line 693, in get_sd_model
    load_model()
  File "E:\Repository\Projects\AI\sd.webui\webui\modules\sd_models.py", line 820, in load_model
    sd_model = instantiate_from_config(sd_config.model, state_dict)
  File "E:\Repository\Projects\AI\sd.webui\webui\modules\sd_models.py", line 775, in instantiate_from_config
    return constructor(**params)
  File "E:\Repository\Projects\AI\sd.webui\webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 563, in __init__
    self.instantiate_cond_stage(cond_stage_config)
  File "E:\Repository\Projects\AI\sd.webui\webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 630, in instantiate_cond_stage
    model = instantiate_from_config(config)
  File "E:\Repository\Projects\AI\sd.webui\webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 89, in instantiate_from_config
    return get_obj_from_str(config["target"])(**config.get("params", dict()))
  File "E:\Repository\Projects\AI\sd.webui\webui\repositories\stable-diffusion-stability-ai\ldm\modules\encoders\modules.py", line 104, in __init__
    self.transformer = CLIPTextModel.from_pretrained(version)
  File "E:\Repository\Projects\AI\sd.webui\webui\modules\sd_disable_initialization.py", line 68, in CLIPTextModel_from_pretrained
    res = self.CLIPTextModel_from_pretrained(None, *model_args, config=pretrained_model_name_or_path, state_dict={}, **kwargs)
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\transformers\modeling_utils.py", line 2928, in from_pretrained
    resolved_config_file = cached_file(
  File "E:\Repository\Projects\AI\sd.webui\system\python\lib\site-packages\transformers\utils\hub.py", line 406, in cached_file
    raise EnvironmentError(
OSError: None is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`

Failed to create model quickly; will retry using slow method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants