-
Notifications
You must be signed in to change notification settings - Fork 38
Enable Pipeline Parallelism on jax worker #1043
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
Conversation
DescriptionStart with a short description of what the PR does and how this is a change from The rest of the description includes relevant details and context, examples:
If the change fixes a bug or a Github issue, please include a link, e.g.,: TestsPlease describe how you tested this change, and include any instructions and/or ChecklistBefore submitting this PR, please make sure:
|
e066aa3 to
4cac52f
Compare
|
@sixiang-google Hi Xiang, can you help me take a look at |
yixinshi
left a comment
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.
Good work! A general comment: shall we have more specific PR title here for each PR?
103a581 to
2b74070
Compare
Signed-off-by: Chenyaaang <chenyangli@google.com>
Signed-off-by: Chenyaaang <chenyangli@google.com>
Signed-off-by: Chenyaaang <chenyangli@google.com>
Signed-off-by: Chenyaaang <chenyangli@google.com>
2b74070 to
8ba5cc9
Compare
Description
The implementation for Pipeline Parallelism are splitted into the following small PRs.
This PR is to modify Jax worker to support PP.
__init__takes in the current worker's IP and its previous worker's IP, to start transfer server and connection later.execute_model, for the PP workers who not in the first rank, they need to receive intermediate tensor from the previous worker. For the PP workers who is not the last rank, they need to send intermediate tensor to their next worker.Tests
E2E test has verified the whole PP implementation works properly.
Checklist
Before submitting this PR, please make sure: