-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Description
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.
How to Reproduce
- Clone Harmony as at this commit: 3de5b8c
- There is nothing in
requirements.txtlockinghuggingface-hubto any version - Installation will default to
huggingface-hub==0.26.2or whatever is currently most recent version on Pypi - 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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers