Skip to content

Enable retries for file uploads and finetune downloads #52

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

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

orangetin
Copy link
Member

@orangetin orangetin commented Oct 24, 2023

Tested with 70B download.

Fixes connection broken error:

urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(61993910272 bytes read, 45238411190 more expected)', IncompleteRead(61993910272 bytes read, 45238411190 more expected))

Fixes: https://github.com/togethercomputer/planning/issues/2667

Copy link
Contributor

@adamsch1 adamsch1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@orangetin orangetin merged commit 474dcc5 into main Oct 24, 2023
@orangetin orangetin deleted the orangetin/session-retries branch October 24, 2023 18:57
@adamsch1
Copy link
Contributor

Shit wait - does this retry by redownloading from start or does it continue where it left off by using stat() and http headers? If not we should make a change to do that.

@orangetin
Copy link
Member Author

Oh, you're right. Yeah I can make that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants