-
Notifications
You must be signed in to change notification settings - Fork 25.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
Refactoring Trainer, adds save_only_model
arg and simplifying FSDP integration
#27652
Merged
Commits on Nov 22, 2023
-
1. Refactor FSDP 2. Add `--save_only_model` option: When checkpointing, whether to only save the model, or also the optimizer, scheduler & rng state. 3. Bump up the minimum `accelerate` version to `0.21.0`
Configuration menu - View commit details
-
Copy full SHA for eea69a6 - Browse repository at this point
Copy the full SHA eea69a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d2a794 - Browse repository at this point
Copy the full SHA 4d2a794View commit details -
Configuration menu - View commit details
-
Copy full SHA for 489a5df - Browse repository at this point
Copy the full SHA 489a5dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 149330a - Browse repository at this point
Copy the full SHA 149330aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dc64c9 - Browse repository at this point
Copy the full SHA 3dc64c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9685857 - Browse repository at this point
Copy the full SHA 9685857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 203c38d - Browse repository at this point
Copy the full SHA 203c38dView commit details -
Update src/transformers/training_args.py
Co-authored-by: Zach Mueller <muellerzr@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7e4f99a - Browse repository at this point
Copy the full SHA 7e4f99aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bebc321 - Browse repository at this point
Copy the full SHA bebc321View commit details -
Apply suggestions from code review
Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 835e41b - Browse repository at this point
Copy the full SHA 835e41bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4237570 - Browse repository at this point
Copy the full SHA 4237570View commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bdef4ac - Browse repository at this point
Copy the full SHA bdef4acView commit details -
Configuration menu - View commit details
-
Copy full SHA for c966e06 - Browse repository at this point
Copy the full SHA c966e06View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.