Error running install.py for extension J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension.
Command: "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\Scripts\python.exe" "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\install.py"
Error code: 1
stdout: No module 'xformers'. Proceeding without it.
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
If submitting an issue on github, please provide the full startup log for debugging purposes.
stderr: J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release
warnings.warn(
J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: pytorch_lightning.utilities.distributed.rank_zero_only has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from pytorch_lightning.utilities instead.
rank_zero_deprecation(
loading stable diffusion model: ImportError
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_models.py", line 424, in get_sd_model
load_model()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_models.py", line 441, in load_model
from modules import lowvram, sd_hijack
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack.py", line 5, in
import modules.textual_inversion.textual_inversion
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 17, in
from modules import shared, devices, sd_hijack, processing, sd_models, images, sd_samplers, sd_hijack_checkpoint
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 17, in
from modules.sd_hijack import model_hijack
ImportError: cannot import name 'model_hijack' from partially initialized module 'modules.sd_hijack' (most likely due to a circular import) (J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack.py)
Stable diffusion model failed to load
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\install.py", line 35, in
actual_install()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 41, in actual_install
install_requirements()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 87, in install_requirements
raise grepexc
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 75, in install_requirements
pip_install("-r", req_file)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 53, in pip_install
output = subprocess.check_output(
File "J:\AI training\Python310\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "J:\AI training\Python310\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\Scripts\python.exe', '-m', 'pip', 'install', '-r', 'J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt']' returned non-zero exit status 1.
Launching Web UI with arguments: --opt-sub-quad-attention --autolaunch
J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\pkgresources__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release
warnings.warn(
No module 'xformers'. Proceeding without it.
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
Loading weights [2935708f35] from J:\AI training\Stable diffusion\stable-diffusion-webui-directml\models\Stable-diffusion\hardblend.safetensors
Creating model from config: J:\AI training\Stable diffusion\stable-diffusion-webui-directml\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Error verifying pickled file from J:\AI training\Stable diffusion\stable-diffusion-webui-directml\embeddings\opulent beauty.pt:
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 136, in load_with_extra
check_pt(filename, extra_handler)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 94, in check_pt
unpickler.load()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch_utils.py", line 266, in _rebuild_device_tensor_from_numpy
tensor = torch.from_numpy(data).to(dtype=dtype, device=device)
NotImplementedError: Could not run 'aten::empty_strided' with arguments from the 'PrivateUse1' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::empty_strided' is only available for these backends: [CPU, Meta, QuantizedCPU, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMeta, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradNestedTensor, Tracer, AutocastCPU, AutocastCUDA, FuncTorchBatched, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PythonDispatcher].
CPU: registered at aten\src\ATen\RegisterCPU.cpp:31034 [kernel]
Meta: registered at aten\src\ATen\RegisterMeta.cpp:26824 [kernel]
QuantizedCPU: registered at aten\src\ATen\RegisterQuantizedCPU.cpp:929 [kernel]
BackendSelect: registered at aten\src\ATen\RegisterBackendSelect.cpp:726 [kernel]
Python: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:144 [backend fallback]
FuncTorchDynamicLayerBackMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:491 [backend fallback]
Functionalize: registered at ..\aten\src\ATen\FunctionalizeFallbackKernel.cpp:280 [backend fallback]
Named: registered at ..\aten\src\ATen\core\NamedRegistrations.cpp:7 [backend fallback]
Conjugate: fallthrough registered at ..\aten\src\ATen\ConjugateFallback.cpp:21 [kernel]
Negative: fallthrough registered at ..\aten\src\ATen\native\NegateFallback.cpp:23 [kernel]
ZeroTensor: fallthrough registered at ..\aten\src\ATen\ZeroTensorFallback.cpp:90 [kernel]
ADInplaceOrView: fallthrough registered at ..\aten\src\ATen\core\VariableFallbackKernel.cpp:63 [backend fallback]
AutogradOther: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradCPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradCUDA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradHIP: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradXLA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradMPS: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradIPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradXPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradHPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradVE: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradLazy: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradMeta: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradMTIA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradPrivateUse1: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradPrivateUse2: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradPrivateUse3: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradNestedTensor: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
Tracer: registered at ..\torch\csrc\autograd\generated\TraceType_2.cpp:16726 [kernel]
AutocastCPU: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:487 [backend fallback]
AutocastCUDA: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:354 [backend fallback]
FuncTorchBatched: registered at ..\aten\src\ATen\functorch\LegacyBatchingRegistrations.cpp:815 [backend fallback]
FuncTorchVmapMode: fallthrough registered at ..\aten\src\ATen\functorch\VmapModeRegistrations.cpp:28 [backend fallback]
Batched: registered at ..\aten\src\ATen\LegacyBatchingRegistrations.cpp:1073 [backend fallback]
VmapMode: fallthrough registered at ..\aten\src\ATen\VmapModeRegistrations.cpp:33 [backend fallback]
FuncTorchGradWrapper: registered at ..\aten\src\ATen\functorch\TensorWrapper.cpp:210 [backend fallback]
PythonTLSSnapshot: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:152 [backend fallback]
FuncTorchDynamicLayerFrontMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:487 [backend fallback]
PythonDispatcher: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:148 [backend fallback]
The file may be malicious, so the program is not going to read it.
You can skip this check with --disable-safe-unpickle commandline argument.
Error loading embedding opulent beauty.pt:
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 208, in load_from_dir
self.load_from_file(fullfn, fn)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 167, in load_from_file
if 'string_to_param' in data:
TypeError: argument of type 'NoneType' is not iterable
Textual inversion embeddings loaded(0):
Model loaded in 1.8s (load weights from disk: 0.1s, create model: 0.3s, apply weights to model: 0.5s, apply half(): 0.5s, load textual inversion embeddings: 0.3s).
Exception importing api
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\api.py", line 27, in
from dreambooth.dataclasses.db_config import from_file, DreamboothConfig
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in
from dreambooth.utils.image_utils import get_scheduler_names # noqa
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in
from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'
Error loading script: main.py
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\main.py", line 7, in
from dreambooth.dataclasses.db_config import (
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in
from dreambooth.utils.image_utils import get_scheduler_names # noqa
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in
from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'
Applying optimization: sub-quadratic... done.
Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True in launch().
Error executing callback app_started_callback for J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\api.py
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\script_callbacks.py", line 125, in app_started_callback
c.callback(demo, app)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\api.py", line 524, in dreambooth_api
model_cfg: DreamboothConfig = Body(description="The config to save"),
NameError: name 'DreamboothConfig' is not defined
Startup time: 6.5s (import torch: 1.3s, import gradio: 0.9s, import ldm: 0.4s, other imports: 0.6s, load scripts: 2.8s, create ui: 0.3s, gradio launch: 0.2s).
Error verifying pickled file from J:\AI training\Stable diffusion\stable-diffusion-webui-directml\embeddings\opulent beauty.pt:
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 136, in load_with_extra
check_pt(filename, extra_handler)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 94, in check_pt
unpickler.load()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch_utils.py", line 266, in _rebuild_device_tensor_from_numpy
tensor = torch.from_numpy(data).to(dtype=dtype, device=device)
NotImplementedError: Could not run 'aten::empty_strided' with arguments from the 'PrivateUse1' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::empty_strided' is only available for these backends: [CPU, Meta, QuantizedCPU, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMeta, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradNestedTensor, Tracer, AutocastCPU, AutocastCUDA, FuncTorchBatched, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PythonDispatcher].
CPU: registered at aten\src\ATen\RegisterCPU.cpp:31034 [kernel]
Meta: registered at aten\src\ATen\RegisterMeta.cpp:26824 [kernel]
QuantizedCPU: registered at aten\src\ATen\RegisterQuantizedCPU.cpp:929 [kernel]
BackendSelect: registered at aten\src\ATen\RegisterBackendSelect.cpp:726 [kernel]
Python: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:144 [backend fallback]
FuncTorchDynamicLayerBackMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:491 [backend fallback]
Functionalize: registered at ..\aten\src\ATen\FunctionalizeFallbackKernel.cpp:280 [backend fallback]
Named: registered at ..\aten\src\ATen\core\NamedRegistrations.cpp:7 [backend fallback]
Conjugate: fallthrough registered at ..\aten\src\ATen\ConjugateFallback.cpp:21 [kernel]
Negative: fallthrough registered at ..\aten\src\ATen\native\NegateFallback.cpp:23 [kernel]
ZeroTensor: fallthrough registered at ..\aten\src\ATen\ZeroTensorFallback.cpp:90 [kernel]
ADInplaceOrView: fallthrough registered at ..\aten\src\ATen\core\VariableFallbackKernel.cpp:63 [backend fallback]
AutogradOther: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradCPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradCUDA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradHIP: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradXLA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradMPS: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradIPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradXPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradHPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradVE: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradLazy: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradMeta: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradMTIA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradPrivateUse1: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradPrivateUse2: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradPrivateUse3: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
AutogradNestedTensor: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel]
Tracer: registered at ..\torch\csrc\autograd\generated\TraceType_2.cpp:16726 [kernel]
AutocastCPU: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:487 [backend fallback]
AutocastCUDA: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:354 [backend fallback]
FuncTorchBatched: registered at ..\aten\src\ATen\functorch\LegacyBatchingRegistrations.cpp:815 [backend fallback]
FuncTorchVmapMode: fallthrough registered at ..\aten\src\ATen\functorch\VmapModeRegistrations.cpp:28 [backend fallback]
Batched: registered at ..\aten\src\ATen\LegacyBatchingRegistrations.cpp:1073 [backend fallback]
VmapMode: fallthrough registered at ..\aten\src\ATen\VmapModeRegistrations.cpp:33 [backend fallback]
FuncTorchGradWrapper: registered at ..\aten\src\ATen\functorch\TensorWrapper.cpp:210 [backend fallback]
PythonTLSSnapshot: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:152 [backend fallback]
FuncTorchDynamicLayerFrontMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:487 [backend fallback]
PythonDispatcher: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:148 [backend fallback]
The file may be malicious, so the program is not going to read it.
You can skip this check with --disable-safe-unpickle commandline argument.
Error loading embedding opulent beauty.pt:
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 208, in load_from_dir
self.load_from_file(fullfn, fn)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 167, in load_from_file
if 'string_to_param' in data:
TypeError: argument of type 'NoneType' is not iterable
Error completing request
Arguments: ('task(5jryh3tiql6etw2)', ' ', '', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], 0, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0) {}
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\call_queue.py", line 57, in f
res = list(func(*args, kwargs))
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\call_queue.py", line 37, in f
res = func(*args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\txt2img.py", line 57, in txt2img
processed = processing.process_images(p)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 611, in process_images
res = process_images_inner(p)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 719, in process_images_inner
p.setup_conds()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 1097, in setup_conds
super().setup_conds()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 338, in setup_conds
self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, self.negative_prompts, self.steps self.step_multiplier, self.cached_uc)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 329, in get_conds_with_caching
cache[1] = function(shared.sd_model, required_prompts, steps)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\prompt_parser.py", line 143, in get_learned_conditioning
conds = model.get_learned_conditioning(texts)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 669, in get_learned_conditioning
c = self.cond_stage_model(c)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack_clip.py", line 229, in forward
z = self.process_tokens(tokens, multipliers)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack_clip.py", line 254, in process_tokens
z = self.encode_with_transformers(tokens)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack_clip.py", line 302, in encode_with_transformers
outputs = self.wrapped.transformer(input_ids=tokens, output_hidden_states=-opts.CLIP_stop_at_last_layers)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 811, in forward
return self.text_model(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 721, in forward
encoder_outputs = self.encoder(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, *kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 650, in forward
layer_outputs = encoder_layer(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 378, in forward
hidden_states = self.layer_norm1(hidden_states)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\normalization.py", line 190, in forward
return F.layer_norm(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\functional.py", line 2515, in layer_norm
return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled)
RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
@echo set COMMANDLINE_ARGS= --opt-sub-quad-attention --medvram --autolaunch
set COMMANDLINE_ARGS= --opt-sub-quad-attention --autolaunch
@echo git pull
call webui.bat
List of extensions
Hypernetwork-MonkeyPatch-Extension | https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension | main | f747420a | Fri Mar 3 12:39:40 2023 | unknown
-- | -- | -- | -- | -- | --
Hypernetwork-MonkeyPatch-Extension https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension main [f747420a](https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension/commit/f747420a275d187e52196305637bc22da7c2aa18) Fri Mar 3 12:39:40 2023 unknown
sd-webui-ar https://github.com/alemelis/sd-webui-ar.git main [9df49dc2](https://github.com/alemelis/sd-webui-ar/commit/9df49dc2d7da7333ac918fbce926c2370a3b8b53) Wed Apr 12 09:23:17 2023 unknown
sd-webui-aspect-ratio-helper https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git main [0bccd487](https://github.com/thomasasfk/sd-webui-aspect-ratio-helper/commit/0bccd48788e08fce844937c997ee7d213570be73) Sun May 28 20:31:15 2023 unknown
sd-webui-infinite-image-browsing https://github.com/zanllp/sd-webui-infinite-image-browsing.git main [3b0d45cd](https://github.com/zanllp/sd-webui-infinite-image-browsing/commit/3b0d45cdc1a49f891eeffb6de25045ae6c1f3382) Sat May 27 15:54:53 2023 unknown
sd_dreambooth_extension https://github.com/d8ahazard/sd_dreambooth_extension.git main [926ae204](https://github.com/d8ahazard/sd_dreambooth_extension/commit/926ae204ef5de17efca2059c334b6098492a0641) Fri Mar 31 15:12:45 2023 unknown
### Console logs
```Shell
https://pastebin.com/TUaL9uef
or
return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled)
RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'
```
### Additional information
There was an update when I started the webui-user.bat file, this broke the program for me. Dreambooth is not appearing as a tab in the GUI. I'm using an AMD 6800xt. I'm using the last version in a separate directory.
Is there an existing issue for this?
What happened?
I'm on windows 10 22h2. I'm using firefox.
Until this morning the generation of images was working. I have a backup install which still works. I have set it to not update ofcourse.
`set COMMANDLINE_ARGS= --opt-sub-quad-attention --medvram --autolaunch git pull venv "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\Scripts\Python.exe" fatal: No names found, cannot describe anything. Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version:
Commit hash: 0e4cbeb5318d1814a973509dfa45a6465f8719b5
Installing requirements
Installing sd-webui-infinite-image-browsing requirement: python-dotenv
Installing sd-webui-infinite-image-browsing requirement: Pillow
Error running install.py for extension J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension. Command: "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\Scripts\python.exe" "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\install.py" Error code: 1 stdout: No module 'xformers'. Proceeding without it. Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled If submitting an issue on github, please provide the full startup log for debugging purposes.
Initializing Dreambooth Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
Requirement installation exception:
WARNING: Ignoring invalid distribution -llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution - (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -0llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -1llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -2llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -3llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -4llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -5llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -6llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -7llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -8llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -9llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -illow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) Ignoring tensorboard: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment Ignoring tensorflow-macos: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment Ignoring tensorflow-metal: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment Requirement already satisfied: accelerate~=0.18.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (0.18.0) Requirement already satisfied: bitsandbytes==0.35.4 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 2)) (0.35.4) Collecting dadaptation~=1.5.0 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 3)) Using cached dadaptation-1.5-py3-none-any.whl Collecting diffusers~=0.14.0 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 4)) Using cached diffusers-0.14.0-py3-none-any.whl (737 kB) Collecting discord-webhook~=1.1.0 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 5)) Using cached discord_webhook-1.1.0-py3-none-any.whl (12 kB) Collecting fastapi~=0.94.1 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 6)) Using cached fastapi-0.94.1-py3-none-any.whl (56 kB) Collecting gitpython~=3.1.31 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 7)) Using cached GitPython-3.1.31-py3-none-any.whl (184 kB) Collecting lion-pytorch~=0.0.7 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 8)) Using cached lion_pytorch-0.0.8-py3-none-any.whl (4.5 kB) Collecting Pillow~=9.4.0 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 9)) Using cached Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB) Requirement already satisfied: tqdm~=4.64.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (4.64.1) Collecting transformers~=4.26.1 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 11)) Using cached transformers-4.26.1-py3-none-any.whl (6.3 MB) Collecting tensorboard==2.12.0 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) Using cached tensorboard-2.12.0-py3-none-any.whl (5.6 MB) Collecting tensorflow==2.12.0 (from -r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached tensorflow-2.12.0-cp310-cp310-win_amd64.whl (1.9 kB) Requirement already satisfied: absl-py>=0.4 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.4.0) Requirement already satisfied: grpcio>=1.48.2 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.54.2) Requirement already satisfied: google-auth<3,>=1.6.3 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.19.0) Collecting google-auth-oauthlib<0.5,>=0.4.1 (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB) Requirement already satisfied: markdown>=2.6.8 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.4.3) Requirement already satisfied: numpy>=1.12.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.23.5) Requirement already satisfied: protobuf>=3.19.6 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (4.23.2) Requirement already satisfied: requests<3,>=2.21.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.31.0) Requirement already satisfied: setuptools>=41.0.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (63.2.0) Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.7.0) Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.8.1) Requirement already satisfied: werkzeug>=1.0.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.3.4) Requirement already satisfied: wheel>=0.26 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.40.0) Collecting tensorflow-intel==2.12.0 (from tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached tensorflow_intel-2.12.0-cp310-cp310-win_amd64.whl (272.8 MB) Collecting astunparse>=1.6.0 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB) Requirement already satisfied: flatbuffers>=2.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (23.5.26) Collecting gast<=0.4.0,>=0.2.1 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached gast-0.4.0-py3-none-any.whl (9.8 kB) Collecting google-pasta>=0.1.1 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB) Collecting h5py>=2.9.0 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached h5py-3.8.0-cp310-cp310-win_amd64.whl (2.6 MB) Collecting jax>=0.3.15 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached jax-0.4.11-py3-none-any.whl Requirement already satisfied: libclang>=13.0.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (16.0.0) Collecting opt-einsum>=2.3.2 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB) Requirement already satisfied: packaging in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (23.1) Requirement already satisfied: six>=1.12.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.16.0) Requirement already satisfied: termcolor>=1.1.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.3.0) Requirement already satisfied: typing-extensions>=3.6.6 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (4.6.2) Requirement already satisfied: wrapt<1.15,>=1.11.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.14.1) Requirement already satisfied: tensorflow-estimator<2.13,>=2.12.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (2.12.0) Collecting keras<2.13,>=2.12.0 (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached keras-2.12.0-py2.py3-none-any.whl (1.7 MB) Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (0.31.0) Requirement already satisfied: psutil in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from accelerate~=0.18.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (5.9.5) Requirement already satisfied: pyyaml in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from accelerate~=0.18.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (6.0) Requirement already satisfied: torch>=1.4.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from accelerate~=0.18.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (2.0.0) Collecting importlib-metadata (from diffusers~=0.14.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 4)) Using cached importlib_metadata-6.6.0-py3-none-any.whl (22 kB) Requirement already satisfied: filelock in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from diffusers~=0.14.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (3.12.0) Requirement already satisfied: huggingface-hub>=0.10.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from diffusers~=0.14.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (0.14.1) Requirement already satisfied: regex!=2019.12.17 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from diffusers~=0.14.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2023.5.5) Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from fastapi~=0.94.1->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.10.8) Requirement already satisfied: starlette<0.27.0,>=0.26.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from fastapi~=0.94.1->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (0.26.1) Requirement already satisfied: gitdb<5,>=4.0.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from gitpython~=3.1.31->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (4.0.10) Requirement already satisfied: colorama in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from tqdm~=4.64.1->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 10)) (0.4.6) Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from transformers~=4.26.1->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 11)) (0.13.3) Requirement already satisfied: smmap<6,>=3.0.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from gitdb<5,>=4.0.1->gitpython~=3.1.31->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 7)) (5.0.0) Requirement already satisfied: cachetools<6.0,>=2.0.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (5.3.0) Requirement already satisfied: pyasn1-modules>=0.2.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.3.0) Requirement already satisfied: rsa<5,>=3.1.4 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (4.9) Requirement already satisfied: urllib3<2.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.26.16) Requirement already satisfied: requests-oauthlib>=0.7.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (1.3.1) Requirement already satisfied: fsspec in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from huggingface-hub>=0.10.0->diffusers~=0.14.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (2023.5.0) Requirement already satisfied: charset-normalizer<4,>=2 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.10) Requirement already satisfied: certifi>=2017.4.17 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from requests<3,>=2.21.0->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2023.5.7) Requirement already satisfied: anyio<5,>=3.4.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from starlette<0.27.0,>=0.26.1->fastapi~=0.94.1->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (3.6.2) Requirement already satisfied: sympy in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.12) Requirement already satisfied: networkx in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (3.1) Requirement already satisfied: jinja2 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from torch>=1.4.0->accelerate~=0.18.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (3.1.2) Requirement already satisfied: MarkupSafe>=2.1.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from werkzeug>=1.0.1->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (2.1.2) Requirement already satisfied: zipp>=0.5 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from importlib-metadata->diffusers~=0.14.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 4)) (3.15.0) Requirement already satisfied: sniffio>=1.1 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from anyio<5,>=3.4.0->starlette<0.27.0,>=0.26.1->fastapi~=0.94.1->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 6)) (1.3.0) Collecting ml-dtypes>=0.1.0 (from jax>=0.3.15->tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) Using cached ml_dtypes-0.1.0-cp310-cp310-win_amd64.whl (120 kB) Requirement already satisfied: scipy>=1.7 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from jax>=0.3.15->tensorflow-intel==2.12.0->tensorflow==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 15)) (1.10.1) Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (0.5.0) Requirement already satisfied: oauthlib>=3.0.0 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.12.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 14)) (3.2.2) Requirement already satisfied: mpmath>=0.19 in j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages (from sympy->torch>=1.4.0->accelerate~=0.18.0->-r J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt (line 1)) (1.3.0) WARNING: Ignoring invalid distribution -llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution - (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -0llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -1llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -2llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -3llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -4llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -5llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -6llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -7llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -8llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -9llow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -illow (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (j:\ai training\stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages) Installing collected packages: Pillow, opt-einsum, ml-dtypes, keras, importlib-metadata, h5py, google-pasta, gast, dadaptation, astunparse, jax, gitpython, discord-webhook, transformers, lion-pytorch, google-auth-oauthlib, fastapi, diffusers, tensorboard, tensorflow-intel, tensorflow Attempting uninstall: Pillow Found existing installation: Pillow 9.5.0 Uninstalling Pillow-9.5.0: Successfully uninstalled Pillow-9.5.0 ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\Lib\site-packages\~pil\_imaging.cp310-win_amd64.pyd' Check the permissions.
stderr: J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release warnings.warn( J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning:
import modules.textual_inversion.textual_inversion
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 17, in
from modules import shared, devices, sd_hijack, processing, sd_models, images, sd_samplers, sd_hijack_checkpoint
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 17, in
from modules.sd_hijack import model_hijack
ImportError: cannot import name 'model_hijack' from partially initialized module 'modules.sd_hijack' (most likely due to a circular import) (J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack.py)
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 frompytorch_lightning.utilities
instead. rank_zero_deprecation( loading stable diffusion model: ImportError Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_models.py", line 424, in get_sd_model load_model() File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_models.py", line 441, in load_model from modules import lowvram, sd_hijack File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack.py", line 5, inStable diffusion model failed to load Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\install.py", line 35, in
actual_install()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 41, in actual_install
install_requirements()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 87, in install_requirements
raise grepexc
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 75, in install_requirements
pip_install("-r", req_file)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\postinstall.py", line 53, in pip_install
output = subprocess.check_output(
File "J:\AI training\Python310\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "J:\AI training\Python310\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\Scripts\python.exe', '-m', 'pip', 'install', '-r', 'J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\requirements.txt']' returned non-zero exit status 1.
Launching Web UI with arguments: --opt-sub-quad-attention --autolaunch J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\pkgresources__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release warnings.warn( No module 'xformers'. Proceeding without it. Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled Loading weights [2935708f35] from J:\AI training\Stable diffusion\stable-diffusion-webui-directml\models\Stable-diffusion\hardblend.safetensors Creating model from config: J:\AI training\Stable diffusion\stable-diffusion-webui-directml\configs\v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Error verifying pickled file from J:\AI training\Stable diffusion\stable-diffusion-webui-directml\embeddings\opulent beauty.pt: Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 136, in load_with_extra check_pt(filename, extra_handler) File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 94, in check_pt unpickler.load() File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch_utils.py", line 266, in _rebuild_device_tensor_from_numpy tensor = torch.from_numpy(data).to(dtype=dtype, device=device) NotImplementedError: Could not run 'aten::empty_strided' with arguments from the 'PrivateUse1' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::empty_strided' is only available for these backends: [CPU, Meta, QuantizedCPU, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMeta, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradNestedTensor, Tracer, AutocastCPU, AutocastCUDA, FuncTorchBatched, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PythonDispatcher].
CPU: registered at aten\src\ATen\RegisterCPU.cpp:31034 [kernel] Meta: registered at aten\src\ATen\RegisterMeta.cpp:26824 [kernel] QuantizedCPU: registered at aten\src\ATen\RegisterQuantizedCPU.cpp:929 [kernel] BackendSelect: registered at aten\src\ATen\RegisterBackendSelect.cpp:726 [kernel] Python: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:144 [backend fallback] FuncTorchDynamicLayerBackMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:491 [backend fallback] Functionalize: registered at ..\aten\src\ATen\FunctionalizeFallbackKernel.cpp:280 [backend fallback] Named: registered at ..\aten\src\ATen\core\NamedRegistrations.cpp:7 [backend fallback] Conjugate: fallthrough registered at ..\aten\src\ATen\ConjugateFallback.cpp:21 [kernel] Negative: fallthrough registered at ..\aten\src\ATen\native\NegateFallback.cpp:23 [kernel] ZeroTensor: fallthrough registered at ..\aten\src\ATen\ZeroTensorFallback.cpp:90 [kernel] ADInplaceOrView: fallthrough registered at ..\aten\src\ATen\core\VariableFallbackKernel.cpp:63 [backend fallback] AutogradOther: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradCPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradCUDA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradHIP: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradXLA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradMPS: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradIPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradXPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradHPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradVE: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradLazy: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradMeta: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradMTIA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradPrivateUse1: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradPrivateUse2: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradPrivateUse3: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradNestedTensor: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] Tracer: registered at ..\torch\csrc\autograd\generated\TraceType_2.cpp:16726 [kernel] AutocastCPU: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:487 [backend fallback] AutocastCUDA: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:354 [backend fallback] FuncTorchBatched: registered at ..\aten\src\ATen\functorch\LegacyBatchingRegistrations.cpp:815 [backend fallback] FuncTorchVmapMode: fallthrough registered at ..\aten\src\ATen\functorch\VmapModeRegistrations.cpp:28 [backend fallback] Batched: registered at ..\aten\src\ATen\LegacyBatchingRegistrations.cpp:1073 [backend fallback] VmapMode: fallthrough registered at ..\aten\src\ATen\VmapModeRegistrations.cpp:33 [backend fallback] FuncTorchGradWrapper: registered at ..\aten\src\ATen\functorch\TensorWrapper.cpp:210 [backend fallback] PythonTLSSnapshot: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:152 [backend fallback] FuncTorchDynamicLayerFrontMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:487 [backend fallback] PythonDispatcher: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:148 [backend fallback]
The file may be malicious, so the program is not going to read it. You can skip this check with --disable-safe-unpickle commandline argument.
Error loading embedding opulent beauty.pt: Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 208, in load_from_dir self.load_from_file(fullfn, fn) File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 167, in load_from_file if 'string_to_param' in data: TypeError: argument of type 'NoneType' is not iterable
Textual inversion embeddings loaded(0): Model loaded in 1.8s (load weights from disk: 0.1s, create model: 0.3s, apply weights to model: 0.5s, apply half(): 0.5s, load textual inversion embeddings: 0.3s). Exception importing api Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\api.py", line 27, in
from dreambooth.dataclasses.db_config import from_file, DreamboothConfig
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in
from dreambooth.utils.image_utils import get_scheduler_names # noqa
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in
from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'
Error loading script: main.py
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\main.py", line 7, in
from dreambooth.dataclasses.db_config import (
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\dataclasses\db_config.py", line 10, in
from dreambooth.utils.image_utils import get_scheduler_names # noqa
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\dreambooth\utils\image_utils.py", line 11, in
from diffusers.schedulers import KarrasDiffusionSchedulers
ModuleNotFoundError: No module named 'diffusers'
Applying optimization: sub-quadratic... done. Running on local URL: http://127.0.0.1:7860
To create a public link, set
share=True
inlaunch()
. Error executing callback app_started_callback for J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\api.py Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\script_callbacks.py", line 125, in app_started_callback c.callback(demo, app) File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\extensions\sd_dreambooth_extension\scripts\api.py", line 524, in dreambooth_api model_cfg: DreamboothConfig = Body(description="The config to save"), NameError: name 'DreamboothConfig' is not definedStartup time: 6.5s (import torch: 1.3s, import gradio: 0.9s, import ldm: 0.4s, other imports: 0.6s, load scripts: 2.8s, create ui: 0.3s, gradio launch: 0.2s). Error verifying pickled file from J:\AI training\Stable diffusion\stable-diffusion-webui-directml\embeddings\opulent beauty.pt: Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 136, in load_with_extra check_pt(filename, extra_handler) File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\safe.py", line 94, in check_pt unpickler.load() File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch_utils.py", line 266, in _rebuild_device_tensor_from_numpy tensor = torch.from_numpy(data).to(dtype=dtype, device=device) NotImplementedError: Could not run 'aten::empty_strided' with arguments from the 'PrivateUse1' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::empty_strided' is only available for these backends: [CPU, Meta, QuantizedCPU, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMeta, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradNestedTensor, Tracer, AutocastCPU, AutocastCUDA, FuncTorchBatched, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PythonDispatcher].
CPU: registered at aten\src\ATen\RegisterCPU.cpp:31034 [kernel] Meta: registered at aten\src\ATen\RegisterMeta.cpp:26824 [kernel] QuantizedCPU: registered at aten\src\ATen\RegisterQuantizedCPU.cpp:929 [kernel] BackendSelect: registered at aten\src\ATen\RegisterBackendSelect.cpp:726 [kernel] Python: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:144 [backend fallback] FuncTorchDynamicLayerBackMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:491 [backend fallback] Functionalize: registered at ..\aten\src\ATen\FunctionalizeFallbackKernel.cpp:280 [backend fallback] Named: registered at ..\aten\src\ATen\core\NamedRegistrations.cpp:7 [backend fallback] Conjugate: fallthrough registered at ..\aten\src\ATen\ConjugateFallback.cpp:21 [kernel] Negative: fallthrough registered at ..\aten\src\ATen\native\NegateFallback.cpp:23 [kernel] ZeroTensor: fallthrough registered at ..\aten\src\ATen\ZeroTensorFallback.cpp:90 [kernel] ADInplaceOrView: fallthrough registered at ..\aten\src\ATen\core\VariableFallbackKernel.cpp:63 [backend fallback] AutogradOther: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradCPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradCUDA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradHIP: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradXLA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradMPS: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradIPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradXPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradHPU: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradVE: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradLazy: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradMeta: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradMTIA: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradPrivateUse1: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradPrivateUse2: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradPrivateUse3: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] AutogradNestedTensor: registered at ..\torch\csrc\autograd\generated\VariableType_2.cpp:17472 [autograd kernel] Tracer: registered at ..\torch\csrc\autograd\generated\TraceType_2.cpp:16726 [kernel] AutocastCPU: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:487 [backend fallback] AutocastCUDA: fallthrough registered at ..\aten\src\ATen\autocast_mode.cpp:354 [backend fallback] FuncTorchBatched: registered at ..\aten\src\ATen\functorch\LegacyBatchingRegistrations.cpp:815 [backend fallback] FuncTorchVmapMode: fallthrough registered at ..\aten\src\ATen\functorch\VmapModeRegistrations.cpp:28 [backend fallback] Batched: registered at ..\aten\src\ATen\LegacyBatchingRegistrations.cpp:1073 [backend fallback] VmapMode: fallthrough registered at ..\aten\src\ATen\VmapModeRegistrations.cpp:33 [backend fallback] FuncTorchGradWrapper: registered at ..\aten\src\ATen\functorch\TensorWrapper.cpp:210 [backend fallback] PythonTLSSnapshot: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:152 [backend fallback] FuncTorchDynamicLayerFrontMode: registered at ..\aten\src\ATen\functorch\DynamicLayer.cpp:487 [backend fallback] PythonDispatcher: registered at ..\aten\src\ATen\core\PythonFallbackKernel.cpp:148 [backend fallback]
The file may be malicious, so the program is not going to read it. You can skip this check with --disable-safe-unpickle commandline argument.
Error loading embedding opulent beauty.pt: Traceback (most recent call last): File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 208, in load_from_dir self.load_from_file(fullfn, fn) File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 167, in load_from_file if 'string_to_param' in data: TypeError: argument of type 'NoneType' is not iterable
Error completing request Arguments: ('task(5jryh3tiql6etw2)', '', '', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], 0, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0) {}
Traceback (most recent call last):
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\call_queue.py", line 57, in f
res = list(func(*args, kwargs))
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\call_queue.py", line 37, in f
res = func(*args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\txt2img.py", line 57, in txt2img
processed = processing.process_images(p)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 611, in process_images
res = process_images_inner(p)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 719, in process_images_inner
p.setup_conds()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 1097, in setup_conds
super().setup_conds()
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 338, in setup_conds
self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, self.negative_prompts, self.steps self.step_multiplier, self.cached_uc)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\processing.py", line 329, in get_conds_with_caching
cache[1] = function(shared.sd_model, required_prompts, steps)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\prompt_parser.py", line 143, in get_learned_conditioning
conds = model.get_learned_conditioning(texts)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 669, in get_learned_conditioning
c = self.cond_stage_model(c)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack_clip.py", line 229, in forward
z = self.process_tokens(tokens, multipliers)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack_clip.py", line 254, in process_tokens
z = self.encode_with_transformers(tokens)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\modules\sd_hijack_clip.py", line 302, in encode_with_transformers
outputs = self.wrapped.transformer(input_ids=tokens, output_hidden_states=-opts.CLIP_stop_at_last_layers)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 811, in forward
return self.text_model(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 721, in forward
encoder_outputs = self.encoder(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, *kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 650, in forward
layer_outputs = encoder_layer(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(args, kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\models\clip\modeling_clip.py", line 378, in forward
hidden_states = self.layer_norm1(hidden_states)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\normalization.py", line 190, in forward
return F.layer_norm(
File "J:\AI training\Stable diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\functional.py", line 2515, in layer_norm
return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled)
RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'
`
Steps to reproduce the problem
What should have happened?
It should have generated an image
Commit where the problem happens
https://google.com/search?q=2935708f35c0204f14be0311007907fb95dfc32ba7f04e83fda323d4145a13a9
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Other GPUs
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
Hypernetwork-MonkeyPatch-Extension | https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension | main | f747420a | Fri Mar 3 12:39:40 2023 | unknown -- | -- | -- | -- | -- | -- Hypernetwork-MonkeyPatch-Extension https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension main [f747420a](https://github.com/aria1th/Hypernetwork-MonkeyPatch-Extension/commit/f747420a275d187e52196305637bc22da7c2aa18) Fri Mar 3 12:39:40 2023 unknown sd-webui-ar https://github.com/alemelis/sd-webui-ar.git main [9df49dc2](https://github.com/alemelis/sd-webui-ar/commit/9df49dc2d7da7333ac918fbce926c2370a3b8b53) Wed Apr 12 09:23:17 2023 unknown sd-webui-aspect-ratio-helper https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git main [0bccd487](https://github.com/thomasasfk/sd-webui-aspect-ratio-helper/commit/0bccd48788e08fce844937c997ee7d213570be73) Sun May 28 20:31:15 2023 unknown sd-webui-infinite-image-browsing https://github.com/zanllp/sd-webui-infinite-image-browsing.git main [3b0d45cd](https://github.com/zanllp/sd-webui-infinite-image-browsing/commit/3b0d45cdc1a49f891eeffb6de25045ae6c1f3382) Sat May 27 15:54:53 2023 unknown sd_dreambooth_extension https://github.com/d8ahazard/sd_dreambooth_extension.git main [926ae204](https://github.com/d8ahazard/sd_dreambooth_extension/commit/926ae204ef5de17efca2059c334b6098492a0641) Fri Mar 31 15:12:45 2023 unknown ### Console logs ```Shell https://pastebin.com/TUaL9uef or return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled) RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' ``` ### Additional information There was an update when I started the webui-user.bat file, this broke the program for me. Dreambooth is not appearing as a tab in the GUI. I'm using an AMD 6800xt. I'm using the last version in a separate directory.