Forums - Snpe dsp on 8450

3 posts / 0 new
Last post
Snpe dsp on 8450
danweil24
Join Date: 17 Nov 21
Posts: 12
Posted: Sun, 2022-03-20 06:59

Hey,

I have the new HDK8450. I have tried to run a CNN with snpe 1.52 on  DSP runtime and it falls back to CPU. The same code works with DSP on 8350. is snpe support running in HDK8450 DSP? 

Thanks.Dan 

  • Up0
  • Down0
pablog
Join Date: 28 Feb 21
Posts: 11
Posted: Tue, 2022-03-22 06:01

Hi!

I have the same problem (SNPE 1.6.0). When running snpe-platform-validator I am getting this:

taro:/data/local/tmp/snpe_1_6 $ print $LD_LIBRARY_PATH
/data/local/tmp/snpe_1_6
taro:/data/local/tmp/snpe_1_6 $ export ADSP_LIBRARY_PATH="$(pwd)/dsp;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp"                                                                                     
taro:/data/local/tmp/snpe_1_6 $ ./snpe-platform-validator --runtime all                                                                                                                                           
SNPE is not supported on this SoC.
  • Up0
  • Down0
conan353
Join Date: 3 Feb 20
Posts: 12
Posted: Tue, 2022-03-22 09:35

I got exactly same kind of error when trying to '--use_dsp' with snpe_bench.py on 8450 HDK. 

The error message looks like:

2022-03-22 09:25:52,371 - ERROR - snpebm.snpebm_device: ['error_code=500; error_message=Target runtime is not available. error_code=500; error_message=Target runtime is not available. No viable runtimes available.; error_component=Host Runtime; line_no=409; thread_id=518391090432; error_component=Host Runtime; line_no=267; thread_id=531661673720']
2022-03-22 09:25:52,372 - WARNING - snpe_bench: Failed to perform benchmark for DSP_ub_tf8_timing.
 
Maybe the SNPE SDK still cannot fully support convert models which support sm8450. The snpe-dlc-quantize tool in the latest SNPE v1.60 only has knob like '--htp_socs sm8350' instead of 'sm8450'. 
  • 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.