-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Flax Remat for LongT5 #17994
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
Flax Remat for LongT5 #17994
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
93c0a2c
[Flax] Add remat (gradient checkpointing)
201731d
fix variable naming in test
90443a8
flip: checkpoint using a method
80188b6
fix naming
ea8150a
fix class naming
c791574
apply PVP's suggestions from code review
250fa33
add gradient_checkpointing to examples
KMFODA 9bd1c81
Add gradient_checkpointing to run_mlm_flax
KMFODA 3c96873
Add remat to longt5
KMFODA eeb1dad
Add gradient checkpointing test longt5
KMFODA bd82906
Fix args errors
KMFODA 66bd8fe
Fix remaining tests
KMFODA 1378495
Merge remote-tracking branch 'origin/main' into flax-remat-kf
KMFODA cd1edc3
Make fixup & quality fixes
KMFODA 8ab6c4f
replace kwargs
KMFODA 27dfcbf
remove unecessary kwargs
KMFODA f47f360
Merge remote-tracking branch 'origin/main' into flax-remat-kf
KMFODA 4c9c50c
Make fixup changes
KMFODA 72c60d9
revert long_t5_flax changes
KMFODA 288edbb
Remove return_dict and copy to LongT5
KMFODA 092359c
Remove test_gradient_checkpointing
KMFODA 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
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.