Forums - snpe-net-run fails on GPU

3 posts / 0 new
Last post
snpe-net-run fails on GPU
mdanailov
Join Date: 6 Nov 19
Posts: 1
Posted: Fri, 2021-01-15 13:26

Hi, currently using QCS410 SoC devkit (Linux) with an Adreno GPU 612.    (and SNPE version 1.41.0.2173)

Issue: I cannot run .dlc models on the GPU.

Details: When I try running .dlc models on snpe-net-run and snpe-throughput-net-run with the GPU flag enabled --use_gpu I always get this error: 

error_code=1006; error_message=Invalid constraint. error_code=1006; error_message=Invalid constraint. No GPU device available for target UNKNOWN_SDM; error_component=Model Validation; line_no=79; thread_id=4013401056; error_component=Model Validation; line_no=271; thread_id=4159881232

(Sample command: snpe-throughput-net-run --container ssd_mobilenet_v1_coco_2018_01_28.dlc --duration 5 --use_gpu --perf_profile "default")

I have verified with snpe-platform-validator that the GPU runtime is in fact available:

/snpe-1.41.0.2173/bin/arm-oe-linux-gcc8.2hf # ./snpe-platform-validator --runtime gpu

PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime
PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable
Runtime GPU Prerequisites: Present.
 
I have tried various model containers including:
- the SNPE tutorial inception_v3.dlc, 
- ssd_inception_v2_coco_2018_01_28.dlc
ssd_mobilenet_v1_coco_2018_01_28.dlc, 
ssdlite_mobilenet_v2_coco_2018_05_09,
ssd_mobilenet_v3_small_coco_2019_08_14,
and others.
 
Please help and thank you!

 

  • Up0
  • Down0
hs.chaya
Join Date: 20 Mar 20
Posts: 23
Posted: Mon, 2021-02-22 03:04

Hi, I runned inception_v3.dlc model on snpe-throughput-net-run with gpu flag enabled on QCS610 it is working fine , below is the command and result.

Command : snpe-throughput-net-run --container inception_v3.dlc --duration 5 --use_gpu --perf_profile "default"

*/ Result : [Thread 0 - gpu_float32_16_hybrid] 2.41937 infs/sec - Number of images processed: 13 - Build time: 1633724 microseconds - Elapsed time: 5373303 microseconds - Teardown time: 64042 microseconds
Total throughput: 2.41937 infs/sec

 

 

*/

  • Up0
  • Down0
lewis_bo
Join Date: 27 Mar 22
Posts: 4
Posted: Wed, 2022-05-11 03:21

Excuse me,

    has this problem been solved yet?

    I have the same problem

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