Users attempting the code quiz in Chapter 11 of the Hugging Face LLM Course are encountering failures caused by a DNS resolution error when connecting to the api-inference.huggingface.co endpoint.

  • The submission process triggers a MaxRetryError because the code checker cannot resolve the host 'api-inference.huggingface.co'.
  • The website itself remains accessible, indicating the issue is specific to the API endpoint's connectivity from the course infrastructure.
  • Troubleshooting steps such as changing browsers, using different networks like Airtel mobile hotspot or Cloudflare WARP, and flushing DNS caches have not resolved the problem.

This prevents learners from completing the quiz, prompting a request for Hugging Face to investigate whether the failure stems from the course infrastructure or the API endpoint.