Open jacksonkr opened 1 week ago
same issue. use 0.25.2 instead.
pip install --upgrade huggingface_hub==0.25.2
I tested on my own environment and found that simply upgraging all the related packages can solve the problem:
pip install --upgrade huggingface-hub==0.26.2 transformers==4.46.1 tokenizers==0.20.1 diffusers==0.31.0
On both 0.25.2 and 0.26.2 (I tried both suggestions) I'm still left with similar output ending in
Repository Not Found for url: https://huggingface.co/api/models/cached_download/revision/main.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
If I'm not mistaken, cached_download
has been entirely removed from huggingface regardless of cli version.
Hi, everyone just locate the "cached_download" import in the module "dynamic_modules_utils.py" and remove it.
I think it was left there by mistake because it was imported by never used.
Also you might need to install the following:
pip install "jax[cuda12_local]==0.4.23" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
according to:
stackoverflow.
I ran into the same issue with another repo. Apparently cached_download was removed in hugginface 0.26 as per https://github.com/huggingface/huggingface_hub/issues/2617