generative-models icon indicating copy to clipboard operation
generative-models copied to clipboard

huggingface_hub.utils._errors.LocalEntryNotFoundError

Open AiLee0626 opened this issue 2 years ago • 7 comments

huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on. 1701416594653

AiLee0626 avatar Dec 01 '23 07:12 AiLee0626

https://github.com/Stability-AI/generative-models/issues/152

I have the same problem. From this issue, I learned that it seems to be huggingface loss cennection, but I still don’t know how to solve it.

MikoSamey avatar Dec 01 '23 09:12 MikoSamey

我也一样 很多工作流跑不通都是这个毛病

guahunyo avatar Jan 16 '24 06:01 guahunyo

this might be helpful :) https://github.com/Stability-AI/generative-models/issues/152#issuecomment-1824440215

haodong2000 avatar Jan 26 '24 03:01 haodong2000

You can solve this problem by setting the Hugging Face endpoint in the environment. For example, in a Python script: os.environ["HF_ENDPOINT"] = "https://hf-mirror.com". Or in the terminal: HF_ENDPOINT=https://hf-mirror.com python xxx.py. Reference link: https://hf-mirror.com/

myhz0606 avatar Feb 23 '24 06:02 myhz0606