-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[MPS] Fix index_copy for scalars
#161267
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
[MPS] Fix index_copy for scalars
#161267
Conversation
And enable `test_index_copy_scalars_mps` [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/161267
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 2d7d54a with merge base cb57953 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
By passing strides to strided variant of the tensor Fixes #160993 Pull Request resolved: #161333 Approved by: https://github.com/huydhn, https://github.com/wdvr ghstack dependencies: #161206, #161267
By `squeezing the input` when copying into scalar tensor from a 1d one And enable `test_index_copy_scalars_mps` Fixes pytorch#160737 Pull Request resolved: pytorch#161267 Approved by: https://github.com/manuelcandales, https://github.com/Skylion007, https://github.com/dcci ghstack dependencies: pytorch#161206
By passing strides to strided variant of the tensor Fixes pytorch#160993 Pull Request resolved: pytorch#161333 Approved by: https://github.com/huydhn, https://github.com/wdvr ghstack dependencies: pytorch#161206, pytorch#161267
Stack from ghstack (oldest at bottom):
index_copyfor scalars #161267By
squeezing the inputwhen copying into scalar tensor from a 1d oneAnd enable
test_index_copy_scalars_mpsFixes #160737