Open Chen94yue opened 11 months ago
老哥 解决了吗,我运行api.py,下载了模型,但是仍然报错,要连接hugggingface,有没有解决办法呀 [2023-09-23 09:46:27,267] [INFO] [RANK 0] > successfully loaded /home/ubuntu/.sat_models/visualglm-6b/1/mp_rank_00_model_states.pt Traceback (most recent call last): File "/home/ubuntu/.local/lib/python3.8/site-packages/transformers/utils/hub.py", line 429, in cached_file resolved_file = hf_hub_download( File "/usr/local/lib/python3.8/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/huggingface_hub/file_download.py", line 1291, in hf_hub_download raise LocalEntryNotFoundError( huggingface_hub.utils._errors.LocalEntryNotFoundError: Connection error, and we cannot find the requested files in the disk cache. Please try again or make sure your Internet connection is on.
遇到了相同的问题,OSError: We couldn't connect to 'https://huggingface.co' to load this file
我使用api的时候碰到这个问题:
我打印了服务收到的问题和收到的图片都没有问题,有人可以帮忙看一下吗?