-
Notifications
You must be signed in to change notification settings - Fork 352
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
[JAX] Migrating from Xmap to Custom Partitioning for All Custom Calls #472
[JAX] Migrating from Xmap to Custom Partitioning for All Custom Calls #472
Conversation
@zlsh80826 and @jeng1220 for viz. |
/te-ci jax |
@timmoon10 can you review? |
8e63b5a
to
784749a
Compare
/te-ci jax |
/te-ci jax |
/te-ci jax |
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.
LGTM
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.
Small optional nitpik.
/te-ci jax |
1 similar comment
/te-ci jax |
Bad News, Xmap and CP cannot work together, since CP does not support manual
What we can do:
|
@nouiz @timmoon10 CC: @denera @Young768 @zlsh80826 @jeng1220 for viz |
a74a53d
to
2ab34ee
Compare
@mingxu1067 I merged #471 earlier today with the custom partitioning unit tests. You're welcome to rebase your PR and run them. If we see any issues, I'd be happy to commit the fixes in your branch so that the regression tests are all fully functional and correct by the time we merge this. |
801f346
to
44ac5c9
Compare
Signed-off-by: Ming Huang <[email protected]> Signed-off-by: Ming-Xu Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]> Signed-off-by: Ming-Xu Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]> Signed-off-by: Ming-Xu Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]> Signed-off-by: Ming-Xu Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]> Signed-off-by: Ming-Xu Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]> Signed-off-by: Ming-Xu Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
…axis modules. Signed-off-by: Ming Huang <[email protected]>
…axis modules. Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
794857d
to
139a7db
Compare
Signed-off-by: Ming Huang <[email protected]>
139a7db
to
25eb6c0
Compare
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.
LGTM. Thanks for this awesome PR. It really simplifies the implementation of custom calls and supports more complex sharding methods.
1a9d9b9
to
9ab60cc
Compare
9ab60cc
to
dda823f
Compare
Signed-off-by: Ming Huang <[email protected]>
dda823f
to
1f8d903
Compare
xmap
tocustom_partitioning
.xmap
, includingShardingMeta
.WeightHParamsCollection.OVERWRITE_WITH_GRADIENT
in Praxis modules.