Exception during initialization: safeint.h:17 static void SafeIntExceptionHandler<onnxruntime::OnnxRuntimeException>::SafeIntOnOverflow() Integer overflow - caused by int64 index of -1? #22694
Labels
ep:QNN
issues related to QNN exeution provider
platform:mobile
issues related to ONNX Runtime mobile; typically submitted using template
Describe the issue
When using the QNN EP, there is an integer overflow on model load.
The model loads and runs on the CPU, or with TfLite delegate. Perhaps helpful is that with TfLite, the QNN delegate fails to prepare so it falls back to running on the GPU+CPU.
Perhaps the following TfLite messages help narrow down the problem with the QNN EP:
[tflite] graph_prepare.cc:210:ERROR:could not create op: q::GatherNd.constIdx.tcm
[tflite] "node_id_512_op_type_GatherNd_op_count_0" generated: could not create op
To reproduce
Use ORT + QNN EP to run the model found in this AI Hub job: https://app.aihub.qualcomm.com/jobs/jp4lvkx15
(Note: Only Microsoft QNN engineers will have access.)
Urgency
No response
Platform
Android
OS Version
14
ONNX Runtime Installation
Built from Source
Compiler Version (if 'Built from Source')
No response
Package Name (if 'Released Package')
None
ONNX Runtime Version or Commit ID
1.19.2
ONNX Runtime API
C++/C
Architecture
ARM64
Execution Provider
Other / Unknown
Execution Provider Library Version
QNN
The text was updated successfully, but these errors were encountered: