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

Add data checkpoint within epoch feature #17

Closed
floatingbigcat opened this issue Jun 9, 2023 · 1 comment
Closed

Add data checkpoint within epoch feature #17

floatingbigcat opened this issue Jun 9, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@floatingbigcat
Copy link
Collaborator

Description

In the case when our dataset is super large, and we want to let the model walk through the dataset without replacement, may only for one or few epochs.
We can't do the training with oneshot due to time limition wall for each job. We need to add support to let the model dataloader recover from certain iter (within one epoch)

Solution
open_clip has give a solution that slice all shards into many sub set. And for each "sub_epoch" it walk through one sub set. Record our sub_epoch number and use it when start training to do the data checkpoint.
mlfoundations/open_clip#535

@floatingbigcat floatingbigcat added the enhancement New feature or request label Jun 9, 2023
@floatingbigcat floatingbigcat self-assigned this Jun 9, 2023
@kshitijkg kshitijkg added this to the Robin V1 milestone Jun 16, 2023
@kshitijkg kshitijkg removed this from the Robin V1 milestone Jul 6, 2023
@kshitijkg kshitijkg added this to the Robin V1 milestone Aug 7, 2023
@floatingbigcat
Copy link
Collaborator Author

#29

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

No branches or pull requests

2 participants