microsoft / microsoft/onnxruntime
[ARM][CPU] Unit test and onnx_runtime_perf test gives cpuinfo error for new Windows ARM chips
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
### Describe the issue
Compiling with unit test enabled or running simile resnet50 through onnxruntime_perf_test gives cpuinfo error.
Error in cpuinfo: Unknown chip model name 'Snapdragon(R) X Elite - X1E78100 - Qualcomm(R) Oryon(TM) CPU'.
### To reproduce
Compile latest onnxruntime (main branch) with below command line

or using default command (CPU only) with arm64 option.
Don't see this issue when running through win-x64 binaries on ARM64.
Several unit test fails with error

This issue also happens with prebuild package - https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.QNN
Running onnxruntime_perf_test on Asus X Elite targeted for CPU -

### Urgency
_No response_
### Platform
Windows
### OS Version
Windows 11 Home 10.0.26100
### ONNX Runtime Installation
Built from Source
### ONNX Runtime Version or Commit ID
https://github.com/microsoft/onnxruntime/commit/80b56feb412f7b9a637efee5ab2f31d00ec07643
### ONNX Runtime API
C++
### Architecture
ARM64
### Execution Provider
Default CPU
### Execution Provider Library Version
_No response_
Contributor guide
Research direction
Start by locating the CPU information handling that reports the unknown Snapdragon chip model, then reproduce the failure with the ARM64 unit tests or onnxruntime_perf_test described in the issue. Confirm that the reported Snapdragon(R) X Elite model is recognized and that the affected tests and CPU performance run no longer produce the cpuinfo error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100