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.89k stars 1.6k forks source link

PaddleLite V2.10 编译鸿蒙报错 #10488

Open litonghui opened 2 months ago

litonghui commented 2 months ago
wz1qqx commented 2 months ago

麻烦提供下模型,paddle 模型应该不会有 feed 算子

litonghui commented 2 months ago

以提供,辛苦

wz1qqx commented 2 months ago

以提供,辛苦

v2.10版本过老,建议更新到 v2.13再试试

litonghui commented 2 months ago

不是不用新版本,是新版本用不起来......,如下是v2.13rc 运行log,与2.12 一样的错,opt 用github 最新的转模型。

2024-04-08 14:36:33.577 24631-24631 Paddle-Lite com.hui.var.virtual I [I 4/ 8 14:36:33.577 ...and/Paddle-Lite/lite/core/device_info.cc:1331 Setup] SVE2 f32mm support: 0 2024-04-08 14:36:33.577 24631-24631 Paddle-Lite com.hui.var.virtual I [I 4/ 8 14:36:33.577 ...and/Paddle-Lite/lite/core/device_info.cc:1332 Setup] SVE2 i8mm support: 0 2024-04-08 14:36:33.581 24631-24631 Paddle-Lite com.hui.var.virtual A [F 4/ 8 14:36:33.581 /island/Paddle-Lite/lite/core/program.cc RuntimeProgram:316] Check failed: op: Error: This model is not supported, because operator 'feed' is not supported by Paddle-Lite. 2024-04-08 14:36:33.581 24631-24631 libc com.hui.var.virtual A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 24631 (idu.var.virtual), pid 24631 (idu.var.virtual) ---------------------------- PROCESS STARTED (24688) for package com.hui.var.virtual ---------------------------- 2024-04-08 14:36:33.752 24686-24686 DEBUG pid-24686 A Cmdline: com.hui.var.virtual 2024-04-08 14:36:33.752 24686-24686 DEBUG pid-24686 A pid: 24631, tid: 24631, name: idu.var.virtual >>> com.hui.var.virtual <<< 2024-04-08 14:36:33.752 24686-24686 DEBUG pid-24686 A #01 pc 00000000001c15a4 /data/app/~~CVy8FFm2d23qP-aTH5aRwA==/com.hui.var.virtual-1KvodUORM4sE1Roq0tpGNg==/lib/arm64/libvk_virtual_sdk.so (BuildId: 4ae9e1a239b2de282f6d87386db96f2041c9b59d)

hong19860320 commented 2 months ago

你是不是用的是静态库啊? 如果要用静态库,一定要引用这三个头文件:

include "include/paddle_api.h"

include "include/paddle_use_kernels.h"

include "include/paddle_use_ops.h"