-
Notifications
You must be signed in to change notification settings - Fork 608
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
504 Server Error: Gateway Time-out #2581
Comments
Hi @RichardErkhov, really sorry that you encountered this issue, we're currently experiencing problems with these types of requests. Our backend team is aware of the situation, but unfortunately, the fix isn't straightforward. We'll make sure to update you as soon as we have more info on this! |
Ok, thank you, waiting for solution. Any help I can provide ? |
thanks a lot for offering help! 🤗 you actually helped by reporting the issue :) we are able to reproduce the error, so I think we are good on this side. We will keep you updated. |
Hi @RichardErkhov , we've done some optimizations server-side for the search API. You shouldn't be noticing 504 error anymore. Let us know if it's not the case 🤗 (x-linking private issue). Btw, I've tested from huggingface_hub import list_models
count = 0
for model in list_models(task="text-generation", tags=["safetensors"]):
count += 1
print(count, model.id, model.downloads) which now works perfectly! |
Describe the bug
getting 504 timeout, cant fix it, and I dont think it suppose to happen. I think if you raise the timeout limits (or allow user to do that), then it will be good, because the times gradually increase between first thousand and second thousand. How do I fix it? I guess the issue is getting gradually worse, since in August #2460 it worked, and I must say since around 25 of september this issue exists to that extent. Before that I could scan it full without the limit with little to no issues (504 still existed, just not for 15 hours straight and still ongoing)
Reproduction
from huggingface_hub import list_models
count = 0
for model in list_models(task="text-generation", tags=["safetensors",], limit=5000,):
count += 1
print(count, model.id, model.downloads)
Logs
System info
The text was updated successfully, but these errors were encountered: