-
Notifications
You must be signed in to change notification settings - Fork 588
Updating cadence ops with new name space, rebasing 6 optimized ops #6407
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
dijopaul
commented
Oct 21, 2024
- Adding 'cadence' name space in all ops
- Rebasing all ops add,sub,div,mul,sigmoid,tanh as there are major merge conflicts
- The ops are already reviewed under Added HiFi optimizations for add sub mul and div operators #5483
* Add nnlib as submodule * Adding nnlib submodule * Integrated nnlib API unde backends/cadence/hifi * Fix review comments on PR#3 * Add nnlib as submodule * Adding nnlib submodule * Integrated nnlib API unde backends/cadence/hifi * Fix review comments on PR#3 * Incorporated feedback from Meta team. * lint errors fixed * Adding Sub operator optimized version * Add optimization for add, mul operators * Adding Div operator * Modified div mod to cover truncate and floor modes --------- Co-authored-by: cad-audio <[email protected]> Co-authored-by: cad-audio <[email protected]>
Adding add sub mul and div optimizations
Adding sigmoid and tanh optimizations
Fixing review comments in 5483
Namespace update as per review comments
Adding cflags to prevent compilation halts
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6407
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a1340f7 with merge base 324f021 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@@ -25,7 +25,7 @@ | |||
- op: add.out | |||
kernels: | |||
- arg_meta: null | |||
kernel_name: torch::executor::add_out | |||
kernel_name: impl::HiFi::add_out |
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.
probably should be cadence::impl::HiFi too, but we can do that in a follow up if this can be merged
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.
I will create a new PR for this
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.
Hi @dijopaul sorry I reverted this because it seems to break our internal CI. Maybe we need to import to internal repo first and run CI there |
xplat/executorch/backends/cadence/hifi/operators/op_tanh.cpp:10:10: fatal error: 'executorch/kernels/portable/cpu/pattern/pattern.h' file not found |
@mcremon-meta need to update BUCK |
@kirklandsign #6477 the fix is landing internally. thanks for the heads up. cc. @mcremon-meta |