Skip to content

Dtype selective build: fail if not xplat, if portable/optimized not in kernel_deps #11020

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 2 commits into from
May 21, 2025

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: #10990 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/79/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/79/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/79/orig
@diff-train-skip-merge

Pull Request resolved: #10990

#10985

Try to make user error harder for dtype selective build.

Currently, if dtype selective build cannot be enabled we silently fallback to regular dtype selective build.

This diff:
1. Emits failure when there is nothing in kernel_deps and dtype_selective_build=True.
2. Remove dtype_selective_build=True for cases in (1).
3. Warning that dtype selective build is not enabled if user is not in xplat.

ghstack-source-id: 285201952

Differential Revision: [D75027794](https://our.internmc.facebook.com/intern/diff/D75027794/)
Copy link

pytorch-bot bot commented May 20, 2025

🔗 Helpful Links

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

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

❌ 3 New Failures

As of commit 9d60711 with merge base 074b392 (image):

NEW FAILURES - The following jobs have failed:

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
@Gasoonjia
Copy link
Contributor

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label May 21, 2025
@kirklandsign kirklandsign merged commit 18859b0 into main May 21, 2025
85 of 88 checks passed
@kirklandsign kirklandsign deleted the gh/lucylq/79/orig branch May 21, 2025 04:35
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: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants