[Mobile] QNN-EP graph preparation failed #21800
Labels
ep:QNN
issues related to QNN exeution provider
platform:mobile
issues related to ONNX Runtime mobile; typically submitted using template
Describe the issue
I'm struggling with the inference of an ONNX model using QNN EP on an android device, the graph preparation fails with the following trace:
The model:
The QNN EP config:
Tested with both QNN 2.24 & 25 and ORT 1.18.1 & 1.19
The shape is large (4k grids) so it might be a VTCM memory issue with the tiling, but I have no way to make sure of that. Does anyone know how can I check.
Interestingly enough, removing the multiplier and subtraction operation helps with this.
I wonder if there is any way to use another EP for this specific op but I'm very new to the use of EP and I haven't (yet) found the corresponding doc.
Thank you in advance
To reproduce
to obtain a minimalistic model that reproduce the issue:
Urgency
No response
Platform
Android
OS Version
12
ONNX Runtime Installation
Built from Source
Compiler Version (if 'Built from Source')
ndk26c
Package Name (if 'Released Package')
onnxruntime-android
ONNX Runtime Version or Commit ID
1.19.0
ONNX Runtime API
C++/C
Architecture
X64
Execution Provider
Other / Unknown
Execution Provider Library Version
qnn-v2.25.0.240728104910_97711
The text was updated successfully, but these errors were encountered: