Repository navigation
Arm backend: Initial support of conditional operator - #15549
Merged
Merged
Conversation
As mentioned in pytorch#15381, TOSA tensors need unique naming, which gets tricky with submodules. It is handled in the TosaArg object, and therefore node visitors need to use output.name rather than node.name when creating new tensors. Signed-off-by: Erik Lundell <[email protected]> Change-Id: I7a943deda0888c1de8796dd573e8befda3f074b2
- Add partition check to make sure that the submodules with the if/else codepaths are fully delegated. - Fix some partitioning issues with submodule nodes, since they point to a submodule rather than a tensor they dont have a fake tensor. - Add node visitor. - Add tests. Signed-off-by: Erik Lundell <[email protected]> Change-Id: I00dbfdedb04c686ce04b4fb1d682816038b7e1bf
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15549
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (7 Unrelated Failures)As of commit 7198aa0 with merge base 4ea9ddf ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs 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. |
Collaborator
|
Hi again @SS-JIA here is a lager patch touching many file. Sorry we got so many in a row right now, it's usually calmer :) |
Collaborator
|
@SS-JIA we think this should be buck2 build safe as the new cond op should be handled by the |
Collaborator
|
Failed tests seems unrelated |
jirioc
pushed a commit
to nxp-upstream/executorch
that referenced
this pull request
Dec 19, 2025
- Add partition check to make sure that the submodules with
the if/else codepaths are fully delegated.
- Fix some partitioning issues with submodule nodes, since they
point to a submodule rather than a tensor they dont have a fake tensor.
- Add node visitor.
- Add tests.
Arm backend: Use output.name in node visitors
As mentioned in pytorch#15381, TOSA tensors need unique naming,
which gets tricky with submodules. It is handled in
the TosaArg object, and therefore node visitors need
to use output.name rather than node.name when creating
new tensors.
cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai
---------
Signed-off-by: Erik Lundell <[email protected]>
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.
Arm backend: Use output.name in node visitors
cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai