You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a1111 1.6,Ubuntu 22
I have tried many times but failed to install successfully. Here is the error message:
Python 3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]
Version: v1.6.1
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
/root/miniconda3/lib/python3.10/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 /root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension.
*** Command: "/root/miniconda3/bin/python" "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/install.py"
*** Error code: 1
*** stdout: If submitting an issue on github, please provide the full startup log for debugging purposes.
*** stderr: [2023-12-08 22:52:07,060][INFO][torch.distributed.nn.jit.instantiator] - Created a temporary directory at /tmp/tmpg497mc_z
*** [2023-12-08 22:52:07,060][INFO][torch.distributed.nn.jit.instantiator] - Writing /tmp/tmpg497mc_z/_remote_module_non_scriptable.py
*** /root/miniconda3/lib/python3.10/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(
*** [2023-12-08 22:52:08,683][DEBUG][git.cmd] - Popen(['git', 'version'], cwd=/root/xab/stable-diffusion-webui, universal_newlines=False, shell=None, istream=None)
*** [2023-12-08 22:52:08,688][DEBUG][git.cmd] - Popen(['git', 'version'], cwd=/root/xab/stable-diffusion-webui, universal_newlines=False, shell=None, istream=None)
*** [2023-12-08 22:52:08,698][DEBUG][git.cmd] - Popen(['git', 'cat-file', '--batch-check'], cwd=/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension, universal_newlines=False, shell=None, istream=)
*** Traceback (most recent call last):
*** File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/install.py", line 35, in
*** actual_install()
*** File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/postinstall.py", line 45, in actual_install
*** check_bitsandbytes()
*** File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/postinstall.py", line 243, in check_bitsandbytes
*** if "0.41.2" not in bitsandbytes_version:
*** TypeError: argument of type 'NoneType' is not iterable
Launching Web UI with arguments: --port 6006 --gradio-auth aaa:1111111 --xformers --medvram-sdxl --opt-sdp-attention --opt-sdp-no-mem-attention --opt-split-attention --opt-channelslast --disable-safe-unpickle --enable-insecure-extension-access --ckpt-dir /root/ctem/ --no-gradio-queue
2023-12-08 22:52:16,176 - ControlNet - INFO - ControlNet v1.1.419
ControlNet preprocessor location: /root/xab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-12-08 22:52:16,306 - ControlNet - INFO - ControlNet v1.1.419
Exception importing api
Traceback (most recent call last):
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/scripts/api.py", line 32, in
from dreambooth.ui_functions import create_model, generate_samples,
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/ui_functions.py", line 28, in
from dreambooth.sd_to_diff import extract_checkpoint
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/sd_to_diff.py", line 24, in
from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
ImportError: cannot import name 'StableDiffusionXLPipeline' from 'diffusers' (/root/miniconda3/lib/python3.10/site-packages/diffusers/init.py)
*** Error loading script: main.py
Traceback (most recent call last):
File "/root/xab/stable-diffusion-webui/modules/scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/root/xab/stable-diffusion-webui/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 "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/scripts/main.py", line 20, in
from dreambooth.ui_functions import (
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/ui_functions.py", line 28, in
from dreambooth.sd_to_diff import extract_checkpoint
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/sd_to_diff.py", line 24, in
from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
ImportError: cannot import name 'StableDiffusionXLPipeline' from 'diffusers' (/root/miniconda3/lib/python3.10/site-packages/diffusers/init.py)
How should I proceed to complete the installation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
a1111 1.6,Ubuntu 22
I have tried many times but failed to install successfully. Here is the error message:
Python 3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]
Version: v1.6.1
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
/root/miniconda3/lib/python3.10/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 frompytorch_lightning.utilities
instead.rank_zero_deprecation(
*** Error running install.py for extension /root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension.
*** Command: "/root/miniconda3/bin/python" "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/install.py"
*** Error code: 1
*** stdout: If submitting an issue on github, please provide the full startup log for debugging purposes.
*** Initializing Dreambooth
*** Dreambooth revision: 1cf7267
*** Checking xformers...
*** Checking bitsandbytes...
*** Checking bitsandbytes (Linux)
*** stderr: [2023-12-08 22:52:07,060][INFO][torch.distributed.nn.jit.instantiator] - Created a temporary directory at /tmp/tmpg497mc_z
*** [2023-12-08 22:52:07,060][INFO][torch.distributed.nn.jit.instantiator] - Writing /tmp/tmpg497mc_z/_remote_module_non_scriptable.py
*** /root/miniconda3/lib/python3.10/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 frompytorch_lightning.utilities
instead.*** rank_zero_deprecation(
*** [2023-12-08 22:52:08,683][DEBUG][git.cmd] - Popen(['git', 'version'], cwd=/root/xab/stable-diffusion-webui, universal_newlines=False, shell=None, istream=None)
*** [2023-12-08 22:52:08,688][DEBUG][git.cmd] - Popen(['git', 'version'], cwd=/root/xab/stable-diffusion-webui, universal_newlines=False, shell=None, istream=None)
*** [2023-12-08 22:52:08,698][DEBUG][git.cmd] - Popen(['git', 'cat-file', '--batch-check'], cwd=/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension, universal_newlines=False, shell=None, istream=)
*** Traceback (most recent call last):
*** File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/install.py", line 35, in
*** actual_install()
*** File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/postinstall.py", line 45, in actual_install
*** check_bitsandbytes()
*** File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/postinstall.py", line 243, in check_bitsandbytes
*** if "0.41.2" not in bitsandbytes_version:
*** TypeError: argument of type 'NoneType' is not iterable
Launching Web UI with arguments: --port 6006 --gradio-auth aaa:1111111 --xformers --medvram-sdxl --opt-sdp-attention --opt-sdp-no-mem-attention --opt-split-attention --opt-channelslast --disable-safe-unpickle --enable-insecure-extension-access --ckpt-dir /root/ctem/ --no-gradio-queue
2023-12-08 22:52:16,176 - ControlNet - INFO - ControlNet v1.1.419
ControlNet preprocessor location: /root/xab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-12-08 22:52:16,306 - ControlNet - INFO - ControlNet v1.1.419
Exception importing api
Traceback (most recent call last):
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/scripts/api.py", line 32, in
from dreambooth.ui_functions import create_model, generate_samples,
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/ui_functions.py", line 28, in
from dreambooth.sd_to_diff import extract_checkpoint
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/sd_to_diff.py", line 24, in
from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
ImportError: cannot import name 'StableDiffusionXLPipeline' from 'diffusers' (/root/miniconda3/lib/python3.10/site-packages/diffusers/init.py)
*** Error loading script: main.py
Traceback (most recent call last):
File "/root/xab/stable-diffusion-webui/modules/scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/root/xab/stable-diffusion-webui/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 "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/scripts/main.py", line 20, in
from dreambooth.ui_functions import (
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/ui_functions.py", line 28, in
from dreambooth.sd_to_diff import extract_checkpoint
File "/root/xab/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/sd_to_diff.py", line 24, in
from diffusers import StableDiffusionXLPipeline, StableDiffusionPipeline
ImportError: cannot import name 'StableDiffusionXLPipeline' from 'diffusers' (/root/miniconda3/lib/python3.10/site-packages/diffusers/init.py)
How should I proceed to complete the installation?
Beta Was this translation helpful? Give feedback.
All reactions