-
Notifications
You must be signed in to change notification settings - Fork 4.3k
[dev] partial cuda graph support for thd format training. #4359
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
27 commits
Select commit
Hold shift + click to select a range
e9265f5
add cuda graph support for thd format training
81a89ed
add unit test
HaochenYuan 6e3e681
fix & refactor pad-thd logic
HaochenYuan 00c51e1
refactor
HaochenYuan b056831
refactor
HaochenYuan 39fbb0e
fix linting
HaochenYuan 258bd1e
fix linting
HaochenYuan cc928a9
fix linting
HaochenYuan 4e01666
fix CI
HaochenYuan 60612ba
change UT cp size to avoid OOM
HaochenYuan b061b75
shorten the UT seqlen
HaochenYuan 23d8838
fix UT
HaochenYuan 685e986
refactor padding
HaochenYuan 0b0e9fc
skip length align when use cuda graph
HaochenYuan 597f1d7
remove redundancy
HaochenYuan 6224b98
Apply THD CUDA graph refactor fixes
HaochenYuan aa0cfae
fix linting
HaochenYuan 64ae18a
fix graph capture slot for dynamic num_microbatch
HaochenYuan d98e432
Add THD padding mask and aux loss fixes from Tailai Ma
HaochenYuan 0d41b56
fix CI
HaochenYuan 3904a93
fix linting
HaochenYuan 67ef99f
Merge upstream dev into thd_cuda_graph_dev
HaochenYuan 5e0d88e
- Use thd_max_packed_sequences to clarify dummy sequence capacity sem…
HaochenYuan 07a24f2
fix linting
HaochenYuan 00fa6cb
fix CI & dsv4
HaochenYuan 30a727d
remove microbatch variance checking when using sequence packing
HaochenYuan 8c012d8
Merge branch 'dev' into thd_cuda_graph_dev
HaochenYuan 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
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.
Uh oh!
There was an error while loading. Please reload this page.