d8ahazard / sd_dreambooth_extension

Other
1.86k stars 282 forks source link

[Bug]: loading extensions sd_dreambooth_extension #1419

Closed lckj2009 closed 9 months ago

lckj2009 commented 9 months ago

Is there an existing issue for this?

What happened?

(SDweb) root@ecm-a39a:~/stable-diffusion-webui# python launch.py --listen --device-id 1 --xformers --disable-safe-unpickle --enable-insecure-extension-access Python 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0] Version: v1.6.0 Commit hash: 5ef669de080814067961f28357256e8fe27544f4 /root/anaconda3/envs/SDweb/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/stable-diffusion-webui/extensions/sd_dreambooth_extension. Command: "/root/anaconda3/envs/SDweb/bin/python" "/root/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: 113708fdaab97ff905c646b92c9a1bd17af8941f Checking xformers... Checking bitsandbytes... *** Checking bitsandbytes (Linux)


stderr: [2023-12-22 15:56:26,424][INFO][torch.distributed.nn.jit.instantiator] - Created a temporary directory at /tmp/tmpce4n9b26 [2023-12-22 15:56:26,425][INFO][torch.distributed.nn.jit.instantiator] - Writing /tmp/tmpce4n9b26/_remote_module_non_scriptable.py /root/anaconda3/envs/SDweb/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-22 15:56:29,260][DEBUG][git.cmd] - Popen(['git', 'version'], cwd=/root/stable-diffusion-webui, universal_newlines=False, shell=None, istream=None) [2023-12-22 15:56:29,262][DEBUG][git.cmd] - Popen(['git', 'version'], cwd=/root/stable-diffusion-webui, universal_newlines=False, shell=None, istream=None) [2023-12-22 15:56:29,265][DEBUG][git.cmd] - Popen(['git', 'cat-file', '--batch-check'], cwd=/root/stable-diffusion-webui/extensions/sd_dreambooth_extension, universal_newlines=False, shell=None, istream=) Traceback (most recent call last): File "/root/stable-diffusion-webui/extensions/sd_dreambooth_extension/install.py", line 35, in actual_install() File "/root/stable-diffusion-webui/extensions/sd_dreambooth_extension/postinstall.py", line 45, in actual_install check_bitsandbytes() File "/root/stable-diffusion-webui/extensions/sd_dreambooth_extension/postinstall.py", line 242, in check_bitsandbytes if "0.41.2" not in bitsandbytes_version: *** TypeError: argument of type 'NoneType' is not iterable

Steps to reproduce the problem

SD startup error reported

Commit and libraries

Read SD, uncertain version

Command Line Arguments

--listen --device-id 1 --xformers --disable-safe-unpickle --enable-insecure-extension-access

Console logs

As shown in the above picture

Additional information

No response

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days