Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

8 changes: 1 addition & 7 deletions docs/faq/install_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@

+ 操作步骤:

1. Python2 情况下,使用如下命令安装 PaddlePaddle。

```bash
pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple/
```

2. Python3 情况下,使用如下命令安装 PaddlePaddle。
1. 使用如下命令安装 PaddlePaddle。

```bash
pip3 install paddlepaddle -i https://mirror.baidu.com/pypi/simple/
Expand Down
1 change: 0 additions & 1 deletion docs/guides/advanced/visualdl_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ sudo apt-get install python3-pip python3-dev python-virtualenv

Then create a Virtualenv environment by one of following command:
```
virtualenv ~/vdl # for Python2.7
virtualenv -p python3 ~/vdl for Python 3.x
```

Expand Down
18 changes: 0 additions & 18 deletions docs/guides/hardware_support/xpu_docs/paddle_install_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,24 +157,6 @@ cmake .. -DPY_VERSION=3.6 \
make -j20
```

Python2

```
cmake .. -DPY_VERSION=2.7 \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_GPU=OFF \
-DWITH_XPU=ON \
-DON_INFER=ON \
-DWITH_PYTHON=ON \
-DWITH_AVX=ON \
-DWITH_MKL=ON \
-DWITH_MKLDNN=ON \
-DWITH_XPU_BKCL=ON \
-DWITH_DISTRIBUTE=ON \
-DWITH_NCCL=OFF

make -j20
```

**飞腾 CPU+昆仑 XPU+麒麟 V10 系统**

Expand Down
7 changes: 0 additions & 7 deletions docs/install/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@

> 请[安装 nccl2](https://developer.nvidia.com/nccl/nccl-download)

- CentOS6 下如何编译 python2.7 为共享库?

> 使用以下指令:

./configure --prefix=/usr/local/python2.7 --enable-shared
make && make install

<!--TODO please add more F&Q parts here-->

- Ubuntu18.04 下 libidn11 找不到?
Expand Down
11 changes: 0 additions & 11 deletions docs/install/FAQ_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@

# **FAQ**

- How to compile python2.7 as a shared library under CentOS6?

> Use the following instructions:



./configure --prefix=/usr/local/python2.7 --enable-shared
make && make install


- Ubuntu18.04 under libidn11 can not be found?

> Use the following instructions:
Expand Down Expand Up @@ -111,7 +101,6 @@

- `Fatal Python error: PyThreadState_Get: no current thread running` error occurs when importing paddle.fluid after installing PaddlePaddle on macOS.


- For Python2.7.x (install by brew): Please use `export LD_LIBRARY_PATH=/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7 && export DYLD_LIBRARY_PATH=/usr/ Local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7`
- For Python2.7.x (install by Python.org): Please use `export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7 && export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7`
- For Python3.5.x (install by Python.org): Please use `export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5/ && export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5 /`
Expand Down
5 changes: 0 additions & 5 deletions docs/install/compile/arm-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@

>具体编译选项含义请参见[编译选项表](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/Tables.html#Compile)

For Python2:
```
cmake .. -DPY_VERSION=2 -DPYTHON_EXECUTABLE=`which python2` -DWITH_ARM=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_XBYAK=OFF
```

For Python3:
```
cmake .. -DPY_VERSION=3 -DPYTHON_EXECUTABLE=`which python3` -DWITH_ARM=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_XBYAK=OFF
Expand Down
5 changes: 0 additions & 5 deletions docs/install/compile/mips-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@

>具体编译选项含义请参见[编译选项表](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/Tables.html#Compile)

For Python2:
```
cmake .. -DPY_VERSION=2 -DPYTHON_EXECUTABLE=`which python2` -DWITH_MIPS=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_XBYAK=OFF -DWITH_MKL=OFF
```

For Python3:
```
cmake .. -DPY_VERSION=3 -DPYTHON_EXECUTABLE=`which python3` -DWITH_MIPS=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_XBYAK=OFF -DWITH_MKL=OFF
Expand Down
6 changes: 1 addition & 5 deletions docs/install/compile/sw-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@

>具体编译选项含义请参见[编译选项表](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/Tables.html#Compile)

For Python2:
```
cmake .. -DPY_VERSION=2 -DPYTHON_EXECUTABLE=`which python2` -DWITH_MKL=OFF -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_PYTHON=ON -DWITH_XBYAK=OFF -DWITH_SW=ON -DCMAKE_CXX_FLAGS="-Wno-error -w" -DWITH_RCCL=OFF
```
For Python3:
```
cmake .. -DPY_VERSION=3 -DPYTHON_EXECUTABLE=`which python3` -DWITH_MKL=OFF -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_PYTHON=ON -DWITH_XBYAK=OFF -DWITH_SW=ON -DCMAKE_CXX_FLAGS="-Wno-error -w" -DWITH_RCCL=OFF
Expand All @@ -86,7 +82,7 @@
11. 在当前机器或目标机器安装编译好的`.whl`包:

```
python2 -m pip install -U(whl 包的名字)`或`python3 -m pip install -U(whl 包的名字)
python3 -m pip install -U(whl 包的名字)
```

恭喜,至此您已完成 PaddlePaddle 在 FT 环境下的编译安装。
Expand Down
6 changes: 1 addition & 5 deletions docs/install/compile/zhaoxin-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@

>具体编译选项含义请参见[编译选项表](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/Tables.html#Compile)

For Python2:
```
cmake .. -DPY_VERSION=2 -DPYTHON_EXECUTABLE=`which python2` -DWITH_MKL=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_PYTHON=ON
```
For Python3:
```
cmake .. -DPY_VERSION=3 -DPYTHON_EXECUTABLE=`which python3` -DWITH_MKL=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_PYTHON=ON
Expand All @@ -110,7 +106,7 @@
11. 在当前机器或目标机器安装编译好的`.whl`包:

```
python2 -m pip install -U(whl 包的名字)`或`python3 -m pip install -U(whl 包的名字)
python3 -m pip install -U(whl 包的名字)
```

恭喜,至此您已完成 PaddlePaddle 在 FT 环境下的编译安装。
Expand Down
18 changes: 0 additions & 18 deletions docs/install/install_Kunlun_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,24 +173,6 @@ cmake .. -DPY_VERSION=3.6 \
make -j20
```

For Python2

```
cmake .. -DPY_VERSION=2.7 \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_GPU=OFF \
-DWITH_XPU=ON \
-DON_INFER=ON \
-DWITH_PYTHON=ON \
-DWITH_AVX=ON \
-DWITH_MKL=ON \
-DWITH_MKLDNN=ON \
-DWITH_XPU_BKCL=ON \
-DWITH_DISTRIBUTE=ON \
-DWITH_NCCL=OFF

make -j20
```

**Phytium CPU+Kunlun XPU+Kylin release V10**

Expand Down