-
Notifications
You must be signed in to change notification settings - Fork 505
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
Fix output tensor shape for argmin and argmax where keepdim=True and dim=None #6536
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.
Thanks! Changes LGTM, can you add a corresponding unit test at https://github.com/pytorch/xla/blob/master/test/cpp/test_aten_xla_tensor_2.cpp#L2077 and fix the linter issues?
Yep will do |
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.
Thanks! Changes LGTM, let's wait for the CI to verify the tests.
Seems like the build is failing:
My guess is because test with name |
I misread the test code - they need unique names - fixing now |
New test failures seem unrelated?
|
Apologies for the delay but can you rebase with this head? The failing tests have been disabled on head, but I hope to let the CI complete before merging this. Thanks! |
Looks like new unrelated failures |
Yeah, it's been a rough day for the head CI.. 😢 Let's just wait for the other CIs and merge it if they're green, changes LGTM anyways. Thanks! |
CI seems to be passing other than the same failure on head. Merging this. Thanks! |
Current failure looks like this:
After: