Skip to content

Dtype selective build for optimized ops #10992

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

Merged
merged 1 commit into from
May 20, 2025
Merged

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #10878 by @lucylq
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/76/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/76/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/75/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/76/orig
@diff-train-skip-merge

Copy link

pytorch-bot bot commented May 20, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10992

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 20, 2025
Base automatically changed from gh/lucylq/75/orig to main May 20, 2025 06:59
Pull Request resolved: #10878

Add dtype selective build for optimized ops. Follows the same process as portable, where we copy the source files and rebuild the library.

1. Generalize copy genrule for portable/optimized/source/header.
2. Copy optimized source files + headers.
3. Build optimized ops using source files, dependencies, portable header.
4. Add test, confirm that we can run addmul with float dtypes (when we remove, the test fails).
ghstack-source-id: 284862896
@exported-using-ghexport

Differential Revision: [D74688554](https://our.internmc.facebook.com/intern/diff/D74688554/)
@kirklandsign kirklandsign added the release notes: misc Miscellaneous label May 20, 2025
@kirklandsign kirklandsign merged commit 56018e1 into main May 20, 2025
91 of 92 checks passed
@kirklandsign kirklandsign deleted the gh/lucylq/76/orig branch May 20, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: misc Miscellaneous
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants