microsoft / microsoft/onnxruntime

[ARM][CPU] Unit test and onnx_runtime_perf test gives cpuinfo error for new Windows ARM chips

Open
#21,393 3 comments 0 reactions 0 assignees View on GitHub
contributions welcome platform:windows
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
![image](https://github.com/user-attachments/assets/9edd3d36-6b16-4605-8d20-9f38ae083216)

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
![image](https://github.com/user-attachments/assets/36c709d7-cd98-4f83-bf7e-4a327f2ddb4b)

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 -

![image](https://github.com/user-attachments/assets/99b1dc45-76bd-401b-9d69-c6a71c99d25b)

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.