PaddlePaddle / PaddlePaddle/FastDeploy
Paddle Backend doesn't support linux aarch64 now.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 756
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 4
Description
温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度
环境
-- cmake-3.26 g++ 8.3
-
【FastDeploy版本】: FastDeploy
-
【编译命令】cmake .. -DENABLE_ORT_BACKEND=ON
-DENABLE_PADDLE_BACKEND=ON
-DENABLE_OPENVINO_BACKEND=ON
-DCMAKE_INSTALL_PREFIX=${PWD}/compiled_fastdeploy_sdk
-DENABLE_VISION=ON
-DOPENCV_DIRECTORY=/home/huilang/jgq/gansu/rebuild/opencv-3.4.12
-DENABLE_TEXT=ON -
【系统平台】: uos
-
【硬件】:ft-2000
-
【编译语言】: C++ / Python(3.7或3.8等)
问题日志及出现问题的操作流程
-- Use the default onnxruntime lib. The ONNXRuntime path: /home/huilang/hezuo/FastDeploy/build/third_libs/install/onnxruntime
CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/ExternalProject.cmake:3091 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/local/share/cmake-3.26/Modules/ExternalProject.cmake:4208 (_ep_add_download_command)
cmake/onnxruntime.cmake:109 (ExternalProject_Add)
CMakeLists.txt:223 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in cmake/paddle_inference.cmake:
A logical block opening on the line
/home/huilang/hezuo/FastDeploy/cmake/paddle_inference.cmake:66 (if)
closes on the line
/home/huilang/hezuo/FastDeploy/cmake/paddle_inference.cmake:122 (endif)
with mis-matching arguments.
Call Stack (most recent call first):
CMakeLists.txt:238 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at cmake/paddle_inference.cmake:91 (message):
Paddle Backend doesn't support linux aarch64 now.
Call Stack (most recent call first):
CMakeLists.txt:238 (include)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with cmake/paddle_inference.cmake around line 91 and the inclusion at CMakeLists.txt line 238, then reproduce the configuration on the reported UOS/FT-2000 linux aarch64 environment. Done means the Paddle backend configuration no longer fails solely because of linux aarch64 and the relevant build completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, linux
- Domain
- backend, build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100