-
Notifications
You must be signed in to change notification settings - Fork 493
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
Set XLA_USE_SPMD for spmd cpp tests. #6273
Conversation
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
ca33544
to
b0d9aec
Compare
There seems to be a build issue? cc @vanbasten23 |
Yeah, I'm looking at it. |
class XLAShardingTest : public AtenXlaTensorTestBase { | ||
protected: | ||
static void SetUpTestCase() { | ||
setenv("XLA_USE_SPMD", "1", /*overwrite=*/true); |
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.
big picture question: what's our plan to remove XLA_USE_SPMD
flag to improve usability?
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.
iiuc, on the user facing level (python), we want to replace XLA_USE_SPMD
with an API use_spmd(). Internally, it seems fine to keep using the flag since it doesn't affect usability. Here we use the flag only internally.
b0d9aec
to
932bb33
Compare
rebased and triggered ci again |
Thanks for reviewing! |
No description provided.