Forums - snpe-net-run fails when using DSP

3 posts / 0 new
Last post
snpe-net-run fails when using DSP
alex2
Join Date: 13 Nov 19
Posts: 2
Posted: Thu, 2020-01-16 09:43

Environmnet: QCS603, SNPE 1.27 or 1.28 (both result in the same failure).

 

Attempting to run

 

export SNPE_ARCH=arm-oe-linux-gcc6.4hf
export SNPE_STORAGE=/home/root
export SNPE_INSTALL=$SNPE_STORAGE/snpe-1.27.2.414
export SNPE_ARCH_LIB=$SNPE_INSTALL/lib/$SNPE_ARCH
export SNPE_ARCH_BIN=$SNPE_INSTALL/bin/$SNPE_ARCH
export SNPE_ADDITIONAL_PARAMS=--use_dsp 
 
ADSP_LIBRARY_PATH="$SNPE_INSTALL/lib/dsp;/usr/lib/rfsa/adsp;/dsp/adsp" LD_LI
BRARY_PATH=$LD_LIBRARY_PATH:$SNPE_ARCH_LIB $SNPE_ARCH_BIN/snpe-net-run -containe
r $SNPE_STORAGE/model.dlc --input_list $SNPE_STORAGE/input.txt  --perf_profile h
igh_performance --output_dir $SNPE_STORAGE --debug --enable_cpu_fallback $SNPE_A
DDITIONAL_PARAMS
results in the following failure
 
error_code=910; error_message=DSP runtime system error. Failed to execute network.  Error code: -6.; error_component=DSP Runtime; line_no=385; thread_id=3069255696
When '--use-dsp' is omitted, the command completes successfully. 'snpe-throughput-net-run' completes successfully even WITH '--use-dsp', using the same exact model.

 

  • Up0
  • Down0
yaoxingwei
Join Date: 7 Apr 20
Posts: 2
Posted: Fri, 2020-04-24 02:26

Hi,

I got the same error when I run dsp mode by snpe-1.73.0 in Pixel 4, GPU is ok with the same dlc and inputs.

'error_code=910; error_message=DSP runtime system error. Failed to execute network.  Error code: -6.; error_component=DSP Runtime; line_no=397; thread_id=499181485776'
 
Do you get some solution? Thanks.
  • Up0
  • Down0
carlos1
Join Date: 16 Mar 20
Posts: 5
Posted: Mon, 2020-06-01 09:15

Hi

Similar error (SNPE 1.37) with different hardware (dsp works for inception v3)

Using --runtime_order dsp_fixed8_tf (or --use_dsp):

error_code=900; error_message=Layer is not supported in DSP. error_code=900; error_message=Layer is not supported in DSP. Layer conv1_1/Elu: Activation function ELU is not supported on DSP runtime.; error_component=DSP Runtime; line_no=450; thread_id=504137391440; error_component=DSP Runtime; line_no=263; thread_id=504329957072

Using --runtime_order dsp_fixed8_tf,gpu_float16

error_code=910; error_message=DSP runtime system error. error_code=910; error_message=DSP runtime system error. Failed to load network.  Error code: -6.; error_component=DSP Runtime; line_no=340; thread_id=542069214544; error_component=DSP Runtime; line_no=263; thread_id=542296309456

 

If i use cpu or gpu to run the dlc file, command completes successfully.

  • 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.