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

refactor checkpointing: remove date and run id #14

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

samsja
Copy link
Member

@samsja samsja commented Aug 6, 2024

this pr makes ckpt easier.

It just put everything in the ckpt folder and the diloco case creates one folder for each diloco worker.

Screenshot from 2024-08-06 12-42-40

tested on a 60m model. The resume done at 100 steps and both colors cannot be distinguished

@samsja samsja marked this pull request as ready for review August 6, 2024 10:44
@samsja samsja requested a review from Jackmin801 August 6, 2024 10:44
Copy link
Member

@Jackmin801 Jackmin801 left a comment

Choose a reason for hiding this comment

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

nice! will make resuming a lot cleaner and convenient. added some comments about function naming but otherwise looks great :)

open_diloco/train_fsdp.py Outdated Show resolved Hide resolved
@samsja samsja requested a review from Jackmin801 August 6, 2024 15:12
Copy link
Member

@Jackmin801 Jackmin801 left a comment

Choose a reason for hiding this comment

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

nice! lgtm

@samsja samsja merged commit ba63895 into main Aug 6, 2024
2 checks passed
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