Skip to content

Conversation

@iliyan-georgiev-arm
Copy link
Collaborator

@iliyan-georgiev-arm iliyan-georgiev-arm commented Jun 23, 2025

  • Add Node visitor to facilitate lowering
  • Add dedicated support check to prevent unsupported usage
  • Add tests
  • Supports 4D tensors being indexed
  • Does not support Slice, Ellipsis and None before an indexing tensor
  • Does not support indexing tensors of rank 4 or higher

Signed-off-by: Iliyan Georgiev [email protected]
Change-Id: Iec82f4b12520451e519b6d18316094d4ebac7655

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

- Add Node visitor to facilitate lowering
- Add dedicated support check to prevent unsupported usage
- Add tests
- Supports 4D tensors being indexed
- Does not support Slice, Ellipsis and None before an indexing tensor
- Does not support indexing tensors of rank 4 or higher

Signed-off-by: Iliyan Georgiev <[email protected]>
Change-Id: Iec82f4b12520451e519b6d18316094d4ebac7655
@iliyan-georgiev-arm iliyan-georgiev-arm added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Jun 23, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 23, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit a070d99 with merge base a1dec07 (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@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 23, 2025
@iliyan-georgiev-arm iliyan-georgiev-arm added the release notes: none Do not include this in the release notes label Jun 23, 2025
@zingo
Copy link
Collaborator

zingo commented Jun 23, 2025

mac llama runner fails unrelated

@zingo zingo merged commit 1793bae into pytorch:main Jun 23, 2025
195 of 196 checks passed
hinriksnaer pushed a commit to hinriksnaer/executorch that referenced this pull request Jun 26, 2025
- Add Node visitor to facilitate lowering
- Add dedicated support check to prevent unsupported usage
- Add tests
- Supports 4D tensors being indexed
- Does not support Slice, Ellipsis and None before an indexing tensor
- Does not support indexing tensors of rank 4 or higher

Signed-off-by: Iliyan Georgiev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants