Open Zovya opened 1 year ago
it looks like it's trying to import tensorflow, which shouldn't be necessary for this repo. maybe you have an old version of tf installed? try uninstalling that
it looks like it's trying to import tensorflow, which shouldn't be necessary for this repo. maybe you have an old version of tf installed? try uninstalling that
I noticed a tf environment when I was listing those. didn't know what that was for. I'll uninstall
it looks like it's trying to import tensorflow, which shouldn't be necessary for this repo. maybe you have an old version of tf installed? try uninstalling that
ok, that cut it in half. I went through the same process of installation and tried to run the script again and got this:
Traceback (most recent call last):
File "/home/vhey/deepfloyd/txt2img.py", line 1, in <module>
from diffusers import DiffusionPipeline
File "/home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/diffusers/__init__.py", line 3, in <module>
from .configuration_utils import ConfigMixin
File "/home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 34, in <module>
from .utils import (
File "/home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/diffusers/utils/__init__.py", line 21, in <module>
from .accelerate_utils import apply_forward_hook
File "/home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/diffusers/utils/accelerate_utils.py", line 24, in <module>
import accelerate
File "/home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/accelerate/__init__.py", line 3, in <module>
from .accelerator import Accelerator
File "/home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/accelerate/accelerator.py", line 28, in <module>
import torch
File "/home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/torch/__init__.py", line 229, in <module>
from torch._C import * # noqa: F403
ImportError: /home/vhey/miniconda3/envs/deepfloyd/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so: undefined symbol: cudaGraphDebugDotPrint, version libcudart.so.11.0
did you install cuda toolkit and cudnn? i believe those are needed, but im not entirely sure
did you install cuda toolkit and cudnn? i believe those are needed, but im not entirely sure
I did have. But the install probably wasn't good. I installed kernel headers first and reinstalled cuda tools. that worked
Thanks for the pointers!
Manjaro Linux, 4090, amd cpu. I created a deepfloyd env python=3.10, activated it pip install -U huggingface_hub diffusers transformers safetensors sentencepiece accelerate bitsandbytes torch started python and got the token from huggingface created the script file and ran it. got these errors:
Can someone just point me in the right direction?