Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diffusers Issue #205

Open
ldavis9000aws opened this issue Nov 6, 2024 · 1 comment
Open

Diffusers Issue #205

ldavis9000aws opened this issue Nov 6, 2024 · 1 comment

Comments

@ldavis9000aws
Copy link

ldavis9000aws commented Nov 6, 2024

I've went through the install and am receiving the following error when I run this command for inference. The "pretrained_models" directory was created and populated without an issue prior to running inference.

python scripts/inference.py --source_image examples/reference_images/1.jpg --driving_audio examples/driving_audios/1.wav

Traceback (most recent call last):
File "/home/ubuntu/hallo/scripts/inference.py", line 35, in
from diffusers import AutoencoderKL, DDIMScheduler
File "/home/ubuntu/miniconda3/envs/hallo/lib/python3.10/site-packages/diffusers/init.py", line 5, in
from .utils import (
File "/home/ubuntu/miniconda3/envs/hallo/lib/python3.10/site-packages/diffusers/utils/init.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/home/ubuntu/miniconda3/envs/hallo/lib/python3.10/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/ubuntu/miniconda3/envs/hallo/lib/python3.10/site-packages/huggingface_hub/init.py)

Here is my CUBA driver version:

(hallo) ubuntu@ip-10-0-12-195:~/hallo$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
(hallo) ubuntu@ip-10-0-12-195:~/hallo$

piplist.txt

@mudassirkhan19
Copy link

Downgrading hf hub should work:
easydiffusion/easydiffusion#1851 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants