-
Notifications
You must be signed in to change notification settings - Fork 24.2k
cpp_wrapper: build non-performance-sensitive code at O1 #148773
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
base: gh/benjaminglass1/77/base
Are you sure you want to change the base?
cpp_wrapper: build non-performance-sensitive code at O1 #148773
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148773
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 3f8f457 with merge base 76f182f ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
# Currently, the optimized_code field is only used for cpp kernel code, | ||
# so go ahead and precompile the relevant header here. Revisit this | ||
# decision if that ever changes. |
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.
Reviewers, this decision is something I'd like review on.
Builds on #148212, applying the same improvements to `cpp_wrapper` mode. ghstack-source-id: 64b5dd7 Pull Request resolved: pytorch/pytorch#148773
Stack from ghstack (oldest at bottom):
Builds on #148212, applying the same improvements to
cpp_wrapper
mode. Sample benchmark results on A100.cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov