Forums - SNPE support for SD888

18 posts / 0 new
Last post
SNPE support for SD888
alex.udrescu
Join Date: 12 Jun 18
Posts: 1
Posted: Wed, 2021-03-03 21:04

Is there DSP support in SNPE for Snapdragon 888 devices?  Currently using v1.47.0.2501 and getting a runtime is not available error when --use_dsp flag is used.  I'm running this through the snpe_bench tool so the dsp environment should be set up correctly.

  • Up0
  • Down0
wangft0326
Join Date: 16 Sep 19
Posts: 3
Posted: Wed, 2021-03-03 22:01

HI,all

I am also concerned about this issue.

 

My device is XIAOMI 11 with Snapdragon 888 devices. But the android app provided by SNPE example can run model in the DSP or AIP. I also can not find related information in the SNPE release notes.

  • Up0
  • Down0
wangyx0704
Join Date: 1 Nov 17
Posts: 1
Posted: Fri, 2021-03-05 00:01

+1

  • Up0
  • Down0
shuki.katz
Join Date: 13 Jan 21
Posts: 2
Posted: Wed, 2021-03-10 02:08

+1

  • Up0
  • Down0
conan353
Join Date: 3 Feb 20
Posts: 12
Posted: Wed, 2021-03-10 20:54

Have tried SNPE examples on the official S888 HDK, it still doesn't work.

Currently we can only invoke HVX with HEXAGON SDK, but it seems no way to invoke HTA.

Anyone has any idea?

 

 

  • Up0
  • Down0
qiang.ma
Join Date: 1 Sep 20
Posts: 3
Posted: Thu, 2021-03-25 02:34

+1

Up to now (March 2021) we are still not able to run SNPE DSP runtime on SD888 (device Xiaomi 11).

Any feedback? Thanks

  • Up0
  • Down0
abxr7y
Join Date: 10 Nov 20
Posts: 6
Posted: Thu, 2021-03-25 06:41

when use --dsp flag, also need to add   --platform_options unsignedPD:ON   flag to enable snpe use unsigned PD to run on dsp

  • Up0
  • Down0
gunsuk.seo
Join Date: 11 May 20
Posts: 8
Posted: Fri, 2021-03-26 01:11

Hi, jjdjiang.

Did you succeed in running on dsp of 888?

  • Up0
  • Down0
abxr7y
Join Date: 10 Nov 20
Posts: 6
Posted: Fri, 2021-03-26 06:01

I refer to SNPE's official inceptionV3 tutorial, linked here at https://developer.qualcomm.com/docs/snpe/tutorial_inceptionv3.html. In the last step of using the snpe-net-run tool, except for the -- use_dsp parameter, add --platform_options unsignedPD:ON to successfully run on 888 (command is snpe-net-run --container inception_v3_udo_quantized.dlc --input_list target_raw_list.txt --udo_package_path dsp/libUdoSoftmaxUdoPackageReg.so --use_dsp --platform_options unsignedPD:ON)

, my device is MI 11.

  • Up0
  • Down0
conan353
Join Date: 3 Feb 20
Posts: 12
Posted: Fri, 2021-03-26 21:40

Trying to benchmark with the config "unsignedPD:ON" on S888 HDK device DSP, keep getting the following error:

2021-03-26 21:30:16,556 - INFO - snpe_bench: Running on DSP_ub_tf8_timing
2021-03-26 21:30:16,556 - INFO - snpe_bench: Run 1
2021-03-26 21:30:31,868 - ERROR - snpebm.snpebm_device: ['PlatformOptions (unsignedPD:ON) set successful config option is valid', 'The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.']
2021-03-26 21:30:31,868 - 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=422; thread_id=501760306432; error_component=Host Runtime; line_no=263; thread_id=514423280888']

Also, can Mi 11 run NNs with AIP runtime? (--use_aip)

Thx!

  • Up0
  • Down0
qiang.ma
Join Date: 1 Sep 20
Posts: 3
Posted: Mon, 2021-03-29 06:01

unsignedPD doesn't work on my Mi11 (snapdragon 888).

PlatformOptions (unsignedPD:ON) set successful config option is valid
The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.
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=456; thread_id=478882131200; error_component=Host Runtime; line_no=264; thread_id=481203758328
 
Two more observations:
on Mi10 (snapdragon 865), snpe-net-run works without any platform option settings;
on Mi11, snpe-net-run works with gpu runtime.
 
It's quite annoying if third-party developer can't use SNPE DSP runtime
  • Up0
  • Down0
conan353
Join Date: 3 Feb 20
Posts: 12
Posted: Mon, 2021-03-29 22:00

Really strange.

I thought that only 888 HDK is not well-supported, however it seems current SNPE cannot support all kinds of 888 powered mobile device either?? 

Hi abxr7y: could you please give more details about your Mi 11 device? Is it a special version or just common one purchased on market?

Thanks.

  • Up0
  • Down0
juanli
Join Date: 17 Jun 16
Location: San Diego
Posts: 2
Posted: Mon, 2021-04-05 20:24

Hi,

Could you try to update your XIAOMI 11?

This issue should be resolved by the latest update.

Thanks,

Juan

  • Up0
  • Down0
707654930
Join Date: 3 Feb 21
Posts: 3
Posted: Thu, 2021-05-13 01:56

update system and snpe version, but it keeps coming up

  • Up0
  • Down0
pablog
Join Date: 28 Feb 21
Posts: 11
Posted: Mon, 2021-05-31 00:16

Same issue with Samsung Galaxy S21... DSP/AIP not working :(

The inference is working properly on SD855+ using the DSP, but not on SD888. I am using SNPE v1.50.0.2622. I have the last update from Samsung in the mobile.

Thanks in advance!!!

  • Up0
  • Down0
pablog
Join Date: 28 Feb 21
Posts: 11
Posted: Wed, 2021-06-02 00:18

 

It seems that verions 1.5 have some problems with SD888. I downgraded to 1.49 and it seems that I am getting results with more sense.

  • Up0
  • Down0
james.wagner
Join Date: 16 Jun 21
Posts: 1
Posted: Wed, 2021-06-16 17:35

We are looking to start developing using SNPE on Samsung Galaxy S21, SD888.

We want to target the DSP/AIP hardware, as well as CPU + GPU.

Is this currently supported with the SNPE SDK? The documentation states that support is currently up to SD855

Thanks!

  • Up0
  • Down0
kennedystewart341893
Join Date: 20 Jun 21
Posts: 1
Posted: Mon, 2021-06-21 00:03

updated the system but i don't see any difference

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