Skip to content

Conversation

@swolchok
Copy link
Contributor

We had a problem similar to the one motivating BroadcastIndexesRange: we were doing full coordinate recalcuation on every iteration of a loop. Thankfully, it is straightforward to use BroadcastIndexesRange (and the new support_noncontiguous_tensors option, which I realized should be renamed) to fix this.

[ghstack-poisoned]
@swolchok
Copy link
Contributor Author

swolchok commented Jun 11, 2025

Stack from ghstack (oldest at bottom):

@swolchok swolchok requested a review from manuelcandales as a code owner June 11, 2025 03:38
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 11, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9e82b26 with merge base 04710d4 (image):
💚 Looks good so far! There are no failures yet. 💚

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

swolchok added a commit that referenced this pull request Jun 11, 2025
We had a problem similar to the one motivating BroadcastIndexesRange: we were doing full coordinate recalcuation on every iteration of a loop. Thankfully, it is straightforward to use BroadcastIndexesRange (and the new support_noncontiguous_tensors option, which I realized should be renamed) to fix this.


ghstack-source-id: 944a2d1
ghstack-comment-id: 2961146796
Pull-Request-resolved: #11545
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2025
@swolchok swolchok added the release notes: ops & kernels Changes to the opset and any new / changed kernel implementations label Jun 11, 2025
@swolchok swolchok merged commit 0d3e750 into main Jun 12, 2025
97 of 98 checks passed
@swolchok swolchok deleted the gh/swolchok/452/head branch June 12, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: ops & kernels Changes to the opset and any new / changed kernel implementations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants