Skip to content

Change Enable KleidiAI to default in CMake #12511

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

Open
wants to merge 4 commits into
base: release/0.7
Choose a base branch
from

Conversation

pytorchbot
Copy link
Collaborator

No description provided.

Copy link

pytorch-bot bot commented Jul 15, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit f533532 with merge base de24489 (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 Jul 15, 2025
@psiddh psiddh requested review from psiddh and jathu July 16, 2025 16:33
@jathu
Copy link
Contributor

jathu commented Jul 16, 2025

@psiddh @mcr229 I left a comment on discord, but I don't think we should do this. Does this really need to be turned on for every single build? It's also causing apple benchmark tests to be broken

@psiddh
Copy link
Contributor

psiddh commented Jul 16, 2025

@psiddh @mcr229 I left a comment on discord, but I don't think we should do this. Does this really need to be turned on for every single build? It's also causing apple benchmark tests to be broken

Yeah looks like the default is 'ON' now. Also does it mean we need to revert it on main as well ?

Moreover looks like there is already an option (cmake arg: -DEXECUTORCH_XNNPACK_ENABLE_KLEIDI) to enable / disable KleidiAI

cc @larryliu0820

@mcr229
Copy link
Contributor

mcr229 commented Jul 16, 2025

@jathu hey yea this is a requirement. We should turn this on by default. If we want good performance to come out of the box rather than have users hand configure the cmake options then we need to make it default. This is also an ask by Arm folks

@mcr229
Copy link
Contributor

mcr229 commented Jul 16, 2025

#12552

i have a forward fix to fix the apple builds.

@larryliu0820
Copy link
Contributor

#12552

i have a forward fix to fix the apple builds.

Please cherry pick that as well

@mcr229
Copy link
Contributor

mcr229 commented Jul 17, 2025

#12552
i have a forward fix to fix the apple builds.

Please cherry pick that as well

yup let's leave this open until my fix lands and its cherry picked. apologies for the complexity

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants