-
Notifications
You must be signed in to change notification settings - Fork 684
Add op_amax support #9955
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
Add op_amax support #9955
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9955
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 553aa3a with merge base a238d6a ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D72613814 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your effort.
There is one small thing need to add.
diff --git a/backends/qualcomm/_passes/layout_transform.py b/backends/qualcomm/_passes/layout_transform.py
index 17960a602..4d47c38bc 100644
--- a/backends/qualcomm/_passes/layout_transform.py
+++ b/backends/qualcomm/_passes/layout_transform.py
@@ -47,6 +47,7 @@ class LayoutTransform(ExportPass):
layout_agnostic_ops = {
exir_ops.edge.aten.abs.default,
exir_ops.edge.aten.add.Tensor,
+ exir_ops.edge.aten.amax.default,
exir_ops.edge.aten.bitwise_or.Tensor,
exir_ops.edge.aten.bmm.default,
exir_ops.edge.aten.bitwise_and.Tensor,
Summary: As title, add op_amax to support an internal model, add unit test in test_qnn_delegate.py Differential Revision: D72613814
dbeddf3
to
b3b857c
Compare
This pull request was exported from Phabricator. Differential Revision: D72613814 |
Summary: As title, add op_amax to support an internal model, add unit test in test_qnn_delegate.py Differential Revision: D72613814
b3b857c
to
bb0b75d
Compare
This pull request was exported from Phabricator. Differential Revision: D72613814 |
thanks! updated |
Summary: As title, add op_amax to support an internal model, add unit test in test_qnn_delegate.py Reviewed By: kirklandsign Differential Revision: D72613814
bb0b75d
to
553aa3a
Compare
This pull request was exported from Phabricator. Differential Revision: D72613814 |
Quick question, what is the reason that |
This will actually insert the permute node according to layout information but will break graph if you're currently in partitioner stage (the new layout will not match pytorch cpu convention). |
Summary: As title, add op_amax to support an internal model, add unit test in test_qnn_delegate.py Differential Revision: D72613814
Summary: As title, add op_amax to support an internal model, add unit test in test_qnn_delegate.py Differential Revision: D72613814
Summary: As title, add op_amax to support an internal model, add unit test in test_qnn_delegate.py
Differential Revision: D72613814