-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix streaming: catch Timeout error #3050
Conversation
I'm running a large test. |
This time it stopped after 8h but correctly raised Traceback:
Right before this error, the warnings were correctly raised:
I'm going to see what happens if I change the max retries to 20 and the interval to 5. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix !
Let me know the result of your test with more retries and higher time interval.
Where are the data hosted ?
Also maybe we can raise the Server Disconnected error with more info about what kind of error caused it (client error, time out, etc.) |
I have 2 runs:
They have now been running by a bit more than a day for one run and 15h for the other. The error logs are not shown in wandb because the script use So I think it's a good idea to have:
|
I agree ! Feel free to open a PR to increase both values |
Catches Timeout error during streaming.
fix #3049