Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We couldn't connect to 'https://huggingface.co' #129

Open
darrinh opened this issue May 31, 2023 · 1 comment
Open

We couldn't connect to 'https://huggingface.co' #129

darrinh opened this issue May 31, 2023 · 1 comment

Comments

@darrinh
Copy link

darrinh commented May 31, 2023

Describe the bug
when trying 'python3 inference/bot.py' , the follow error occurs:

Traceback (most recent call last):
  File "/home/darrin/miniconda3/envs/OpenChatKit/lib/python3.9/site-packages/transformers/configuration_utils.py", line 616, in _get_config_dict
    resolved_config_file = cached_path(
  File "/home/darrin/miniconda3/envs/OpenChatKit/lib/python3.9/site-packages/transformers/utils/hub.py", line 284, in cached_path
    output_path = get_from_cache(
  File "/home/darrin/miniconda3/envs/OpenChatKit/lib/python3.9/site-packages/transformers/utils/hub.py", line 562, in get_from_cache
    raise ValueError(
ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.

the host is connected to the internet:

PING google.com (142.251.221.78) 56(84) bytes of data.
64 bytes from syd09s31-in-f14.1e100.net (142.251.221.78): icmp_seq=1 ttl=119 time=10.6 ms

PING huggingface.co (13.35.137.45) 56(84) bytes of data.
64 bytes from server-13-35-137-45.syd1.r.cloudfront.net (13.35.137.45): icmp_seq=1 ttl=242 time=11.8 ms

I can also curl https://huggingface.co from the host, any ideas of what its complaining about?

@orangetin
Copy link
Member

orangetin commented Jun 2, 2023

Seems like a Transformers issue: huggingface/transformers#11231

Not an OpenChatKit issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants