Forums - qnn-net-run Device Creation failure

2 posts / 0 new
Last post
qnn-net-run Device Creation failure
g1o2n3g4
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
            }]
        }
    ]
}

 

  • Up0
  • Down0
qiang.tang2
Join Date: 6 Feb 24
Posts: 1
Posted: Tue, 2024-02-06 23:23

the same error , any solution to me , thanks !

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.