Open james-deee opened 1 day ago
Hi @james-deee, This isn't a bug in huggingface_hub.list_inference_endpoints
. The API returns timestamps without milliseconds when they're zero, causing a parsing error in huggingface_hub.list_inference_endpoints
that expects timestamps with milliseconds. This issue should be fixed on the API side — pinging @ErikKaum for more info.
Thanks for pinging @hanouticelina Yeah this should have already been fixed in the API layer.
Let me try to reproduce this behavior locally 👍
Describe the bug
Pretty simple, the
list_inference_endpoints
is completely broken. It fails with some parse date error, see stacktrace.Reproduction
list_inference_endpoints(namespace=NAMESPACE, token=HF_API_KEY)
Logs
System info