-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 effective_batch_size
to auto-adjust gradient accumulation
#3533
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d981c51
WIP: effective_batch_size
tgaddair e0b556a
Auto update gradient_accumulation_steps
tgaddair a1c3367
Set num_training_workers
tgaddair 96f0bcb
Use num_training_workers
tgaddair 2954298
Fixed gradient accum
tgaddair 9e8e373
Fixed schema
tgaddair 7afa0f6
WIP: update grad_accum in tuner
tgaddair ec797b7
Fixed rendering batch_size and gradient_accumulation_steps
tgaddair 27ff1c0
Fixed backend num_workers
tgaddair bf849a6
Remove restriction on setting everything to auto
tgaddair 70903f6
Unit tests
tgaddair 6f49cfb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 107d4b2
Fixed none trainer
tgaddair 1b4faff
Merge
tgaddair ee615fa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 65f882e
GBM
tgaddair ddee785
Merge branch 'total-bs' of https://github.com/ludwig-ai/ludwig into t…
tgaddair 39b73c3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7cf6f75
Fixed tuning gbms
tgaddair 73c1940
Merge
tgaddair 07381bb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a09705a
Merge branch 'master' into total-bs
tgaddair a7c2170
Fixed try finally
tgaddair 6ce70f9
Tune for training
tgaddair 1d4b33e
Break out batch size tuning
tgaddair 3885f80
Plumb ray backend
tgaddair 9ce68e6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] cbc25cd
Fixed signature
tgaddair 49d264a
Merge branch 'total-bs' of https://github.com/ludwig-ai/ludwig into t…
tgaddair 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 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 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 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 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 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth logging a message here to indicate this very clearly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code path always gets executed regardless of user config, so I wouldn't add a message. Would likely confuse the user.