-
Notifications
You must be signed in to change notification settings - Fork 24.7k
cpp_wrapper: Precompile device-specific header files #144002
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
cpp_wrapper: Precompile device-specific header files #144002
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/144002
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 5 PendingAs of commit 7c342c1 with merge base 93d98ac ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@desertfire I've stacked the remainder of the test bugfix stack underneath this, temporarily, in order to test whether the speedups here allow us to run the full suite of inductor tests. Hopefully we'll just be able to merge those out from underneath this, but if not I'll unstack whenever you need. |
@desertfire has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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.
Chatted offline and test will come in a follow-up PR.
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
@pytorchbot revert -m 'Sorry for reverting your change but this breaks some inductor tests running internally' -c ghfirst
I think @desertfire has been looking into the failure |
@pytorchbot successfully started a revert job. Check the current status here. |
@benjaminglass1 your PR has been successfully reverted. |
This reverts commit de6efa1. Reverted #144002 on behalf of https://github.com/huydhn due to Sorry for reverting your change but this breaks some inductor tests running internally ([comment](#144002 (comment)))
@desertfire @huydhn I'll open a new PR to re-land this in, to avoid any issues with the associated internal revision. |
This saves us about a second per compilation, which is _massive_ for the OpInfo tests. Total OpInfo test runtime is down about 2x. ghstack-source-id: 84d4ba3 Pull Request resolved: pytorch/pytorch#144002
This saves us about a second per compilation, which is _massive_ for the OpInfo tests. Total OpInfo test runtime is down about 2x from this change alone. Relands #144002, with changes needed by fbcode internals. Pull Request resolved: #146928 Approved by: https://github.com/desertfire
Stack from ghstack (oldest at bottom):
This saves us about a second per compilation, which is massive for the OpInfo tests. Total OpInfo test runtime is down about 2x from this change alone.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
Differential Revision: D69185685