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.
SNPE support for SD888
Posted: Wed, 2021-03-03 21:04
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.
+1
+1
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?
+1
Up to now (March 2021) we are still not able to run SNPE DSP runtime on SD888 (device Xiaomi 11).
Any feedback? Thanks
when use --dsp flag, also need to add --platform_options unsignedPD:ON flag to enable snpe use unsigned PD to run on dsp
Hi, jjdjiang.
Did you succeed in running on dsp of 888?
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.
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!
unsignedPD doesn't work on my Mi11 (snapdragon 888).
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.
Hi,
Could you try to update your XIAOMI 11?
This issue should be resolved by the latest update.
Thanks,
Juan
update system and snpe version, but it keeps coming up
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!!!
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.
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!
updated the system but i don't see any difference