huggingface_hub.utils._errors.LocalEntryNotFoundError
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.
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.
我也一样 很多工作流跑不通都是这个毛病
this might be helpful :) https://github.com/Stability-AI/generative-models/issues/152#issuecomment-1824440215
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/