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

ImportError: cannot import name 'cached_download' from 'huggingface_hub' #67

Open
Daliuq opened this issue Nov 28, 2024 · 1 comment
Open

Comments

@Daliuq
Copy link

Daliuq commented Nov 28, 2024

ImportError: cannot import name 'cached_download' from 'huggingface_hub'
image

Description:
I encountered an ImportError when trying to import cached_download from the huggingface_hub package. This function is required for model caching and downloading, but it seems to be unavailable in the current version of the library.

Steps to Reproduce:

  1. Install huggingface_hub version 0.25.2.
  2. update you requirements.txt with huggingface_hub==0.25.2
@Daliuq
Copy link
Author

Daliuq commented Nov 28, 2024

pip install huggingface_hub==0.25.2

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

1 participant