-
Notifications
You must be signed in to change notification settings - Fork 732
Include custom ops in xnn_executor_runner if they're built #9069
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
|
Stack from ghstack (oldest at bottom): |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9069
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 7fcc04e with merge base 94a8bc7 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
backends/xnnpack/CMakeLists.txt
Outdated
| endif() | ||
|
|
||
| if(EXECUTORCH_BUILD_KERNELS_CUSTOM) | ||
| list(APPEND xnn_executor_runner_libs custom_ops) |
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.
| list(APPEND xnn_executor_runner_libs custom_ops) | |
| list(APPEND xnn_executor_runner_libs $<LINK_LIBRARY:WHOLE_ARCHIVE,custom_ops>) |
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.
The above diff works for me.
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.
fixed
iseeyuan
left a comment
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.
Let's land it!
(We should probably merge xnn_executor_runner and executor_runner if there's no particular use for a portable-only runner, but hey this is an incremental improvement.)