Skip to content

[Build] The ONNX Runtime script fails to execute when using the wheel built with QNN version 2.35. #25114

@AviIIT

Description

@AviIIT

Describe the issue

I successfully built the ONNX Runtime wheel file, with QNN version 2.35, following the steps from ORT QNN Build as below:

  1. git clone --recursive https://github.com/Microsoft/onnxruntime.git
  2. cd onnxruntime
  3. .\build.bat --arm64ec --use_qnn --qnn_home C:\Qualcomm\AIStack\QAIRT\2.35.0.250530 --build_shared_lib --build_wheel --cmake_generator "Visual Studio 17 2022" --config Release --parallel --build_dir .\build\Windows --skip_tests

I have installed the ARM version of CMake , Python 3.12.9 (AMD64), and Visual Studio.

The build completed successfully, and the wheel file was generated. However, when I attempt to run a Python script using ONNX Runtime, it fails silently—there’s no output or error message.

Urgency

No response

Target platform

ARM

Build script

  1. git clone --recursive https://github.com/Microsoft/onnxruntime.git
  2. cd onnxruntime
  3. .\build.bat --arm64ec --use_qnn --qnn_home C:\Qualcomm\AIStack\QAIRT\2.35.0.250530 --build_shared_lib --build_wheel --cmake_generator "Visual Studio 17 2022" --config Release --parallel --build_dir .\build\Windows --skip_tests

Error / output

Failed without any giving error.

Visual Studio Version

No response

GCC / Compiler Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templateep:QNNissues related to QNN exeution providerstaleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions