PaddlePaddle / Paddle-Lite

PaddlePaddle High Performance Deep Learning Inference Engine for Mobile and Edge (飞桨高性能深度学习端侧推理引擎)
https://www.paddlepaddle.org.cn/lite
Apache License 2.0
6.92k stars 1.61k forks source link

Segmentation fault PaddleLite-generic-demo #10229

Closed THE-WAN1 closed 1 week ago

THE-WAN1 commented 1 year ago

[I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:81 Context] input_quant_params size: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:95 Context] skip_symm2asymm: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:103 Context] skip_asymm2symm: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:110 Context] enable_fp16: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:118 Context] enable_profile: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:128 Context] profile_level: [W 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:131 Context] Use the property 'QUALCOMM_QNN_PROFILE_LEVEL' to set the profile level, supported values are 'basic' and 'detailed', default is 'basic'. [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:150 Context] enable_validate_op_config: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:163 Context] device_id: -1 [F 4/21 21:11: 2.697 ...dapter/src/driver/qualcomm_qnn/device.cc:135 Init] Check failed: (error_code == 0): 3!==0 [F 4/21 21:11: 2.697 ...dapter/src/driver/qualcomm_qnn/device.cc:135 Init] Check failed: (error_code == 0): 3!==0

THE-WAN1 commented 1 year ago

[I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:81 Context] input_quant_params size: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:95 Context] skip_symm2asymm: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:103 Context] skip_asymm2symm: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:110 Context] enable_fp16: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:118 Context] enable_profile: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:128 Context] profile_level: [W 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:131 Context] Use the property 'QUALCOMM_QNN_PROFILE_LEVEL' to set the profile level, supported values are 'basic' and 'detailed', default is 'basic'. [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:150 Context] enable_validate_op_config: 0 [I 4/21 21:11: 2.696 ...apter/src/driver/qualcomm_qnn/context.cc:163 Context] device_id: -1 [F 4/21 21:11: 2.697 ...dapter/src/driver/qualcomm_qnn/device.cc:135 Init] Check failed: (error_code == 0): 3!==0 [F 4/21 21:11: 2.697 ...dapter/src/driver/qualcomm_qnn/device.cc:135 Init] Check failed: (error_code == 0): 3!==0

hong19860320 commented 1 year ago

你希望使用高通 QNN 在8295 芯片部署?如果是厂内用户,直接如流加『飞桨预测服务群』咨询,如果是厂外用户,需要按照文档 https://www.paddlepaddle.org.cn/lite/v2.12/demo_guides/qualcomm_qnn.html 把 QNN 2.5 SDK 的库拷贝到 PaddleLite-generic-demo/libs/PaddleLite/android/arm64-v8a/lib/qualcomm_qnn 目录下。 image

mote-m commented 1 year ago

即使使用QNN 2.5以上的版本库copy过去,也是一样的问题,请问qualcomm_qnn/context.cc这部分代码为什么没开源? 是qcom不让开源还是paddle-lite因为一些原因不开源,谢谢!