-
Notifications
You must be signed in to change notification settings - Fork 32k
Add the auto_find_batch_size capability from Accelerate into Trainer #17068
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
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
297e7d1
Start implementation
muellerzr 3d78372
Fix partial
muellerzr c78ed02
change where logic happens
muellerzr a933e18
Change how decorator is called
muellerzr 0ad8a77
Should fix issue
muellerzr c5d5d7b
Style
muellerzr 8da6c7e
Proper style
muellerzr f759535
Add tests
muellerzr f97111a
Add to deps and remove guard
muellerzr 253f0cb
Try now?
muellerzr 4f16986
Dep tables
muellerzr 5624504
Rm import
muellerzr 6dcb9df
Add test
muellerzr 48753df
Update setup.py to use latest
muellerzr ab12e99
Fixup dep style
muellerzr 81fe4d6
Move auto_find_batch_size to a TrainingArgument
muellerzr 3a777fb
Use requires_backends, add decorators to tests
muellerzr 56b884d
move import
muellerzr b12ab6a
Rework test to use glue
muellerzr 4ce0683
Fix import errors
muellerzr 7752813
Working trainer test, still need to fix utils
muellerzr f8e8927
Add accelerate to depslist
muellerzr 88d20c1
Update config with install accelerate
muellerzr bdc4692
Restructure inner loop
muellerzr 97b575e
Slow
muellerzr ff6caca
Restyle
muellerzr 62d9a22
Fix logging import
muellerzr 5c6c4b2
Add stas fix to stages
muellerzr ef92961
Style
muellerzr 475e164
Finally clean
muellerzr 00d316b
Merge branch 'main' into muellerzr-memory-decorator
muellerzr ada7bd1
Clean
muellerzr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.