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
sybrenjansen
changed the title
New huggingface-hub causes ImportError
Huggingface-hub 0.26.0 causes ImportError 'url_to_filename' from 'huggingface_hub.file_download' when import 'LoRAConfig'
Oct 21, 2024
Environment info
adapters
version: 1.0.0transformers
version: 4.43.4Information
When importing
from adapters import LoRAConfig
I get the following error:From looking at the release notes of huggingface-hub, the
url_to_filename
function has been removed and you should use a different function.I expect that this will be an issue on different locations in the repo as well.
To reproduce
Steps to reproduce the behavior:
pip install -U adapters transformers huggingface-hub
python -c "from adapters import LoRAConfig"
Giv
Expected behavior
The import statement shouldn't throw an error, but import as normal.
The text was updated successfully, but these errors were encountered: