stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Deepdanbooru Interogation fails with ImportError [Bug]:
Is there an existing issue for this?
- [x] I have searched the existing issues and checked the recent builds/commits
What happened?
Ran from https://colab.research.google.com/github/ddPn08/stable-diffusion-webui-colab/blob/main/automatic1111.ipynb Deepbooru Interrogation causes
ImportError: /usr/local/envs/automatic/lib/python3.10/site-packages/torch/lib/libtorch_cuda_cpp.so: symbol cudaGraphRetainUserObject version libcudart.so.11.0 not defined in file libcudart.so.11.0 with link time reference
Steps to reproduce the problem
- Enable deepdanbooru
- Generate or upload an image to img2img
- Click "Interrogate DeepBooru"
What should have happened?
I should have gotten a description.
Commit where the problem happens
Commit hash: 7ba3923d5b494b7756d0b12f33acb3716d830b9a
What platforms do you use to access UI ?
Other/Cloud
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
--ckpt-dir /content/drive/MyDrive/AI/models
--ui-config-file /content/drive/MyDrive/AI/automatic1111/config/ui-config.json
--ui-settings-file /content/drive/MyDrive/AI/automatic1111/config/config.json
--styles-file /content/drive/MyDrive/AI/automatic1111/config/styles.csv
--deepdanbooru
--xformers
--share
--gradio-auth username:password
--enable-console-prompts
Additional information, context and logs
Process SpawnProcess-2:
Traceback (most recent call last):
File "/usr/local/envs/automatic/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/local/envs/automatic/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/content/stable-diffusion-webui/modules/deepbooru.py", line 35, in deepbooru_process
model, tags = get_deepbooru_tags_model()
File "/content/stable-diffusion-webui/modules/deepbooru.py", line 96, in get_deepbooru_tags_model
from basicsr.utils.download_util import load_file_from_url
File "/usr/local/envs/automatic/lib/python3.10/site-packages/basicsr/__init__.py", line 3, in <module>
from .archs import *
File "/usr/local/envs/automatic/lib/python3.10/site-packages/basicsr/archs/__init__.py", line 5, in <module>
from basicsr.utils import get_root_logger, scandir
File "/usr/local/envs/automatic/lib/python3.10/site-packages/basicsr/utils/__init__.py", line 1, in <module>
from .color_util import bgr2ycbcr, rgb2ycbcr, rgb2ycbcr_pt, ycbcr2bgr, ycbcr2rgb
File "/usr/local/envs/automatic/lib/python3.10/site-packages/basicsr/utils/color_util.py", line 2, in <module>
import torch
File "/usr/local/envs/automatic/lib/python3.10/site-packages/torch/__init__.py", line 202, in <module>
from torch._C import * # noqa: F403
ImportError: /usr/local/envs/automatic/lib/python3.10/site-packages/torch/lib/libtorch_cuda_cpp.so: symbol cudaGraphRetainUserObject version libcudart.so.11.0 not defined in file libcudart.so.11.0 with link time reference
This is my notebook problem. Fixed just now. https://github.com/ddPn08/automatic1111-colab/issues/6