Skip to content

Conversation

@snnn
Copy link
Contributor

@snnn snnn commented Oct 24, 2025

Upgrade cpuinfo to a newer version to maintain it up to date.

Changming Sun added 3 commits October 23, 2025 18:23
This PR fixes an issue where KleidiAI was incorrectly enabled on systems that support SME1 but not SME2, leading to crashes.

The issue was reported in #26377.

The fix involves changing the check in onnxruntime/core/mlas/lib/platform.cpp to use HasArm_SME2() instead of HasArm_SME(). This ensures that KleidiAI is only enabled on systems that have SME2 support.
@snnn snnn merged commit 6e19cbd into main Oct 27, 2025
92 checks passed
@snnn snnn deleted the users/snnn/upgrade_cpuinfo branch October 27, 2025 18:27
naomiOvad pushed a commit to naomiOvad/onnxruntime that referenced this pull request Nov 2, 2025
Upgrade cpuinfo to a newer version to maintain it up to date.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants