install_Windows_en.md 3.0 KB
Newer Older
S
sheqiZ 已提交
1
# **Installation on Windows**
2

S
sheqiZ 已提交
3
## Operating Environment
4

5
* *Windows 7/8/10 Pro/Enterprise(64bit)(CUDA 8.0/9.0/10.0 are supported, and only single GPU is supported)*
6 7
* *Python 2.7.15+/3.5.1+/3.6/3.7(64bit)*
* *pip or pip3 9.0.1+(64bit)*
8

S
sheqiZ 已提交
9
### Precautions
10

S
sheqiZ 已提交
11 12
* The default installation package requires your computer to support AVX instruction set and MKL. If your environment doesn’t support AVX instruction set and MKL, please download [these](./Tables.html/#ciwhls-release) `no-avx`, `openblas` versions of installation package.
* The current version doesn’t support functions related to NCCL and distributed learning.
13

S
sheqiZ 已提交
14
## CPU or GPU
15

S
sheqiZ 已提交
16
* If your computer doesn’t have NVIDIA® GPU, please install the CPU version of PaddlePaddle
17

S
sheqiZ 已提交
18
* If your computer has NVIDIA® GPU, and it satisfies the following requirements, we recommend you to install the GPU version of PaddlePaddle
19
    * *CUDA Toolkit 8.0 with cuDNN v7.1+, or 9.0/10.0 with cuDNN v7.3+*
S
sheqiZ 已提交
20
    * *GPU's computing capability exceeds 1.0*
21

22
Note: currently, the official Windows installation package only support CUDA 8.0/9.0/10.0 with single GPU, and don't support CUDA 9.1/9.2/10.1. if you need to use, please compile by yourself through the source code.
23

S
sheqiZ 已提交
24
Please refer to the NVIDIA official documents for the installation process and the configuration methods of [CUDA](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/) and [cuDNN](https://docs.nvidia.com/deeplearning/sdk/cudnn-install/).
25

S
sheqiZ 已提交
26
## Installation Method
27

S
sheqiZ 已提交
28
There are 3 ways to install PaddlePaddle on Windows:
29

S
sheqiZ 已提交
30 31 32
* pip installation (recommended)
* [Docker installation](./install_Docker.html)
* [source code compilation and installation](./compile/compile_Windows.html/#win_source)
33

S
sheqiZ 已提交
34
We would like to introduce the pip installation here.
35

S
sheqiZ 已提交
36
## Installation Process
37

S
sheqiZ 已提交
38 39
* CPU version of PaddlePaddle: `pip install paddlepaddle` or `pip3 install paddlepaddle`
* GPU version of PaddlePaddle: `pip install paddlepaddle-gpu` or `pip3 install paddlepaddle-gpu`
40

S
sheqiZ 已提交
41
There is a checking function below for [verifyig whether the installation is successful](#check). If you have any further questions, please check the [FAQ part](./FAQ.html).
42

S
sheqiZ 已提交
43
Notice:
44

S
sheqiZ 已提交
45
* The version of pip and the version of python should be corresponding: python2.7 corresponds to `pip`; python3.x corresponds to `pip3`.
46
* `pip install paddlepaddle-gpu` This command will install PaddlePaddle that supports CUDA 8.0(with cuDNN v7.1+), or CUDA 9.0/10.0(with cuDNN v7.3+).
47

S
sheqiZ 已提交
48 49 50
<a name="check"></a>
## Installation Verification
After completing the installation process, you can use `python` or `python3` to enter python interpreter and input `import paddle.fluid as fluid` and then `fluid.install_check.run_check()` to check whether the installation is successful.
51

S
sheqiZ 已提交
52
If you see `Your Paddle Fluid is installed succesfully!`, your installation is verified successful.
53

S
sheqiZ 已提交
54
## Uninstall PaddlePaddle
55

S
sheqiZ 已提交
56 57 58
* ***CPU version of PaddlePaddle***: `pip uninstall paddlepaddle` or `pip3 uninstall paddlepaddle`

* ***GPU version of PaddlePaddle***: `pip uninstall paddlepaddle-gpu` or `pip3 uninstall paddlepaddle-gpu`