qnn-net-run Device Creation failure
Join Date: 24 Nov 23
Posts: 1
Posted: Tue, 2024-01-23 00:31
We are trying to run the example according to Qualcomm AI Stack Stable Diffusion Demo using qnn-net-run on one Qualcomm Android phone with a Snapdragon Gen 3 with Android version 34, and the version of qnn is 2.17.0.231124.
But we got "Device Creation failure" with the command as follows:
/data/local/tmp/qnn_assets/QNN_binaries/qnn-net-run --retrieve_context /data/local/tmp/qnn_assets/QNN_binaries/text_encoder.serialized.bin --backend /data/local/tmp/qnn_assets/QNN_binaries/libQnnHtp.so --input_list /data/local/tmp/qnn_assets/QNN_binaries/input_list.txt --output_dir /data/local/tmp/qnn_assets/QNN_binaries --config_file /data/local/tmp/qnn_assets/QNN_binaries/htp_config.json --log_level verbose
And the htp_config.json is as follows.
{
"graphs": {
"vtcm_mb":8,
"graph_names":["qnn_model"]
},
"devices": [
{
"soc_id": 57,
"dsp_arch": "v75",
"cores":[{
"core_id": 0,
"perf_profile": "burst",
"rpc_control_latency":100
}]
}
]
}
the same error , any solution to me , thanks !