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.93k stars 1.61k forks source link

"树莓派5 编译错误"- v2.13 编译报错 cd09a8e01、环境信息:(Debian arm64 ----armv8 ) ,经检查“cd09a8e01”是git describe --always 值 #10520

Open hanyuanzhong opened 4 months ago

hanyuanzhong commented 4 months ago

   1)Paddle Lite 版本:v2.13    2)Host 环境:树莓派5、Debian: 12.5---armv8 ----aarch64 GNU/Linux

hanyuanzhong commented 4 months ago

@hong19860320 我已经找到原因,是因为python3.10的setuptools版本(69.5.1)太高了,使用pip install --upgrade setuptools==58.0.4 就可以编译通过,但是编译生成的whl安装之后版本是cd09a8e,是git的记录值,希望后面的版本能优化一下,兼容新的setuptools值 image

hanyuanzhong commented 4 months ago

@hong19860320 这会导致我在安装的时候提示问题: DEPRECATION: paddlelite 7aa1db7ef has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of paddlelite or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063,或者联系作者,建议他们发布具有符合版本号的版本。讨论可以在https://github.com/pypa/pip/issues/12063上找到

hong19860320 commented 4 months ago

@hong19860320 这会导致我在安装的时候提示问题: DEPRECATION: paddlelite 7aa1db7 has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of paddlelite or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063,或者联系作者,建议他们发布具有符合版本号的版本。讨论可以在https://github.com/pypa/pip/issues/12063上找到

1)Paddle Lite 版本:v2.13    2)Host 环境:树莓派5、Debian: 12.5---armv8 ----aarch64 GNU/Linux

直接设置 PADDLELITE_TAG=v2.13-rc 试试? 或者将 https://github.com/PaddlePaddle/Paddle-Lite/blob/062bd0b89803018c8f4dc59097f0c140ef265af3/lite/api/python/setup.py.in#L31 修改为 PADDLELITE_VERSION = 'v0.0.' + PADDLELITE_COMMITE