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.txt locking huggingface-hub to any version
- Installation will default to
huggingface-hub==0.26.2 or 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
Description
At present HuggingFace Hub is locked at
0.25.0inrequirements.txtI had to lock it at an old version because if we allow it to update then it breaks the install since the method
cached_downloadhas been deprecated and we get this error on all platforms.Environment
Provide details regarding the operating system, toolchain, and environment.
How to Reproduce
requirements.txtlockinghuggingface-hubto any versionhuggingface-hub==0.26.2or 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