Forums - No GPU device available for target UNKNOWN_SDM on 820A

3 posts / 0 new
Last post
No GPU device available for target UNKNOWN_SDM on 820A
lewis_bo
Join Date: 27 Mar 22
Posts: 4
Posted: Thu, 2022-05-19 04:44
 
There was an error when I ran a DLC model on the 820A, the message is as follows:
My snpe sdk version is:1.60.0.3313 , andorid version is 8.1.0 , sdk version is 27
 
com.qualcomm.qti.snpe.SnpeError$NativeException: Unable to create network! Cause: error_code=1006; error_message=Invalid constraint. error_code=1006; error_messag
e=Invalid constraint. No GPU device available for target UNKNOWN_SDM; error_component=Model Validation; line_no=77; thread_id=485478470896; error_component=Model Valid
ation; line_no=267; thread_id=488248703400
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2790)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2868)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.ActivityThread.-wrap11(Unknown Source:0)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:107)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:164)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6553)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:444)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
05-19 18:04:22.648 11517 11517 E AndroidRuntime: Caused by: com.qualcomm.qti.snpe.SnpeError$NativeException: Unable to create network! Cause: error_code=1006; error_me
ssage=Invalid constraint. error_code=1006; error_message=Invalid constraint. No GPU device available for target UNKNOWN_SDM; error_component=Model Validation; line_no=
77; thread_id=485478470896; error_component=Model Validation; line_no=267; thread_id=488248703400
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.qualcomm.qti.snpe.SnpeError.getSnpeNativeError(SnpeError.java:35)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.qualcomm.qti.snpe.internal.NativeNetwork.<init>(NativeNetwork.java:83)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.qualcomm.qti.snpe.SNPE$NeuralNetworkBuilder.build(SNPE.java:415)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.lixiang.dip.ai.encryptpic.model.SnpeModelLoader.load(SnpeModelLoader.java:89)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.lixiang.dip.ai.encryptpic.api.DefaultEcnryptProcessor.encrypt(DefaultEcnryptProcessor.java:31)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at com.lixiang.dip.ai.snpe.MainActivity.onCreate(MainActivity.java:81)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:7023)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:7014)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1217)
05-19 18:04:22.648 11517 11517 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2743)
 
Thank you for you help
 

 

  • Up0
  • Down0
lewis_bo
Join Date: 27 Mar 22
Posts: 4
Posted: Mon, 2022-05-30 18:47
I try it and  work on 820A when snpe sdk version <= 1.41
I think the high versions are no longer supported 

 

  • Up0
  • Down0
kingtwelve
Join Date: 20 Sep 22
Posts: 1
Posted: Tue, 2022-09-27 23:57

Hello, I encounter the same problem when I deploy the inference on 855 using snpe 1.66. Do you have any solution?

When I entered "snpe-platform-validator --runtime all", it display "SNPE is not supported on this SoC."

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