Support native build on NVIDIA DRIVE PX2 (arm64 + GPU).#2303
Merged
Xreki merged 1 commit intoPaddlePaddle:developfrom May 31, 2017
Merged
Support native build on NVIDIA DRIVE PX2 (arm64 + GPU).#2303Xreki merged 1 commit intoPaddlePaddle:developfrom
Xreki merged 1 commit intoPaddlePaddle:developfrom
Conversation
hedaoyuan
approved these changes
May 27, 2017
Contributor
Author
|
@hedaoyuan 直接登录到PX2上���编译很简单,感觉没啥特别的配置,编译工具链包括cuda、cudnn,都是使用cuda提供的tookit安装好了的。
在PX2这种平台上跑Paddle,包的大小应该不是主要的吧, |
Contributor
|
最好还是有某个build文档中是体现了Paddle可以支持PX2编译的,另外,cmake那条命令也不一定所有人都知道怎么配参数。嵌入式环��中还是要考虑包的大小的。 |
Contributor
Author
@hedaoyuan 好,我看看是新写一个文档,还是基于原来的编译文档增加支持PX2编译的内容。
这个选择还是留给用户自己吧。我之前写的Android和Raspberry Pi编译文档里cmake配置示例是没有设置 |
heavengate
pushed a commit
to heavengate/Paddle
that referenced
this pull request
Aug 16, 2021
* add blazeface & update rcnn modelzoo * remove condition num_priors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support native build on NVIDIA DRIVE PX2 (arm64 + GPU).
The native build on NVIDIA DRIVE PX2 is very simple. You can login through ssh and use following command to build cpu-only version:
cmake -DCMAKE_INSTALL_PREFIX=$DEST_ROOT \ -DCMAKE_BUILD_TYPE=Release \ -DWITH_GPU=OFF \ -DWITH_PYTHON=ON \ -DWITH_SWIG_PY=ON \ ..The gpu version cannot be built before #2299 merged. Command to build the gpu version is also listed as follows:
On NVIDIA DRIVE PX2, cuda is installed in
/usr/local/cuda-8.0, cudnn is installed in/usr.You are free to set
CMAKE_BUILD_TYPEto other values (Debug,Release,RelWithDebInfo,MinSizeRel), as you need.