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

预编译库的V2,12下载的压缩包里没有找到python,我要怎么继续下一步得到python--->install--->dist--->paddlelite-*.whl #10519

Open hanyuanzhong opened 1 month ago

hanyuanzhong commented 1 month ago

请教一下,我要怎么得到带有python的预编译的paddle lite动态库 1)Paddle Lite 版本:Release Notes v2.12或v2.13-rc    

hong19860320 commented 1 month ago

如果是 x86 CPU 版本的,可以直接用 pip 安装 pip install paddlelite==2.13rc0 如果是 Arm CPU + Armlinux 系统,需要自己编译,而且编译的时候需要指定系统中 python 的版本,例如 armv8: ./lite/tools/build_linux.sh --with_extra=ON --with_cv=ON --with_python=ON --python_version=2.7

armv7: ./lite/tools/build_linux.sh --arch=armv7hf --with_extra=ON --with_cv=ON --with_python=ON --python_version=2.7