Using stock build snpe-platform-validator 1.39.1 version.
Hardware : Qualcomm Technologies, Inc SM8150
Hardware : Qualcomm Technologies, Inc SM8150
Samsung Galaxy Fold US version
export ADSP_LIBRARY_PATH="/data/local/tmp;/system/lib/rfsa/adsp;/vendor/lib/rfsa/adsp;/vendor/dsp" <All those path in ADSP_LIBRARY_PATH are exist and are readable.
DSP/CPU/GPU runtime are working fine. but not AIP.PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime
PF_VALIDATOR: DEBUG: CPU side validation passed.
PF_VALIDATOR: DEBUG: starting calculator test
PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator_domains.so'. Setting up pointers.
PF_VALIDATOR: DEBUG: Success in executing the sum function
NPU User Driver: npu_read_info 0
PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable
Runtime AIP Prerequisites: Present.
PF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheck
PF_VALIDATOR: DEBUG: Testing for the support of AIP runtime.
Translating kernel ioctl error 25 to npu sts: -1000
NPU User Driver: npu_read_info 0
NPU driver built on: May 15 2020 13:59:30
Metadata version: 2.8.0
NNC Revision: 786dd2a
NNC Branch: npu-nnc
NNC Timestamp: Fri Aug 16 14:37:15 2019
NNC Built On: 2019-08-16T15:28:15
ParseNpuMetaBufferDescriptor layer: [0] -> LAYER_TYPE_PARAM_IN_BUF[0] - [0x00000000 - 64]
ParseNpuMetaBufferDescriptor layer: [0] -> LAYER_TYPE_PARAM_OUT_BUF[0] - [0x00011000 - 3360]
npu_load_network(): perf mode = 0 flags = 0x0
* NPU_Stats: npu_load_network(): NPU + kernel : 289.17 ms
npu_load_network failed
* NPU_Stats: npu_load_network(): 290.50 ms
PF_VALIDATOR: ERROR: The SNPE AIP runtime is not able to load network. return_val: 10001
Unit Test on the runtime AIP: Failed.
SNPE is NOT supported for runtime AIP on the device.
HI, I also got same error in the 865 Linux. are you solve the question ?
same problem, please help.
Dear customer,
What's version SNPE you've used?
Regarding the SNPE AIP runtime, you can ensure the following checklist.
1. quantized model is needed, such as 8bits and 16bits.
2. enable the conversion or quantization debug options in SNPE converter and quantization flow.
SNPE AIP will check the ops supported list to make sure the converting model is matched to requirements.
Or you can share the model to us if you have checked above-mentioned.
BR.
Wei
I am facing a similar issue, can you please share how this got resolved
snpe-platform-validator --runtime dsp PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime PF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheck PF_VALIDATOR: DEBUG: Testing for the support of DSP runtime. PF_VALIDATOR: DEBUG: CPU side validation passed. PF_VALIDATOR: DEBUG: starting calculator test PF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.so PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers. PF_VALIDATOR: ERROR: -2 . Error while executing the sum function. PF_VALIDATOR: ERROR: Please use testsig if using unsigned images. PF_VALIDATOR: ERROR: Also make sure ADSP_LIBRARY_PATH points to directory containing skels. Unit Test on the runtime DSP: Failed. SNPE is NOT supported for runtime DSP on the device. PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable PF_VALIDATOR: DEBUG: CPU side validation passed. PF_VALIDATOR: DEBUG: starting calculator test PF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.so PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers. PF_VALIDATOR: ERROR: -2 . Error while executing the sum function. PF_VALIDATOR: ERROR: Please use testsig if using unsigned images. PF_VALIDATOR: ERROR: Also make sure ADSP_LIBRARY_PATH points to directory containing skels. Runtime DSP Prerequisites: Absent.
facing same issue, is it resolved?
We are not using AIP, this error is encountered while using DSP runtime on snpe-net-run/ snpe-platform-validator. Working with Qualcomm, seems there is an issue there.