-
Notifications
You must be signed in to change notification settings - Fork 712
Arm backend: Add TOSA support for logical not #9128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Change-Id: I5bc8e68561e1403a2de388a3a0fd1f4435401ea9 Signed-off-by: Måns Nilsson <mans.nilsson@arm.com>
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9128
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New Failures, 1 Cancelled JobAs of commit eef03c7 with merge base e86c9c9 ( NEW FAILURES - The following jobs have failed:
CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
LGTM |
|
All the failures are unrelated to this commit. |
|
https://hud.pytorch.org/hud/pytorch/executorch/main/1?per_page=50&name_filter=-arm&mergeLF=true says this PR broke test-arm-reference-delegation and unittest-arm |
|
Hi @swolchok, thanks for pointing out the issue. After supporting the logical not op, the graph in test_conformer.py seems to have 8 "torch.ops.higher_order.executorch_call_delegate" now. We will double check this and create a patch to fix the failures. Thank you! |
1. Implement a pass ConvertAnyDefaultDimDimsPass to decompose any.default, any.dim and any.dims into a sequence of any.dim with keepdim=True and a squeeze_copy.dims if needed 2. Implement a NodeVisitor to lower any.dim to REDUCE_ANY in TOSA 3. Fix the failures in pytorch#9128 Change-Id: Ifb6672f2c017cd7365e76319795290a36909657c Signed-off-by: Yufeng Shi <yufeng.shi@arm.com>
1. Implement a pass ConvertAnyDefaultDimDimsPass to decompose any.default, any.dim and any.dims into a sequence of any.dim with keepdim=True and a squeeze_copy.dims if needed 2. Implement a NodeVisitor to lower any.dim to REDUCE_ANY in TOSA 3. Fix the failures in #9128 Change-Id: Ifb6672f2c017cd7365e76319795290a36909657c Signed-off-by: Yufeng Shi <yufeng.shi@arm.com>
Adds TOSA support for logical not in Arm backend.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218