-
Notifications
You must be signed in to change notification settings - Fork 71
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
Initial support for Pipeline Parallelism #279
Merged
Merged
Changes from 84 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
4bdf600
Refactor and creation of PipelineParallelismSpecs
michaelbenayoun 92b8253
Refactoring
michaelbenayoun e394ec5
[WIP] initial support for pp
michaelbenayoun 2920df7
[WIP] initial support for pp
michaelbenayoun 1b82fbc
[WIP] initial support for pp
michaelbenayoun 4712e95
[WIP] initial support for pp
michaelbenayoun 0c55877
[WIP] initial support for pp
michaelbenayoun 0acf510
[WIP] initial support for pp
michaelbenayoun 3ea12dd
[WIP] initial support for pp
michaelbenayoun 2fd6abf
Update examples
michaelbenayoun 4fb51ee
[WIP] add tests
michaelbenayoun c74b724
Add PP to test_examples.py
michaelbenayoun 6aac412
Merge branch 'main' into initial_pp
michaelbenayoun d0df211
[WIP] fix TP + PP training
michaelbenayoun a4cc66c
Merge branch 'main' into initial_pp
michaelbenayoun 959b3b0
Style
michaelbenayoun 1ef90b8
[WIP]
michaelbenayoun cbdf51f
Refactor Mistral for sequence parallelism
michaelbenayoun 0571524
Add DistributedTest class
michaelbenayoun f57a210
[WIP] tests
michaelbenayoun 017bbbd
Refacotr
michaelbenayoun ce6e4ac
[WIP] tests
michaelbenayoun 3e6586f
[WIP] tests
michaelbenayoun 01cf4cd
DistributedTest works
michaelbenayoun ef25839
[WIP] tests
michaelbenayoun 43550ba
[WIP] tests
michaelbenayoun db939b0
[WIP] tests
michaelbenayoun 650771e
[WIP] tests
michaelbenayoun 2ad63a0
test_common almost done
michaelbenayoun 9f912be
[WIP] tests
michaelbenayoun 0f7abd8
[WIP] tests
michaelbenayoun 52d01af
[WIP] tests
michaelbenayoun 1f9df87
[WIP] tests
michaelbenayoun 269f17b
Small cleanup
michaelbenayoun f51ad74
Clean tests
michaelbenayoun ba1137f
Styling
michaelbenayoun 5e889a2
[WIP] tests
michaelbenayoun 730efb4
[WIP] tests
michaelbenayoun 2905b05
Styling
michaelbenayoun b967840
[WIP] tests
michaelbenayoun 54f2de7
Merge branch 'main' into initial_pp
michaelbenayoun cb9dbeb
[WIP] tests
michaelbenayoun 0c9e053
[WIP] tests
michaelbenayoun fb98746
[WIP] tests
michaelbenayoun 0679ade
[WIP] tests
michaelbenayoun 05164dd
[WIP] tests
michaelbenayoun 2d5db07
[WIP] tests
michaelbenayoun 1bfac8a
Merge branch 'main' into initial_pp
michaelbenayoun f47ada5
Styling
michaelbenayoun ec39922
Fix test
michaelbenayoun c88fe86
Update workflow
michaelbenayoun ec7a8ad
fix test
michaelbenayoun 5ded810
fix test
michaelbenayoun dade072
fix test
michaelbenayoun d2126df
clean test
michaelbenayoun 30241d3
[WIP] tests
michaelbenayoun 5ad63ec
Fix small issues
michaelbenayoun 4904932
Fix doc
michaelbenayoun 4d15239
[WIP] cache system support for PP
michaelbenayoun 238cf88
[WIP] fix tests
michaelbenayoun a669b60
Fix save_and_load test
michaelbenayoun e7a4c13
Fix test_optimizer_parameters_match_models_parameters
michaelbenayoun 9800a42
Fix GPTNeo(x) tests
michaelbenayoun c04fc68
[WIP] fix llama tests
michaelbenayoun d7e7b40
[WIP] test_training
michaelbenayoun e27d87b
[WIP] test_training
michaelbenayoun d272416
Fix cache add test
michaelbenayoun baba59a
Cleanup
michaelbenayoun de55c9d
Pin huggingface_hub version
michaelbenayoun 4e3e7ab
Cleanup
michaelbenayoun a82e44a
Disable dp=4,tp=pp=2 for test_common for now
michaelbenayoun 533ffce
Fix tests in test_common.py
michaelbenayoun 109aa67
Merge branch 'main' into initial_pp
michaelbenayoun f1b18d7
Fix tests in test_common.py
michaelbenayoun cfa5288
Fix
michaelbenayoun d94057f
Fix test
michaelbenayoun dce046c
Fix test
michaelbenayoun 189bea9
Fix
michaelbenayoun 51f0a65
Update workflow
michaelbenayoun bce46b5
Merge branch 'main' into initial_pp
michaelbenayoun 7bdad6a
Skip GPTNeo tests
michaelbenayoun 410a77b
Move model to device by default
michaelbenayoun d7e85fb
Fix test
michaelbenayoun 95499cf
Test without test_training
michaelbenayoun 0adbab6
Apply David's suggestions
michaelbenayoun 840ea9d
Apply Jingya's suggestion
michaelbenayoun e6fa03a
Move distributed test conftest
michaelbenayoun 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.
which package? transformers?
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.
Yes. But I'm not in favor of adding that. These files are updated automatically by cloning the examples from Transformers. This is a bad side effect but I think that's ok.