Arm backend: Delegate constant index select on U55 - #22605
Open
perheld wants to merge 1 commit into
Open
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22605
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 0d9335d with merge base 7dc8641 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Lower constant index_select operations to U55-supported ops. Contiguous indices such as [1, 2, 3] become one slice: [1:4]. Indices such as [1, 3, 1] become one-element slices followed by concatenation. This supports noncontiguous, reordered, and repeated indices. Preserve CPU fallback for runtime, empty, and symbolic cases. Authored with Codex. Change-Id: I1073680c7844925f905bd3d2de2b47fc3a0d62c1 Signed-off-by: Per Held <per.held@arm.com>
perheld
force-pushed
the
change-1320666
branch
from
September 8, 2026 16:26
2f59dc7 to
0d9335d
Compare
zingo
approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lower constant index_select operations to U55-supported ops.
Contiguous indices such as [1, 2, 3] become one slice: [1:4]. Indices such as [1, 3, 1] become one-element slices followed by concatenation. This supports noncontiguous, reordered, and repeated indices.
Preserve CPU fallback for runtime, empty, and symbolic cases.
Authored with Codex.
Change-Id: I1073680c7844925f905bd3d2de2b47fc3a0d62c1
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani