-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[MPS] Fix index_add for complex + int64 #160926
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
By re-using deterministic algorithm from https://github.com/pytorch/pytorch/blob/bbc7c03e936ab0fce69dfda1fdf4798523a2fbf8/aten/src/ATen/native/cuda/Indexing.cu#L1107-L1111 [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/160926
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 1 PendingAs of commit 87a151a with merge base 114813c ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
By re-using deterministic algorithm from https://github.com/pytorch/pytorch/blob/bbc7c03e936ab0fce69dfda1fdf4798523a2fbf8/aten/src/ATen/native/cuda/Indexing.cu#L1107-L1111 ghstack-source-id: a13719f Pull Request resolved: #160926
|
@pytorchbot merge -f "Everything is green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Which enables them on MPS device - xfail all `test_index_reduce` on MPS, as op is not implemented - xfail all `test_index_copy` on MPS due to the silent correctness problems, see #160993 - Fixed hard crash in `index_fill` and replaced `skipIfMPS` with `expectedFailueMPS` - Created issue for the lack of deterministic algorithms for MPS backend Pull Request resolved: #160994 Approved by: https://github.com/manuelcandales ghstack dependencies: #160850, #160889, #160926
By re-using deterministic algorithm from https://github.com/pytorch/pytorch/blob/bbc7c03e936ab0fce69dfda1fdf4798523a2fbf8/aten/src/ATen/native/cuda/Indexing.cu#L1106-L1113 Fixes pytorch#160845 Pull Request resolved: pytorch#160926 Approved by: https://github.com/manuelcandales ghstack dependencies: pytorch#160850, pytorch#160889
Which enables them on MPS device - xfail all `test_index_reduce` on MPS, as op is not implemented - xfail all `test_index_copy` on MPS due to the silent correctness problems, see pytorch#160993 - Fixed hard crash in `index_fill` and replaced `skipIfMPS` with `expectedFailueMPS` - Created issue for the lack of deterministic algorithms for MPS backend Pull Request resolved: pytorch#160994 Approved by: https://github.com/manuelcandales ghstack dependencies: pytorch#160850, pytorch#160889, pytorch#160926
Stack from ghstack (oldest at bottom):
By re-using deterministic algorithm from
pytorch/aten/src/ATen/native/cuda/Indexing.cu
Lines 1106 to 1113 in bbc7c03
Fixes #160845