*** # Appendix ## Compile Dependency Table
| Dependency package name | Version | Description | Installation command |
|---|---|---|---|
| CMake | 3.4 | ||
| GCC | 4.8 / 5.4 | recommends using devtools2 for CentOS | |
| Python | 2.7.x. | depends on libpython2.7.so | apt install python-dev or yum install python-devel |
| SWIG | at least 2.0 | apt install swig or yum install swig |
|
| wget | any | apt install wget or yum install wget |
|
| openblas | any | ||
| pip | at least 9.0.1 | apt install python-pip or yum install Python-pip |
|
| numpy | >=1.12.0 | pip install numpy==1.14.0 |
|
| protobuf | 3.1.0 | pip install protobuf==3.1.0 |
|
| wheel | any | pip install wheel |
|
| patchELF | any | apt install patchelf or read github patchELF official documentation |
|
| go | >=1.8 | optional |
| Option | Description | Default |
|---|---|---|
| WITH_GPU | Whether to support GPU | ON |
| WITH_C_API | Whether to compile CAPI | OFF |
| WITH_DOUBLE | Whether to use double precision floating point numeber | OFF |
| WITH_DSO | whether to load CUDA dynamic libraries dynamically at runtime, instead of statically loading CUDA dynamic libraries. | ON |
| WITH_AVX | whether to compile PaddlePaddle binaries file containing the AVX instruction set | ON |
| WITH_PYTHON | Whether the PYTHON interpreter is embedded | ON |
| WITH_STYLE_CHECK | Whether to perform code style checking at compile time | ON |
| WITH_TESTING | Whether to turn on unit test | OFF |
| WITH_DOC | Whether to compile Chinese and English documents | OFF |
| WITH_SWIG_PY | Whether to compile PYTHON's SWIG interface, which can be used for predicting and customizing training | Auto |
| WITH_GOLANG | Whether to compile the fault-tolerant parameter server of the go language | OFF |
| WITH_MKL | Whether to use the MKL math library, if not,using OpenBLAS | ON |
| WITH_SYSTEM_BLAS | Whether to use the system's BLAS | OFF |
| WITH_DISTRIBUTE | Whether to Compile with distributed version | OFF |
| WITH_RDMA | Whether to compile the relevant parts that supports RDMA | OFF |
| WITH_BRPC_RDMA | Whether to use BRPC RDMA as RPC protocol | OFF |
| ON_INFER | Whether to turn on prediction optimization | OFF |
| DWITH_ANAKIN | Whether to Compile ANAKIN | OFF |
| CUDA_ARCH_NAME | Build for which GPU architecture | All:all available GPU architectures Auto:Automatically detect current GPU architecture |
| TENSORRT_ROOT | Assign TensoRRT path | If this flag is not assigned, Paddle will detect TensorRT automatically. |
| Version Number | Release Discription |
|---|---|
| paddlepaddle==[version code] such as paddlepaddle==1.5.1 | Only support the corresponding version of the CPU PaddlePaddle, please refer to Pypi for the specific version. |
| paddlepaddle-gpu==1.5.1 | Using version 1.5.1 compiled with CUDA 9.0 and cuDNN 7 |
| paddlepaddle-gpu==1.5.1.post87 | Using version 1.5.1 compiled with CUDA 8.0 and cuDNN 7 |
| Version Number | Release Description |
|---|---|
| hub.baidubce.com/paddlepaddle/paddle:latest | The latest pre-installed image of the PaddlePaddle CPU version |
| hub.baidubce.com/paddlepaddle/paddle:latest-dev | The latest PaddlePaddle development environment |
| hub.baidubce.com/paddlepaddle/paddle:[Version] | Replace version with a specific version, preinstalled PaddlePaddle image in historical version |
| hub.baidubce.com/paddlepaddle/paddle:latest-gpu | The latest pre-installed image of the PaddlePaddle GPU version |