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
Hey there, maintainer of huggingface_hub here. Sorry for all the trouble this breaking change introduced. The best
-and future proof- solution to fix this is to upgrade diffusers version to a more recent version (>=0.29.0).
pip install "diffusers>=0.29.0"
This fixed version dates back to June 2024. The issue with pinning huggingface_hub to an old version is that it might conflict with future versions of diffusers/transformers.
Hope this will prove useful 🙏
Wauplin
added a commit
to Wauplin/LECO
that referenced
this issue
Jan 15, 2025
As mentioned in p1atdev#44 (comment), it is more future-proof to upgrade `diffusers` version rather than downgrading `huggingface_hub` to an old one. This will also fix the `cannot import name 'cached_download' from 'huggingface_hub'` issue without relying on outdated packages.
I can't run train_lora.py and get this error.
My solution was appending huggingface-hub==0.25.2 into the requirements.txt.
huggingface/huggingface_hub#2617
The text was updated successfully, but these errors were encountered: