Spaces:
Running
Grading fails with NameResolutionError to api-inference.huggingface.co โ all answers marked incorrect
Hi, I've been attempting the Code Quiz in Chapter 11 (Fine-Tune Large Language Models) and consistently getting a 0% score despite submitting correct solutions. This has happened across multiple attempts on different days.
The grader appears to depend on a live call to Qwen/Qwen2.5-Coder-32B-Instruct via the HF Inference API for evaluation, and that call is failing with a DNS resolution error. When it fails, it seems to fall back to a strict comparison that marks all answers incorrect regardless of correctness.
Error checking code:
MaxRetryError('HTTPSConnectionPool(host='api-inference.huggingface.co', port=443):
Max retries exceeded with url: /models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions
(Caused by NameResolutionError(": Failed to resolve 'api-inference.huggingface.co'
([Errno -5] No address associated with hostname)"))'
Request IDs for reference:
19d3a616-3056-45ec-9195-a91330c3886d
f512da3b-be8c-496c-988b-75e824bfc2e2
b9441f52-d807-487e-94ca-fda1effa63cb
Could someone take a look at whether the Inference API endpoint this Space depends on is misconfigured or currently unreachable? Happy to provide more details if useful.
Thanks!
Rajesh