-
Notifications
You must be signed in to change notification settings - Fork 606
[executorch] Manual LICM for mutable/const_data_ptr calls in quantize ops #3784
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
… ops Profiling showed that these calls were not getting inlined in ATen mode. Since function calls can have side effects, lack of inlining prevented the compiler from doing this transform itself. Differential Revision: [D57987182](https://our.internmc.facebook.com/intern/diff/D57987182/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D57987182/)! [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3784
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 007482a with merge base 1ad4ae6 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D57987182 |
…in quantize ops" Profiling showed that these calls were not getting inlined in ATen mode. Since function calls can have side effects, lack of inlining prevented the compiler from doing this transform itself. Differential Revision: [D57987182](https://our.internmc.facebook.com/intern/diff/D57987182/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D57987182/)! [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D57987182 |
…in quantize ops" Profiling showed that these calls were not getting inlined in ATen mode. Since function calls can have side effects, lack of inlining prevented the compiler from doing this transform itself. Differential Revision: [D57987182](https://our.internmc.facebook.com/intern/diff/D57987182/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D57987182/)! [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D57987182 |
This pull request has been merged in d1d2e7a. |
… ops Pull Request resolved: pytorch/executorch#3784 Profiling showed that these calls were not getting inlined in ATen mode. Since function calls can have side effects, lack of inlining prevented the compiler from doing this transform itself. ghstack-source-id: 228354914 @exported-using-ghexport Differential Revision: [D57987182](https://our.internmc.facebook.com/intern/diff/D57987182/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D57987182/)!
Stack from ghstack (oldest at bottom):
Profiling showed that these calls were not getting inlined in ATen mode. Since function calls can have side effects, lack of inlining prevented the compiler from doing this transform itself.
Differential Revision: D57987182
NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!