Skip to content

Commit

Permalink
Update installation guide (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fairly authored Dec 18, 2020
1 parent c5fadab commit dd235a7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
18 changes: 12 additions & 6 deletions installation_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,20 @@ conda install -c conda-forge rdkit
```
5. Install `paddle` based on your choice of GPU/CPU version:

Check `paddlepaddle`'s [official document](https://www.paddlepaddle.org.cn/documentation/docs/en/2.0-rc1/install/index_en.html)
to install **paddle2.0**.
Check `paddlepaddle`'s [official document](https://www.paddlepaddle.org.cn/documentation/docs/en/2.0-rc1/install/index_en.html)
to install **paddle2.0**.

For example, if you want to use GPU version of PaddlePaddle on Linux, run this command:
For example, if you want to use GPU version of PaddlePaddle on Linux, run this command:

```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```
```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```

Or if you want to use CPU version of PaddlePaddle on Linux, run this command:

```bash
python -m pip install paddlepaddle==2.0.0rc1 -i https://mirror.baidu.com/pypi/simple
```

6. Install `PGL` using pip:

Expand Down
16 changes: 11 additions & 5 deletions installation_guide_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,19 @@ conda install -c conda-forge rdkit
```
5. 基于你对 CPU/GPU 版本的选择来安装 `paddle`:

请注意安装 **paddle2.0** 以上版本,方法参见 paddlepaddle [官方文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-rc1/install/index_cn.html)
请注意安装 **paddle2.0** 以上版本,方法参见 paddlepaddle [官方文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-rc1/install/index_cn.html)

比如,你想在Linux系统上安装PaddlePaddle 2.0 GPU版本,你可以运行以下命令:
比如,你想在 Linux 系统上安装 paddlepaddle 2.0 GPU 版本,你可以运行以下命令:

```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```
```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```

如果你想在 Linux 系统上安装 paddlepaddle 2.0 CPU 版本,你可以运行以下命令:

```bash
python -m pip install paddlepaddle==2.0.0rc1 -i https://mirror.baidu.com/pypi/simple
```

6. 使用 pip 命令安装`PGL`:
```bash
Expand Down

0 comments on commit dd235a7

Please sign in to comment.