Skip to content

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

Open

Description

@darrinh

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?

Activity

  1. orangetin commented on Jun 2, 2023

    @orangetin
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions