Skip to content

Huggingface hub problem. #24

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

Open
SiddharthGuptaPyDev opened this issue Oct 28, 2024 · 2 comments
Open

Huggingface hub problem. #24

SiddharthGuptaPyDev opened this issue Oct 28, 2024 · 2 comments

Comments

@SiddharthGuptaPyDev
Copy link

I'm getting this error when I try to run the FireRedTTS using the code given in the README.md (I think this problem is related to huggingface-hub version, so can you please include the huggingface-hub version also in the requirement,txt used to run it?) -

Traceback (most recent call last):
File "/teamspace/studios/this studio/FireRedTTS/test.py", line 3, in <module>
from fireredtts.fireredtts import FireRedTTS
File "/teamspace/studios/this studio/FireRedTTS/fireredtts/fireredtts.py", line 4, in <module>
from fireredtts.modules.gpt.gpt import GPT
File "/teamspace/studios/this studio/FireRedTTS/fireredtts/modules/__init__.py", line 5, in <module>
from fireredtts.modules.flow import get_flow_frontend, Melspectrogram Extractor
File "/teamspace/studios/this studio/FireRedTTS/fireredtts/modules/flow/__init__.py", line 4, in <module>
from fireredtts.modules.flow.decoder import ConditionalCFM, ConditionalDecoder
File "/teamspace/studios/this studio/FireRedTTS/fireredtts/modules/flow/decoder.py", line 7, in <module>
from diffusers.models.activations import get_activation
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.18/site-packages/diffusers/__init__.py", line 5, in <module>
from .utils import (
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.18/site-packages/diffusers/utils/__init__.py", line 38, in <module>
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.18/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in <module>
from huggingface hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface hub (/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/huggingface_hub/__init__.py)
@liuhui881125
Copy link

easydiffusion/easydiffusion#1851

@SiddharthGuptaPyDev
Copy link
Author

easydiffusion/easydiffusion#1851

Thank you so much for giving me the link! Still better than most of the Indian repos where you won't get any response even after 10 years! 👍

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