KEMBAR78
[MPS] Fix `index_copy` for scalars by malfet · Pull Request #161267 · pytorch/pytorch · GitHub
Skip to content

Conversation

@malfet
Copy link
Contributor

@malfet malfet commented Aug 22, 2025

Stack from ghstack (oldest at bottom):

By squeezing the input when copying into scalar tensor from a 1d one
And enable test_index_copy_scalars_mps

Fixes #160737

And enable `test_index_copy_scalars_mps`

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 22, 2025

🔗 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 Failures

As of commit 2d7d54a with merge base cb57953 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added ciflow/mps Run MPS tests (subset of trunk) release notes: mps Release notes category labels Aug 22, 2025
malfet added a commit that referenced this pull request Aug 22, 2025
And enable `test_index_copy_scalars_mps`

ghstack-source-id: 576625c
Pull Request resolved: #161267
@malfet malfet added topic: bug fixes topic category ciflow/trunk Trigger trunk jobs on your pull request labels Aug 22, 2025
@malfet
Copy link
Contributor Author

malfet commented Aug 22, 2025

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Aug 23, 2025
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
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
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
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
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
@github-actions github-actions bot deleted the gh/malfet/499/head branch September 22, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/mps Run MPS tests (subset of trunk) ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: mps Release notes category topic: bug fixes topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants