Skip to content

[MPS] Fix repeat_interleave with slices#167961

Closed
malfet wants to merge 2 commits intogh/malfet/606/basefrom
gh/malfet/606/head
Closed

[MPS] Fix repeat_interleave with slices#167961
malfet wants to merge 2 commits intogh/malfet/606/basefrom
gh/malfet/606/head

Conversation

@malfet
Copy link
Contributor

@malfet malfet commented Nov 17, 2025

Stack from ghstack (oldest at bottom):

Alas, one can not use repeat_interleave_common for MPS tensors, as data_offset is not a valid pointer to id<MTLTensor>
On the other hand, one does not need to use AT_DISPATCH_INDEX_TYPES as dispatching is happening on the shader side

Fixes #167924

Alas, one can not use `repeat_interleave_common` for MPS tensors, as `data_offset` is not a valid pointer to `id<MTLTensor>`
On the other hand, one does not need to use `AT_DISPATCH_INDEX_TYPES` as dispatching is happening on the shader side

Fixes #167924

[ghstack-poisoned]
@malfet malfet requested a review from kulinseth as a code owner November 17, 2025 05:14
malfet added a commit that referenced this pull request Nov 17, 2025
Alas, one can not use `repeat_interleave_common` for MPS tensors, as `data_offset` is not a valid pointer to `id<MTLTensor>`
On the other hand, one does not need to use `AT_DISPATCH_INDEX_TYPES` as dispatching is happening on the shader side

Fixes #167924

ghstack-source-id: c04d33d
Pull Request resolved: #167961
@pytorch-bot pytorch-bot bot added ciflow/mps Run MPS tests (subset of trunk) release notes: mps Release notes category labels Nov 17, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 17, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/167961

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit a50d5dc with merge base 98b94b9 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@malfet malfet added the topic: bug fixes topic category label Nov 17, 2025
Alas, one can not use `repeat_interleave_common` for MPS tensors, as `data_offset` is not a valid pointer to `id<MTLTensor>`
On the other hand, one does not need to use `AT_DISPATCH_INDEX_TYPES` as dispatching is happening on the shader side

Fixes #167924

[ghstack-poisoned]
malfet added a commit that referenced this pull request Nov 17, 2025
Alas, one can not use `repeat_interleave_common` for MPS tensors, as `data_offset` is not a valid pointer to `id<MTLTensor>`
On the other hand, one does not need to use `AT_DISPATCH_INDEX_TYPES` as dispatching is happening on the shader side

Fixes #167924

ghstack-source-id: 0b37a6a
Pull Request resolved: #167961
@malfet
Copy link
Contributor Author

malfet commented Nov 17, 2025

@pytorchbot merge -f "Lint + MPS are green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
Alas, one can not use `repeat_interleave_common` for MPS tensors, as `data_offset` is not a valid pointer to `id<MTLTensor>`
On the other hand, one does not need to use `AT_DISPATCH_INDEX_TYPES` as dispatching is happening on the shader side

Fixes pytorch#167924
Pull Request resolved: pytorch#167961
Approved by: https://github.com/manuelcandales
@github-actions github-actions bot deleted the gh/malfet/606/head branch December 18, 2025 02:18
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) 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.

3 participants