Skip to content

Dtype selective build: check if portable/optimized in deps #10998

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

lucylq
Copy link
Contributor

@lucylq lucylq commented May 20, 2025

Stack from ghstack (oldest at bottom):

When dtype selective build is enabled:
Show a warning if kernel_deps does not contain portable/optimized
Error out if deps contains portable/optimized, and it is also in kernel_deps.

Differential Revision: D74922471

When dtype selective build is enabled:
Show a warning if kernel_deps does not contain portable/optimized
Error out if deps contains portable/optimized, and it is also in kernel_deps.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented May 20, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit ecd1cb7 with merge base d50f26f (image):
💚 Looks good so far! There are no failures yet. 💚

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

lucylq added a commit that referenced this pull request May 20, 2025
When dtype selective build is enabled:
Show a warning if kernel_deps does not contain portable/optimized
Error out if deps contains portable/optimized, and it is also in kernel_deps.

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

ghstack-source-id: 285013949
Pull Request resolved: #10998
@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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74922471

@lucylq lucylq added the release notes: none Do not include this in the release notes label May 20, 2025
When dtype selective build is enabled:
Show a warning if kernel_deps does not contain portable/optimized
Error out if deps contains portable/optimized, and it is also in kernel_deps.

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74922471

@facebook-github-bot facebook-github-bot merged commit 6065894 into gh/lucylq/80/base May 21, 2025
168 of 170 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/lucylq/80/head branch May 21, 2025 00:57
kirklandsign pushed a commit that referenced this pull request May 21, 2025
Pull Request resolved: #10998

When dtype selective build is enabled, error out if `kernel_deps` contains portable/optimized ops, and `deps` also contains portable/optimized. The check is recursive, ie, if any item in `deps` transitively depends on portable/optimized.

Differential Revision: [D74922471](https://our.internmc.facebook.com/intern/diff/D74922471/)
ghstack-source-id: 285201954
kirklandsign pushed a commit that referenced this pull request May 21, 2025
Pull Request resolved: #10998

When dtype selective build is enabled, error out if `kernel_deps` contains portable/optimized ops, and `deps` also contains portable/optimized. The check is recursive, ie, if any item in `deps` transitively depends on portable/optimized.

Differential Revision: [D74922471](https://our.internmc.facebook.com/intern/diff/D74922471/)
ghstack-source-id: 285201954
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. fb-exported release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants