SNPE cannot work with DSP on SA8155P
Join Date: 16 Sep 20
Posts: 1
Posted: Thu, 2020-09-17 23:16
Hi.
I'm trying to run neural network with different runtimes on SA8155P.
I have followed all the operations described in snpe-1.37.0.788/doc/html/tutorial_inceptionv3.html.
The snpe-net-run worked well when CPU or GPU selected.
But something went wrong when DSP selected. I got some error info as bellow:
"""A t7b53d56ed0 /local/mnt/workspace/pcgbait/docker.ci.tmp/build/aarch64-android-clang6.0/SecondParty/qspower/src/qspower/core/src/internal/soc/topology.c:575 Not a Power Optimization SDK supported QTI SoC. Assuming homogeneous SoC.
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=294; thread_id=529532751184; error_component=Host Runtime; line_no=263; thread_id=529687473872"""
By the way, there is no directory which named '/dsp' in the target filesystem. I'm not sure if this is ok.
What can i do with this?
push snpe-platform-validator to your phone and run it to see if DSP is supported by your phone. Something like this:
Hello, I met the same problem. Have you solved the problem? Thanks
Hello,
I had a similar issue with the same message saying the runtime is unavailable.
After running the install_adsp_ps.py script from $HEXAGON_SDK_ROOT/scripts, the issue was solved.
Hi, mihalea
I met a similar issue that I do not find /dsp in my filesystem.
In addition, I do not find $HEXAGON_SDK_ROOT/scripts folder. So, where is install_adsp_ps.py script file or which version is your SDK?
Thanks for your help.
Hello xuyq,
I have the 3.5.2 version of the Hexagon SDK. I haven't checked if previous versions have the script but this one should.
Hi mihalea,
According to your instruction, I find this script and sucessfully use command to run my model by DSP. But when I use android APK to run my model by DSP, it also said dsp is unavailable.
Therefore, ask you again, do you know why this is?
Thanks very much, my friend.
Hello,
No, I am not sure why it still doesn't work for you, since that script solved the problem in my case.