Skip to content
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

Adds async model push to PushToHubRevisionCallback #124

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

edbeeching
Copy link
Collaborator

The model PushToHubRevisionCallback was pausing training while the model was uploaded, this PR changes this to happen asynchronously.

Note the write of weight to disk happens in parallel, so it is best to set output_dir to /scratch/... so that the write/read is faster.

@edbeeching edbeeching merged commit 99d1083 into main Jan 31, 2025
1 check passed
@edbeeching edbeeching deleted the ed-async-model-push branch January 31, 2025 08:17
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.

3 participants