Skip to content

[ET-VK][ops] Extend arange, clamp, and index.Tensor support - #22481

Merged
meta-codesync[bot] merged 2 commits into
gh/SS-JIA/627/basefrom
gh/SS-JIA/627/head
Sep 3, 2026
Merged

[ET-VK][ops] Extend arange, clamp, and index.Tensor support#22481
meta-codesync[bot] merged 2 commits into
gh/SS-JIA/627/basefrom
gh/SS-JIA/627/head

Conversation

@SS-JIA

@SS-JIA SS-JIA commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Support runtime-varying arange bounds, fractional and negative steps, and symbolic clamp bounds for integer and floating-point tensors. Extend buffer index.Tensor to gather on any axis while preserving multidimensional index shapes.

Authored with Codex.

Differential Revision: D118507314

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 8d67228 with merge base 902fcf5 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-cla meta-cla 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 Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

[ghstack-poisoned]
SS-JIA added a commit that referenced this pull request Sep 3, 2026
Pull Request resolved: #22481

Support runtime-varying `arange` bounds, fractional and negative steps, and symbolic `clamp` bounds for integer and floating-point tensors. Extend buffer `index.Tensor` to gather on any axis while preserving multidimensional index shapes.

Authored with Codex.
ghstack-source-id: 423931774
@exported-using-ghexport

Differential Revision: [D118507314](https://our.internmc.facebook.com/intern/diff/D118507314/)
@msluszniak

Copy link
Copy Markdown
Contributor

This is a better solution that these two: #22406 and #22399 which are my workarounds rather than direct solutions. Please double check if this PR covers them completely.

@msluszniak

Copy link
Copy Markdown
Contributor

Checked, and it covers both, so I have acted on it:

#22399 merges cleanly with this branch.

@meta-codesync
meta-codesync Bot merged commit c3c3856 into gh/SS-JIA/627/base Sep 3, 2026
205 of 207 checks passed
@meta-codesync
meta-codesync Bot deleted the gh/SS-JIA/627/head branch September 3, 2026 07:43
@meta-codesync
meta-codesync Bot deployed to cherry-pick-bot September 3, 2026 07:43 Active
SS-JIA added a commit that referenced this pull request Sep 3, 2026
Pull Request resolved: #22481

Support runtime-varying `arange` bounds, fractional and negative steps, and symbolic `clamp` bounds for integer and floating-point tensors. Extend buffer `index.Tensor` to gather on any axis while preserving multidimensional index shapes.

Authored with Codex.
ghstack-source-id: 423931774
@exported-using-ghexport

Differential Revision: [D118507314](https://our.internmc.facebook.com/intern/diff/D118507314/)
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. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants