Repository: stable-diffusion-webui
Issue: [Bug]: model cannot be loaded
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

I installed the stable diffusion web ui and it worked fine until it started, but I can't read the model file.
Even if I look at the log, I honestly have no idea what's going on.
The most likely cause is that you installed too many extensions at once. I'll post the log, so if anyone knows how to resolve this issue, please let me know.
[log.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/12873079/log.txt)


### Steps to reproduce the problem

1.Start stable diffusion web ui
2. Switch model files
3. An error occurred in the log. Can't switch models

### What should have happened?

All models can be switched normally.

### Sysinfo

[sysinfo-2023-10-11-17-51.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/12873122/sysinfo-2023-10-11-17-51.txt)


### What browsers do you use to access the UI ?

Google Chrome

### Console logs

```Shell
venv "K:\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.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Collecting protobuf<=3.9999,>=3.20
  Using cached protobuf-3.20.3-cp310-cp310-win_amd64.whl (904 kB)
Installing collected packages: protobuf
  Attempting uninstall: protobuf
    Found existing installation: protobuf 4.24.4
    Uninstalling protobuf-4.24.4:
      Successfully uninstalled protobuf-4.24.4
Successfully installed protobuf-3.20.3
Installing requirements for Mov2mov
Installing requirements for imageio-ffmpeg
K:\stable-diffusion-webui\venv\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: 'Could not find module 'K:\stable-diffusion-webui\venv\Lib\site-packages\torchvision\image.pyd' (or one of its dependencies). Try using the full path with constructor syntax.'If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
  warn(
K:\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
  warn("The installed version of bitsandbytes was compiled without GPU support. "
'NoneType' object has no attribute 'cadam32bit_grad_fp32'
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.0+cpu)
    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
K:\stable-diffusion-webui\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.
  rank_zero_deprecation(
*** Error running install.py for extension K:\stable-diffusion-webui\extensions\sd-webui-riffusion.
*** Command: "K:\stable-diffusion-webui\venv\Scripts\python.exe" "K:\stable-diffusion-webui\extensions\sd-webui-riffusion\install.py"
*** Error code: 1
*** stdout: Initializing Riffusion
*** Riffusion torchaudio is not installed, installing...
*** [Riffusion] Installing torchaudio...
***
*** stderr: Traceback (most recent call last):
***   File "K:\stable-diffusion-webui\extensions\sd-webui-riffusion\install.py", line 18, in <module>
***     dist = pkg_resources.get_distribution('torchaudio')
***   File "K:\stable-diffusion-webui\venv\lib\site-packages\pkg_resources\__init__.py", line 478, in get_distribution
***     dist = get_provider(dist)
***   File "K:\stable-diffusion-webui\venv\lib\site-packages\pkg_resources\__init__.py", line 354, in get_provider
***     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
***   File "K:\stable-diffusion-webui\venv\lib\site-packages\pkg_resources\__init__.py", line 909, in require
***     needed = self.resolve(parse_requirements(requirements))
***   File "K:\stable-diffusion-webui\venv\lib\site-packages\pkg_resources\__init__.py", line 795, in resolve
***     raise DistributionNotFound(req, requirers)
*** pkg_resources.DistributionNotFound: The 'torchaudio' distribution was not found and is required by the application
***
*** During handling of the above exception, another exception occurred:
***
*** Traceback (most recent call last):
***   File "K:\stable-diffusion-webui\extensions\sd-webui-riffusion\install.py", line 22, in <module>
***     launch.run(
***   File "K:\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
***     raise RuntimeError("\n".join(error_bits))
*** RuntimeError: [Riffusion] Couldn't install torchaudio..
*** Command: "K:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torchaudio
*** Error code: 1
*** stdout: Collecting torchaudio
***   Using cached torchaudio-2.1.0-cp310-cp310-win_amd64.whl (2.3 MB)
*** Collecting torch==2.1.0
***   Using cached torch-2.1.0-cp310-cp310-win_amd64.whl (192.3 MB)
*** Requirement already satisfied: sympy in k:\stable-diffusion-webui\venv\lib\site-packages (from torch==2.1.0->torchaudio) (1.12)
*** Requirement already satisfied: networkx in k:\stable-diffusion-webui\venv\lib\site-packages (from torch==2.1.0->torchaudio) (3.1)
*** Requirement already satisfied: filelock in k:\stable-diffusion-webui\venv\lib\site-packages (from torch==2.1.0->torchaudio) (3.12.4)
*** Requirement already satisfied: fsspec in k:\stable-diffusion-webui\venv\lib\site-packages (from torch==2.1.0->torchaudio) (2023.9.2)
*** Requirement already satisfied: typing-extensions in k:\stable-diffusion-webui\venv\lib\site-packages (from torch==2.1.0->torchaudio) (4.8.0)
*** Requirement already satisfied: jinja2 in k:\stable-diffusion-webui\venv\lib\site-packages (from torch==2.1.0->torchaudio) (3.1.2)
*** Requirement already satisfied: MarkupSafe>=2.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from jinja2->torch==2.1.0->torchaudio) (2.1.3)
*** Requirement already satisfied: mpmath>=0.19 in k:\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch==2.1.0->torchaudio) (1.3.0)
*** Installing collected packages: torch, torchaudio
***   Attempting uninstall: torch
***     Found existing installation: torch 2.0.1
***     Uninstalling torch-2.0.1:
***       Successfully uninstalled torch-2.0.1
***
*** stderr: WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
***     WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** ERROR: Could not install packages due to an OSError: [WinError 5] ANZX\u06c2\u0702B: 'K:\\stable-diffusion-webui\\venv\\Lib\\site-packages\\~~rch\\lib\\asmjit.dll'
*** Check the permissions.
***
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
***
*** [notice] A new release of pip is available: 23.0.1 -> 23.2.1
*** [notice] To update, run: K:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
***
*** Error running install.py for extension K:\stable-diffusion-webui\extensions\sd-webui-train-tools.
*** Command: "K:\stable-diffusion-webui\venv\Scripts\python.exe" "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\install.py"
*** Error code: 1
*** stdout: Installing sd-webui-train-tools requirement: K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt
***
*** stderr: Traceback (most recent call last):
***   File "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\install.py", line 15, in <module>
***     launch.run_pip(f'install -r "{python_requirements_file}"', f"sd-webui-train-tools requirement: {python_requirements_file}")
***   File "K:\stable-diffusion-webui\modules\launch_utils.py", line 138, in run_pip
***     return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
***   File "K:\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
***     raise RuntimeError("\n".join(error_bits))
*** RuntimeError: Couldn't install sd-webui-train-tools requirement: K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt.
*** Command: "K:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install -r "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt" --prefer-binary
*** Error code: 1
*** stdout: Collecting accelerate==0.15.0
***   Using cached accelerate-0.15.0-py3-none-any.whl (191 kB)
*** Requirement already satisfied: transformers in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 2)) (4.30.2)
*** Requirement already satisfied: ftfy in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 3)) (6.1.1)
*** Collecting albumentations
***   Using cached albumentations-1.3.1-py3-none-any.whl (125 kB)
*** Requirement already satisfied: opencv-python in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 5)) (4.8.1.78)
*** Requirement already satisfied: einops in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 6)) (0.4.1)
*** Collecting diffusers[torch]==0.10.2
***   Using cached diffusers-0.10.2-py3-none-any.whl (503 kB)
*** Requirement already satisfied: pytorch-lightning in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (1.9.4)
*** Requirement already satisfied: bitsandbytes in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 9)) (0.41.1)
*** Collecting tensorboard
***   Using cached tensorboard-2.14.1-py3-none-any.whl (5.5 MB)
*** Requirement already satisfied: safetensors in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 11)) (0.3.1)
*** Requirement already satisfied: gradio in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (3.41.2)
*** Requirement already satisfied: altair in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 13)) (5.1.2)
*** Requirement already satisfied: easygui in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 14)) (0.98.3)
*** Requirement already satisfied: requests in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 16)) (2.31.0)
*** Requirement already satisfied: timm in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 17)) (0.9.2)
*** Collecting fairscale
***   Using cached fairscale-0.4.13-py3-none-any.whl
*** Collecting tensorflow
***   Using cached tensorflow-2.14.0-cp310-cp310-win_amd64.whl (2.1 kB)
*** Requirement already satisfied: huggingface-hub in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 22)) (0.18.0)
*** Requirement already satisfied: GitPython in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 24)) (3.1.32)
*** Requirement already satisfied: toml in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 25)) (0.10.2)
*** Requirement already satisfied: voluptuous in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 26)) (0.13.1)
*** Requirement already satisfied: tabulate in k:\stable-diffusion-webui\venv\lib\site-packages (from -r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 27)) (0.9.0)
*** Requirement already satisfied: psutil in k:\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.15.0->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 1)) (5.9.5)
*** Requirement already satisfied: torch>=1.4.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.15.0->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 1)) (2.1.0)
*** Requirement already satisfied: pyyaml in k:\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.15.0->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 1)) (6.0.1)
*** Requirement already satisfied: numpy>=1.17 in k:\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.15.0->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 1)) (1.23.5)
*** Requirement already satisfied: packaging>=20.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from accelerate==0.15.0->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 1)) (23.2)
*** Requirement already satisfied: filelock in k:\stable-diffusion-webui\venv\lib\site-packages (from diffusers[torch]==0.10.2->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 7)) (3.12.4)
*** Requirement already satisfied: Pillow in k:\stable-diffusion-webui\venv\lib\site-packages (from diffusers[torch]==0.10.2->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 7)) (9.5.0)
*** Requirement already satisfied: importlib-metadata in k:\stable-diffusion-webui\venv\lib\site-packages (from diffusers[torch]==0.10.2->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 7)) (6.8.0)
*** Requirement already satisfied: regex!=2019.12.17 in k:\stable-diffusion-webui\venv\lib\site-packages (from diffusers[torch]==0.10.2->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 7)) (2023.10.3)
*** Requirement already satisfied: tqdm>=4.27 in k:\stable-diffusion-webui\venv\lib\site-packages (from transformers->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 2)) (4.66.1)
*** Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from transformers->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 2)) (0.13.3)
*** Requirement already satisfied: wcwidth>=0.2.5 in k:\stable-diffusion-webui\venv\lib\site-packages (from ftfy->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 3)) (0.2.8)
*** Requirement already satisfied: scipy>=1.1.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (1.11.3)
*** Requirement already satisfied: scikit-image>=0.16.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (0.21.0)
*** Collecting qudida>=0.0.4
***   Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB)
*** Requirement already satisfied: opencv-python-headless>=4.1.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (4.8.1.78)
*** Requirement already satisfied: fsspec[http]>2021.06.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (2023.9.2)
*** Requirement already satisfied: torchmetrics>=0.7.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (1.2.0)
*** Requirement already satisfied: lightning-utilities>=0.6.0.post0 in k:\stable-diffusion-webui\venv\lib\site-packages (from pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (0.9.0)
*** Requirement already satisfied: typing-extensions>=4.0.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (4.8.0)
*** Requirement already satisfied: absl-py>=0.4 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (2.0.0)
*** Requirement already satisfied: setuptools>=41.0.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (65.5.0)
*** Requirement already satisfied: markdown>=2.6.8 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (3.5)
*** Requirement already satisfied: protobuf>=3.19.6 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (3.20.3)
*** Requirement already satisfied: werkzeug>=1.0.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (3.0.0)
*** Requirement already satisfied: six>1.9 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (1.16.0)
*** Requirement already satisfied: google-auth<3,>=1.6.3 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (2.23.3)
*** Requirement already satisfied: grpcio>=1.48.2 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (1.59.0)
*** Collecting google-auth-oauthlib<1.1,>=0.5
***   Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
*** Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (0.7.1)
*** Requirement already satisfied: ffmpy in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.3.1)
*** Requirement already satisfied: orjson~=3.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (3.9.7)
*** Requirement already satisfied: pandas<3.0,>=1.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (2.1.1)
*** Requirement already satisfied: httpx in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.24.1)
*** Requirement already satisfied: matplotlib~=3.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (3.8.0)
*** Requirement already satisfied: fastapi in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.94.0)
*** Requirement already satisfied: jinja2<4.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (3.1.2)
*** Requirement already satisfied: gradio-client==0.5.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.5.0)
*** Requirement already satisfied: websockets<12.0,>=10.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (11.0.3)
*** Requirement already satisfied: uvicorn>=0.14.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.23.2)
*** Requirement already satisfied: importlib-resources<7.0,>=1.3 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (6.1.0)
*** Requirement already satisfied: python-multipart in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.0.6)
*** Requirement already satisfied: semantic-version~=2.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (2.10.0)
*** Requirement already satisfied: pydub in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.25.1)
*** Requirement already satisfied: aiofiles<24.0,>=22.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (23.2.1)
*** Requirement already satisfied: markupsafe~=2.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (2.1.3)
*** Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 in k:\stable-diffusion-webui\venv\lib\site-packages (from gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (1.10.13)
*** Requirement already satisfied: jsonschema>=3.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from altair->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 13)) (4.19.1)
*** Requirement already satisfied: toolz in k:\stable-diffusion-webui\venv\lib\site-packages (from altair->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 13)) (0.12.0)
*** Requirement already satisfied: idna<4,>=2.5 in k:\stable-diffusion-webui\venv\lib\site-packages (from requests->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 16)) (3.4)
*** Requirement already satisfied: certifi>=2017.4.17 in k:\stable-diffusion-webui\venv\lib\site-packages (from requests->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 16)) (2023.7.22)
*** Requirement already satisfied: charset-normalizer<4,>=2 in k:\stable-diffusion-webui\venv\lib\site-packages (from requests->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 16)) (3.3.0)
*** Requirement already satisfied: urllib3<3,>=1.21.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from requests->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 16)) (2.0.6)
*** Requirement already satisfied: torchvision in k:\stable-diffusion-webui\venv\lib\site-packages (from timm->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 17)) (0.15.2+cu118)
*** Collecting tensorflow-intel==2.14.0
***   Using cached tensorflow_intel-2.14.0-cp310-cp310-win_amd64.whl (284.1 MB)
*** Requirement already satisfied: opt-einsum>=2.3.2 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (3.3.0)
*** Requirement already satisfied: google-pasta>=0.1.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (0.2.0)
*** Requirement already satisfied: libclang>=13.0.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (16.0.6)
*** Requirement already satisfied: wrapt<1.15,>=1.11.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (1.14.1)
*** Requirement already satisfied: keras<2.15,>=2.14.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (2.14.0)
*** Requirement already satisfied: ml-dtypes==0.2.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (0.2.0)
*** Requirement already satisfied: tensorflow-estimator<2.15,>=2.14.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (2.14.0)
*** Requirement already satisfied: h5py>=2.9.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (3.10.0)
*** Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (0.31.0)
*** Requirement already satisfied: flatbuffers>=23.5.26 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (23.5.26)
*** Requirement already satisfied: termcolor>=1.1.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (2.3.0)
*** Requirement already satisfied: gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (0.5.4)
*** Collecting astunparse>=1.6.0
***   Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
*** Requirement already satisfied: gitdb<5,>=4.0.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from GitPython->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 24)) (4.0.10)
*** Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in k:\stable-diffusion-webui\venv\lib\site-packages (from fsspec[http]>2021.06.0->pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (3.8.6)
*** Requirement already satisfied: smmap<6,>=3.0.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from gitdb<5,>=4.0.1->GitPython->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 24)) (5.0.1)
*** Requirement already satisfied: pyasn1-modules>=0.2.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (0.3.0)
*** Requirement already satisfied: cachetools<6.0,>=2.0.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (5.3.1)
*** Requirement already satisfied: rsa<5,>=3.1.4 in k:\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (4.9)
*** Requirement already satisfied: requests-oauthlib>=0.7.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (1.3.1)
*** Requirement already satisfied: jsonschema-specifications>=2023.03.6 in k:\stable-diffusion-webui\venv\lib\site-packages (from jsonschema>=3.0->altair->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 13)) (2023.7.1)
*** Requirement already satisfied: attrs>=22.2.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from jsonschema>=3.0->altair->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 13)) (23.1.0)
*** Requirement already satisfied: referencing>=0.28.4 in k:\stable-diffusion-webui\venv\lib\site-packages (from jsonschema>=3.0->altair->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 13)) (0.30.2)
*** Requirement already satisfied: rpds-py>=0.7.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from jsonschema>=3.0->altair->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 13)) (0.10.4)
*** Requirement already satisfied: cycler>=0.10 in k:\stable-diffusion-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.12.1)
*** Requirement already satisfied: kiwisolver>=1.0.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (1.4.5)
*** Requirement already satisfied: fonttools>=4.22.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (4.43.1)
*** Requirement already satisfied: pyparsing>=2.3.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (3.1.1)
*** Requirement already satisfied: python-dateutil>=2.7 in k:\stable-diffusion-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (2.8.2)
*** Requirement already satisfied: contourpy>=1.0.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (1.1.1)
*** Requirement already satisfied: tzdata>=2022.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from pandas<3.0,>=1.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (2023.3)
*** Requirement already satisfied: pytz>=2020.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from pandas<3.0,>=1.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (2023.3.post1)
*** Collecting scikit-learn>=0.19.1
***   Using cached scikit_learn-1.3.1-cp310-cp310-win_amd64.whl (9.3 MB)
*** Requirement already satisfied: PyWavelets>=1.1.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (1.4.1)
*** Requirement already satisfied: tifffile>=2022.8.12 in k:\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (2023.9.26)
*** Requirement already satisfied: lazy_loader>=0.2 in k:\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (0.3)
*** Requirement already satisfied: networkx>=2.8 in k:\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (3.1)
*** Requirement already satisfied: imageio>=2.27 in k:\stable-diffusion-webui\venv\lib\site-packages (from scikit-image>=0.16.1->albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (2.31.5)
*** Requirement already satisfied: sympy in k:\stable-diffusion-webui\venv\lib\site-packages (from torch>=1.4.0->accelerate==0.15.0->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 1)) (1.12)
*** Requirement already satisfied: colorama in k:\stable-diffusion-webui\venv\lib\site-packages (from tqdm>=4.27->transformers->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 2)) (0.4.6)
*** Requirement already satisfied: h11>=0.8 in k:\stable-diffusion-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.12.0)
*** Requirement already satisfied: click>=7.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (8.1.7)
*** Requirement already satisfied: starlette<0.27.0,>=0.26.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from fastapi->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.26.1)
*** Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from httpx->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (0.15.0)
*** Requirement already satisfied: sniffio in k:\stable-diffusion-webui\venv\lib\site-packages (from httpx->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (1.3.0)
*** Requirement already satisfied: zipp>=0.5 in k:\stable-diffusion-webui\venv\lib\site-packages (from importlib-metadata->diffusers[torch]==0.10.2->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 7)) (3.17.0)
*** Collecting torch>=1.4.0
***   Using cached torch-2.0.1-cp310-cp310-win_amd64.whl (172.3 MB)
*** Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in k:\stable-diffusion-webui\venv\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (4.0.3)
*** Requirement already satisfied: multidict<7.0,>=4.5 in k:\stable-diffusion-webui\venv\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (6.0.4)
*** Requirement already satisfied: yarl<2.0,>=1.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (1.9.2)
*** Requirement already satisfied: aiosignal>=1.1.2 in k:\stable-diffusion-webui\venv\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (1.3.1)
*** Requirement already satisfied: frozenlist>=1.1.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 8)) (1.4.0)
*** Requirement already satisfied: wheel<1.0,>=0.23.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from astunparse>=1.6.0->tensorflow-intel==2.14.0->tensorflow->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 21)) (0.41.2)
*** Requirement already satisfied: anyio==3.* in k:\stable-diffusion-webui\venv\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (3.7.1)
*** Requirement already satisfied: exceptiongroup in k:\stable-diffusion-webui\venv\lib\site-packages (from anyio==3.*->httpcore<0.18.0,>=0.15.0->httpx->gradio->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 12)) (1.1.3)
*** Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in k:\stable-diffusion-webui\venv\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (0.5.0)
*** Requirement already satisfied: oauthlib>=3.0.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 10)) (3.2.2)
*** Requirement already satisfied: joblib>=1.1.1 in k:\stable-diffusion-webui\venv\lib\site-packages (from scikit-learn>=0.19.1->qudida>=0.0.4->albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (1.3.2)
*** Requirement already satisfied: threadpoolctl>=2.0.0 in k:\stable-diffusion-webui\venv\lib\site-packages (from scikit-learn>=0.19.1->qudida>=0.0.4->albumentations->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 4)) (3.2.0)
*** Requirement already satisfied: mpmath>=0.19 in k:\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch>=1.4.0->accelerate==0.15.0->-r K:\stable-diffusion-webui\extensions\sd-webui-train-tools\requirements.txt (line 1)) (1.3.0)
*** Installing collected packages: astunparse, torch, scikit-learn, qudida, google-auth-oauthlib, fairscale, diffusers, accelerate, tensorboard, albumentations, tensorflow-intel, tensorflow
***   Attempting uninstall: torch
***     Found existing installation: torch 2.1.0
***     Uninstalling torch-2.1.0:
***       Successfully uninstalled torch-2.1.0
***
*** stderr: WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
***     WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** ERROR: Could not install packages due to an OSError: [WinError 5] ANZX\u06c2\u0702B: 'K:\\stable-diffusion-webui\\venv\\Lib\\site-packages\\~.rch\\lib\\asmjit.dll'
*** Check the permissions.
***
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
*** WARNING: Ignoring invalid distribution -orch (k:\stable-diffusion-webui\venv\lib\site-packages)
***
*** [notice] A new release of pip is available: 23.0.1 -> 23.2.1
*** [notice] To update, run: K:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
***
'NoneType' object has no attribute 'cadam32bit_grad_fp32'
Launching Web UI with arguments: --skip-torch-cuda-test --xformers --autolaunch --no-half-vae --lowvram --opt-channelslast
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
Civitai Helper: Get Custom Model Folder
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 23.10.0, num models: 9
Loading booru2prompt settings
[Better Prompt] Version v0.4.1
2023-10-12 02:33:04,016 - ControlNet - INFO - ControlNet v1.1.410
ControlNet preprocessor location: K:\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2023-10-12 02:33:05,057 - ControlNet - INFO - ControlNet v1.1.410
sd-webui-prompt-all-in-one background API service started successfully.
*** Error loading script: riffusion.py
    Traceback (most recent call last):
      File "K:\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "K:\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "K:\stable-diffusion-webui\extensions\sd-webui-riffusion\scripts\riffusion.py", line 11, in <module>
        import torchaudio
    ModuleNotFoundError: No module named 'torchaudio'

---
*** Error loading script: train_tools.py
    Traceback (most recent call last):
      File "K:\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "K:\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\scripts\train_tools.py", line 7, in <module>
        from liasece_sd_webui_train_tools.ui import *
      File "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ui.py", line 16, in <module>
        from liasece_sd_webui_train_tools.train_ui import *
      File "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train_ui.py", line 10, in <module>
        from liasece_sd_webui_train_tools import train
      File "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train.py", line 8, in <module>
        from liasece_sd_webui_train_tools.ArgsList import ArgStore
      File "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ArgsList.py", line 22, in <module>
        import liasece_sd_webui_train_tools.sd_scripts.train_network as train_network
      File "K:\stable-diffusion-webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\sd_scripts\train_network.py", line 15, in <module>
        from diffusers import DDPMScheduler
    ModuleNotFoundError: No module named 'diffusers'

---
dirname:  K:\stable-diffusion-webui\localizations
localizations:  {'ja_JP': 'K:\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-ja_JP\\localizations\\ja_JP.json', 'ks_JP': 'K:\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-ja_JP\\localizations\\ks_JP.json', 'zh_CN': 'K:\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-ja_JP\\localizations\\zh_CN.json', 'zh_TW': 'K:\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-ja_JP\\localizations\\zh_TW.json'}
[text2prompt] Following databases are available:
    all-mpnet-base-v2 : danbooru_strict
Loading weights [f6957e654e] from K:\stable-diffusion-webui\models\Stable-diffusion\7th_anime_v3_C.safetensors
Creating model from config: K:\stable-diffusion-webui\configs\v1-inference.yaml
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:130: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:130: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
Civitai Helper: Settings:
Civitai Helper: max_size_preview: True
Civitai Helper: skip_nsfw_preview: False
Civitai Helper: open_url_with_js: True
Civitai Helper: proxy:
add tab
[([button, button, button, button, button], button, gallery), ([button, button, button, button, button], button, gallery)]
K:\stable-diffusion-webui\extensions\booru2prompt\scripts\main.py:301: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  searchimages.style(grid=3)
K:\stable-diffusion-webui\extensions\booru2prompt\scripts\main.py:301: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  searchimages.style(grid=3)
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-dataset-tag-editor\scripts\main.py:218: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-dataset-tag-editor\scripts\tag_editor_ui\block_dataset_gallery.py:25: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  self.gl_dataset_images = gr.Gallery(label='Dataset Images', elem_id="dataset_tag_editor_dataset_gallery").style(grid=image_columns)
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-dataset-tag-editor\scripts\tag_editor_ui\block_dataset_gallery.py:25: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  self.gl_dataset_images = gr.Gallery(label='Dataset Images', elem_id="dataset_tag_editor_dataset_gallery").style(grid=image_columns)
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-dataset-tag-editor\scripts\tag_editor_ui\tab_filter_by_selection.py:35: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  self.gl_filter_images = gr.Gallery(label='Filter Images', elem_id="dataset_tag_editor_filter_gallery").style(grid=image_columns)
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-dataset-tag-editor\scripts\tag_editor_ui\tab_filter_by_selection.py:35: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  self.gl_filter_images = gr.Gallery(label='Filter Images', elem_id="dataset_tag_editor_filter_gallery").style(grid=image_columns)
[text2prompt] Loading database with name "all-mpnet-base-v2 : danbooru_strict"...
[text2prompt] Database loaded
*** Error calling: K:\stable-diffusion-webui\extensions\sd-webui-neutral-prompt\scripts\neutral_prompt.py/ui
    Traceback (most recent call last):
      File "K:\stable-diffusion-webui\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "K:\stable-diffusion-webui\extensions\sd-webui-neutral-prompt\scripts\neutral_prompt.py", line 31, in ui
        self.accordion_interface.arrange_components(is_img2img)
      File "K:\stable-diffusion-webui\extensions\sd-webui-neutral-prompt\lib_neutral_prompt\ui.py", line 43, in arrange_components
        self.cfg_rescale.render()
      File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 126, in render
        raise DuplicateBlockError(
    gradio.exceptions.DuplicateBlockError: A block with id: 7020 has already been rendered in the current Blocks.

---
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:130: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
K:\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:130: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 614.7s (prepare environment: 520.5s, initialize shared: 0.2s, other imports: 10.0s, setup SD model: 0.1s, setup codeformer: 2.5s, setup gfpgan: 0.8s, list SD models: 2.0s, load scripts: 35.7s, reload hypernetworks: 0.4s, initialize extra networks: 1.4s, create ui: 19.3s, gradio launch: 21.7s, app_started_callback: 0.6s).
Applying attention optimization: InvokeAI... done.
loading stable diffusion model: RuntimeError
Traceback (most recent call last):
  File "C:\Users\bluee\AppData\Local\Programs\Python\Python310\lib\threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "C:\Users\bluee\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Users\bluee\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "K:\stable-diffusion-webui\modules\initialize.py", line 147, in load_model
    shared.sd_model  # noqa: B018
  File "K:\stable-diffusion-webui\modules\shared_items.py", line 110, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "K:\stable-diffusion-webui\modules\sd_models.py", line 499, in get_sd_model
    load_model()
  File "K:\stable-diffusion-webui\modules\sd_models.py", line 649, in load_model
    sd_model.cond_stage_model_empty_prompt = get_empty_cond(sd_model)
  File "K:\stable-diffusion-webui\modules\sd_models.py", line 537, in get_empty_cond
    return sd_model.cond_stage_model([""])
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    if result is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    result = hook(self, args)
  File "K:\stable-diffusion-webui\modules\sd_hijack_clip.py", line 234, in forward
    z = self.process_tokens(tokens, multipliers)
  File "K:\stable-diffusion-webui\modules\sd_hijack_clip.py", line 273, in process_tokens
    z = self.encode_with_transformers(tokens)
  File "K:\stable-diffusion-webui\modules\sd_hijack_clip.py", line 326, in encode_with_transformers
    outputs = self.wrapped.transformer(input_ids=tokens, output_hidden_states=-opts.CLIP_stop_at_last_layers)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    if result is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1568, in _call_impl
    if grad_fn is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 822, in forward
    return self.text_model(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    if result is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    result = hook(self, args)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 740, in forward
    encoder_outputs = self.encoder(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    if result is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    result = hook(self, args)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 654, in forward
    layer_outputs = encoder_layer(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    if result is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    result = hook(self, args)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 382, in forward
    hidden_states = self.layer_norm1(hidden_states)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    if result is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    result = hook(self, args)
  File "K:\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 474, in network_LayerNorm_forward
    return originals.LayerNorm_forward(self, input)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\normalization.py", line 196, in forward
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\functional.py", line 2543, in layer_norm
    if dim < 3:
RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'


Stable diffusion model failed to load
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "K:\stable-diffusion-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "K:\stable-diffusion-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\fastapi\applications.py", line 273, in __call__
    await super().__call__(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
    raise e
  File "K:\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 237, in app
    raw_response = await run_endpoint_function(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 163, in run_endpoint_function
    return await dependant.call(**values)
  File "K:\stable-diffusion-webui\extensions\sd-webui-better-prompt\scripts\better_prompt.py", line 135, in get_extra_networks
    for item in lora.list_items():
  File "K:\stable-diffusion-webui\extensions-builtin\Lora\ui_extra_networks_lora.py", line 70, in list_items
    item = self.create_item(name, index)
  File "K:\stable-diffusion-webui\extensions-builtin\Lora\ui_extra_networks_lora.py", line 59, in create_item
    elif shared.sd_model.is_sdxl and sd_version != network.SdVersion.SDXL:
AttributeError: 'NoneType' object has no attribute 'is_sdxl'
Exception in thread Thread-44 (load_model):
Traceback (most recent call last):
  File "C:\Users\bluee\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Users\bluee\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "K:\stable-diffusion-webui\modules\initialize.py", line 153, in load_model
    devices.first_time_calculation()
  File "K:\stable-diffusion-webui\modules\devices.py", line 148, in first_time_calculation
    linear(x)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    if result is not None:
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    result = hook(self, args)
  File "K:\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 429, in network_Linear_forward
    return originals.Linear_forward(self, input)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\linear.py", line 114, in forward
    return F.linear(input, self.weight, self.bias)
RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'
Traceback (most recent call last):
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "K:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "K:\stable-diffusion-webui\modules\ui_extra_networks.py", line 392, in pages_html
    return refresh()
  File "K:\stable-diffusion-webui\modules\ui_extra_networks.py", line 398, in refresh
    pg.refresh()
  File "K:\stable-diffusion-webui\modules\ui_extra_networks_textual_inversion.py", line 13, in refresh
    sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings(force_reload=True)
  File "K:\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 255, in load_textual_inversion_embeddings
    self.expected_shape = self.get_expected_shape()
  File "K:\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 154, in get_expected_shape
    vec = shared.sd_model.cond_stage_model.encode_embedding_init_text(",", 1)
AttributeError: 'NoneType' object has no attribute 'cond_stage_model'
Traceback (most recent call last):
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "K:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "K:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "K:\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "K:\stable-diffusion-webui\modules\ui_extra_networks.py", line 392, in pages_html
    return refresh()
  File "K:\stable-diffusion-webui\modules\ui_extra_networks.py", line 398, in refresh
    pg.refresh()
  File "K:\stable-diffusion-webui\modules\ui_extra_networks_textual_inversion.py", line 13, in refresh
    sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings(force_reload=True)
  File "K:\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 255, in load_textual_inversion_embeddings
    self.expected_shape = self.get_expected_shape()
  File "K:\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 154, in get_expected_shape
    vec = shared.sd_model.cond_stage_model.encode_embedding_init_text(",", 1)
AttributeError: 'NoneType' object has no attribute 'cond_stage_model'
changing setting sd_model_checkpoint to CounterfeitV30_v30.safetensors: AttributeError
Traceback (most recent call last):
  File "K:\stable-diffusion-webui\modules\options.py", line 140, in set
    option.onchange()
  File "K:\stable-diffusion-webui\modules\call_queue.py", line 13, in f
    res = func(*args, **kwargs)
  File "K:\stable-diffusion-webui\modules\initialize_util.py", line 170, in <lambda>
    shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False)
  File "K:\stable-diffusion-webui\modules\sd_models.py", line 732, in reload_model_weights
    sd_model = reuse_model_from_already_loaded(sd_model, checkpoint_info, timer)
  File "K:\stable-diffusion-webui\modules\sd_models.py", line 681, in reuse_model_from_already_loaded
    send_model_to_cpu(sd_model)
  File "K:\stable-diffusion-webui\modules\sd_models.py", line 541, in send_model_to_cpu
    if m.lowvram:
AttributeError: 'NoneType' object has no attribute 'lowvram'
```


### Additional information

_No response_