-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PaddleLite V2.10 编译鸿蒙报错 #10488
Comments
麻烦提供下模型,paddle 模型应该不会有 feed 算子 |
以提供,辛苦 |
v2.10版本过老,建议更新到 v2.13再试试 |
不是不用新版本,是新版本用不起来......,如下是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 |
你是不是用的是静态库啊? |
版本、环境信息:
1)Paddle Lite 版本:请提供您的 Paddle Lite 版本号(如v2.10)或 CommitID
版本v2.10,CommitID b427cac
2)Host 环境:请描述 Host 系统类型、OS 版本,如 Mac OS 10.14、Ubuntu 18.04
Ubuntu 20.04,参考 OpenHarmony-SIG / tpc_c_cplusplus 可以成功编译Paddle-Llite 2.12 ,模型加载时候报错,同时验证 2.12 Android 版本模型加载也失败
RuntimeProgram:316] Check failed: op: Error: This model is not supported, because operator 'feed' is not supported by Paddle-Lite.
考虑CommitID b427cac 提交可能没有合入v2.12 ,尝试编译线上版本模型对应PaddleLite v2.10 commit id b427cac 出现编译报错问题。
编译方式
准备编译环境,在thirdparty 重新拷贝一份Paddle-Lite 改名字Paddle-Lite-2.10
cd/tpc_c_cplusplus/thirdparty
cp -r Paddle-Lite Paddle-Lite-2.10
替换 HPKBUILD
替换 Paddle-Lite_oh_pkg.patch
拷贝 cp -r github/Paddle-Lite-v2.10.zip .
计算 sha512sum Paddle-Lite-v2.10.zip ,修改 SHA512SUM 里面内容
开始编译:
./build.sh Paddle-Lite-2.10
信息
Paddle-Lite_oh_pkg.patch
HPKBUILD.zip
build.log
The text was updated successfully, but these errors were encountered: