-
Couldn't load subscription status.
- Fork 704
Save some size in dtype_util when dtype selective build is not in use #9829
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9829
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ef74fe1 with merge base 5fcb6b8 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
ugh, ghstack seems to have duplicated a ton of PRs in this stack |
|
duplicate PR |
We duplicate a lot of functions depending on the operator name so that dtype selective build will work. We can just detect if dtype selective build is in use and, if not, stop duplicating. Test Plan: Saves 28288 bytes of text in size_test_all_optimized_ops compared to previous PR on my Mac. ghstack-source-id: 2edc60c ghstack-comment-id: 2761913331 Pull-Request-resolved: pytorch/executorch#9742 ghstack-source-id: 2edc60c ghstack-comment-id: 2771183226 Pull Request resolved: pytorch/executorch#9829
We duplicate a lot of functions depending on the operator name so that dtype selective build will work. We can just detect if dtype selective build is in use and, if not, stop duplicating.
Test Plan: Saves 28288 bytes of text in size_test_all_optimized_ops compared to previous PR on my Mac.
Pull-Request-resolved: #9742