You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present HuggingFace Hub is locked at 0.25.0 in requirements.txt
I had to lock it at an old version because if we allow it to update then it breaks the install since the method cached_download has been deprecated and we get this error on all platforms.
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/tmp/harmony/venv/lib/python3.11/site-packages/huggingface_hub/__init__.py)
Environment
Provide details regarding the operating system, toolchain, and environment.
Error ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/tmp/harmony/venv/lib/python3.11/site-packages/huggingface_hub/__init__.py)
Expected Behavior
Update the code in Harmony so that it will work with a newer version of this dependency
The text was updated successfully, but these errors were encountered:
Description
At present HuggingFace Hub is locked at
0.25.0
inrequirements.txt
I had to lock it at an old version because if we allow it to update then it breaks the install since the method
cached_download
has been deprecated and we get this error on all platforms.Environment
Provide details regarding the operating system, toolchain, and environment.
How to Reproduce
requirements.txt
lockinghuggingface-hub
to any versionhuggingface-hub==0.26.2
or whatever is currently most recent version on PypiImportError: cannot import name 'cached_download' from 'huggingface_hub' (/tmp/harmony/venv/lib/python3.11/site-packages/huggingface_hub/__init__.py)
Expected Behavior
Update the code in Harmony so that it will work with a newer version of this dependency
The text was updated successfully, but these errors were encountered: