Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QNN Execution Provider - Failed to finalize QNN graph. at location qnn_model.cc:152 FinalizeGraphs #22369

Closed
john-dance opened this issue Oct 9, 2024 · 4 comments
Labels
ep:QNN issues related to QNN exeution provider platform:mobile issues related to ONNX Runtime mobile; typically submitted using template

Comments

@john-dance
Copy link

Describe the issue

Various models result in the error:
Failed to finalize QNN graph. at location qnn_model.cc:152 FinalizeGraphs

To reproduce

The following AI Hub jobs results in Failed to finalized. (Note that these jobs are only visible to members of the QNN Execution Provider team)

In some cases, the log includes more details.

https://app.aihub.qualcomm.com/jobs/j1p8vz6x5/ - line 152
https://app.aihub.qualcomm.com/jobs/joprm4l9g - line 181

https://app.aihub.qualcomm.com/jobs/jnp1moe8p - line 181
[onnxruntime] Pad node /activation_post/downsample/lowpass/Pad is not supported: base_op_builder.cc:162 ProcessOutputs Failed to add node.
[onnxruntime] Failed to finalize QNN graph. at location qnn_model.cc:181 FinalizeGraphs

Urgency

No response

Platform

Android

OS Version

12-14

ONNX Runtime Installation

Built from Source

ONNX Runtime Version or Commit ID

1.19.2

ONNX Runtime API

C++

Architecture

ARM64

Execution Provider

Other / Unknown

Execution Provider Library Version

QNN 2.26

@github-actions github-actions bot added ep:QNN issues related to QNN exeution provider platform:mobile issues related to ONNX Runtime mobile; typically submitted using template labels Oct 9, 2024
Copy link
Contributor

github-actions bot commented Nov 9, 2024

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Nov 9, 2024
@john-dance
Copy link
Author

The first example now succeeds with QNN 2.27, but the second example still fails.

@github-actions github-actions bot removed the stale issues that have not been addressed in a while; categorized by a bot label Nov 20, 2024
@HectorSVC
Copy link
Contributor

For the QNN graph finalize error, it's something wrong with QNN. Need to create case to QNN team to ask them to investigate more on this.

@john-dance
Copy link
Author

Will follow up with QNN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:QNN issues related to QNN exeution provider platform:mobile issues related to ONNX Runtime mobile; typically submitted using template
Projects
None yet
Development

No branches or pull requests

2 participants