Skip to content

Conversation

@kirklandsign
Copy link
Contributor

@kirklandsign kirklandsign commented May 9, 2025

Currently it's built into portable kernels only. Other kernels used it, and the runner must include portable kernel to avoid undefined symbols. We need to split these utils out. A fix for #10677 without BC breaking.

@pytorch-bot
Copy link

pytorch-bot bot commented May 9, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 4675d97 with merge base 6e959be (image):

NEW FAILURE - The following job has 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 9, 2025
@kirklandsign kirklandsign added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label May 9, 2025
@kirklandsign kirklandsign changed the title test Make a separate target for kernel utils May 9, 2025
@kirklandsign kirklandsign marked this pull request as ready for review May 9, 2025 21:11

[targets.kernels_util_all_deps]
buck_targets = [
"//kernels/portable/cpu/util:all_deps",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if its used by other kernels can we move it out of portable/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried. So many things can be broken, so I wouldn't bother right now.

@kirklandsign kirklandsign merged commit adde519 into main May 12, 2025
197 of 198 checks passed
@kirklandsign kirklandsign deleted the split-utils branch May 12, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants