You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for python3.12, and no longer supports python3.7
13
-
* Add support for CUDA 12.0, and no longer supports CUDA 10.2
12
+
* Paddle supports user installation without depending on CUDA and cuDNN, and automatically handles the installation of CUDA and cuDNN.
14
13
15
14
16
15
------------------------
@@ -23,10 +22,10 @@ The manuals will guide you to build and install PaddlePaddle on your 64-bit desk
23
22
1. Operating system requirements:
24
23
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
25
24
26
-
* Windows 7 / 8 / 10, Pro/Enterprise
27
-
* Ubuntu 18.04 / 20.04
28
-
* CentOS 7
29
-
* macOS 10.x/11.x/12.x/13.x/14.x
25
+
* Windows 7 / 8 / 10 / 11, Pro/Enterprise
26
+
* Ubuntu 20.04 / 22.04
27
+
* almalinux 8
28
+
* macOS 12.x/13.x/14.x/15.x
30
29
* 64-bit operating system is required
31
30
32
31
2. Processor requirements:
@@ -38,180 +37,99 @@ The manuals will guide you to build and install PaddlePaddle on your 64-bit desk
38
37
3. Version requirements of python and pip:
39
38
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
40
39
41
-
* Python requires version 3.8/3.9/3.10/3.11/3.12
40
+
* Python requires version 3.8/3.9/3.10/3.11/3.12/3.13
42
41
* Python needs pip, and pip requires version 20.2.2 or above
43
42
* Python and pip requires 64-bit
44
43
45
-
4. PaddlePaddle's support for GPU:
46
-
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
44
+
**First Installation Method: Using pip for installation**
45
+
You can choose any of the four methods: "Using pip for installation", "Using conda for installation", "Using docker for installation", "Compiling from source code for installation".
47
46
48
-
* Currently, **PaddlePaddle** supports **CUDA** driver of **NVIDIA** graphics card and **ROCm** driver of **AMD** card.
49
-
* You need to install `cuDNN <https://docs.nvidia.com/deeplearning/sdk/cudnn-install/>`_ , and version 7.6+ is required(For CUDA11)
50
-
* If you need GPU multi-card mode, you need to install `NCCL 2 <https://developer.nvidia.com/nccl/>`_
47
+
This section will introduce the installation method using pip.
51
48
52
-
* Only Ubuntu/CentOS support NCCL 2
53
-
* You need to install `CUDA <https://docs.nvidia.com/cuda/cuda-installation-guide-windows/>`_ , depending on your system, there are different requirements for CUDA version:
49
+
1.You need to ensure that your operating system meets the requirements listed above.
54
50
55
-
* Windows install GPU version
51
+
2.You need to ensure that your processor meets the requirements listed above.
56
52
57
-
* Windows 7 / 8 / 10 support CUDA 11.0/11.2/11.6/11.8/12.0 single-card mode
58
-
* don't support install using **nvidia-docker**
59
-
* Ubuntu install GPU version
53
+
3.Ensure that the Python where you need to install PaddlePaddle is in your expected location, as your computer may have multiple Pythons.
60
54
61
-
* Ubuntu 18.04 supports CUDA (11.0 - 12.0)
62
-
* Ubuntu 20.04 supports CUDA (11.0 - 12.0)
63
-
* If you install using **nvidia-docker** , it supports CUDA 11.2/11.7/12.0
64
-
* CentOS install GPU version
55
+
Use the following command to output the Python path, depending on your environment you may need to replace all the python in the command line in the instructions with the specific Python path.
65
56
66
-
* If you install using native **pip** :
57
+
In the Windows environment, the command to output the Python path is:
67
58
68
-
* CentOS 7 supports CUDA (11.0 - 12.0)
69
-
* If you compile and install using native source code:
59
+
::
70
60
71
-
* CentOS 7 supports CUDA (11.0 - 12.0)
72
-
* If you install using **nvidia-docker** , CentOS 7 supports CUDA 11.2/11.7/12.0
73
-
* macOS isn't supported: PaddlePaddle has no GPU support in Mac OS platform
61
+
where python
74
62
75
-
Please make sure your environment meets the above conditions. If you have other requirements, please refer to `Appendix <Tables_en.html#ciwhls-release>`_ .
63
+
In the macOS/Linux environment, the command to output the Python path is:
76
64
77
-
5. PaddlePaddle's support for NCCL:
78
-
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
65
+
::
79
66
80
-
* Support for Windows
67
+
which python
81
68
82
-
* not support NCCL
83
-
* Support for Ubuntu
69
+
4.Check the Python version
84
70
85
-
* Ubuntu 18.04:
71
+
Use the following command to confirm it is 3.8/3.9/3.10/3.11/3.12/3.13
86
72
87
-
* support NCCL v2.4.7 / v2.16.5 under CUDA11
88
-
* Ubuntu 20.04:
89
-
90
-
* support v2.4.7 / 2.16.5 under CUDA11
91
-
* Support for CentOS
92
-
93
-
* CentOS 7:
94
-
95
-
* support NCCL v2.4.7-v2.16.5 under CUDA11
96
-
* Support for macOS
97
-
98
-
* not support NCCL
99
-
100
-
101
-
The first way to install: use pip to install
102
-
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
103
-
104
-
You can choose any of the four ways to install: "use pip to install", "use Conda to install", "use Docker to install", "compiling from the source code"
105
-
106
-
This section describes how to use pip to install.
107
-
108
-
1. You need to confirm that your operating system meets the requirements listed above
109
-
110
-
2. You need to confirm that your processor meets the requirements listed above
111
-
112
-
3. Confirm that the Python where you need to install PaddlePaddle is your expected location, because your computer may have multiple Python
113
-
114
-
Use the following command to output Python path. Depending on your environment, you may need to replace Python in all command lines in the description with specific Python path
115
-
116
-
In the Windows environment, the command to output Python path is:
117
-
118
-
::
119
-
120
-
where python
121
-
122
-
In the macOS/Linux environment, the command to output Python path is:
123
-
124
-
::
125
-
126
-
which python
127
-
128
-
129
-
4. Check the version of Python
130
-
131
-
Confirm the Python is 3.8/3.9/3.10/3.11/3.12 using command
132
73
::
133
74
134
75
python --version
135
76
136
-
5.Check the version of pip and confirm it is 20.2.2 or above
77
+
5.Check the pip version, confirm it is 20.2.2+
137
78
138
79
::
139
80
140
81
python -m ensurepip
141
82
python -m pip --version
142
83
143
-
144
-
6. Confirm that Python and pip is 64 bit,and the processor architecture is x86_64(or called x64、Intel 64、AMD64)architecture. Currently. The first line below outputs "64bit", and the second line outputs "x86_64", "x64" or "AMD64" :
84
+
6.Confirm that Python and pip are 64 bit, and the processor architecture is x86_64 (also known as x64, Intel 64, AMD64). The first line of the following output is "64bit", and the second line output is "x86_64", "x64" or "AMD64":
* If you want to install paddlepaddle, the version requires libstdc++.so.6 version greater than 3.4.25. To meet this requirement, you can choose to install GCC 8 or a higher GCC version, or upgrade the libstdc++ library separately. *
180
95
181
-
Please confirm that the Python where you need to install PaddlePaddle is your expected location, because your computer may have multiple Python. Depending on the environment, you may need to replace Python in all command lines in the instructions with Python 3 or specific Python path.
96
+
(1). **CPU version** : If you just want to install the CPU version, please refer to the following command for installation
After the installation is complete, you can use `python` to enter the Python interpreter and then use `import paddle` and then `paddle.utils.run_check()` to verify that the installation was successful.
102
+
(2). **GPU version** : If you want to use the GPU version, please refer to the following command for installation
186
103
187
-
If `PaddlePaddle is installed successfully!` appears, it means the installation was successful.
104
+
The command to install the GPU cuda12.6 version is:
Please make sure that the Python where you need to install PaddlePaddle is in the expected location, as your computer may have multiple Pythons. Depending on your environment, you may need to replace all python in the command line in the instructions with the specific Python path.
191
113
192
-
`install under Ubuntu <pip/linux-pip_en.html>`_
114
+
8.Verify the installation
193
115
194
-
`install under macOS <pip/macos-pip_en.html>`_
116
+
Use python to enter the python interpreter, enter import paddle, then enter paddle.utils.run_check().
195
117
196
-
`install under Windows <pip/windows-pip_en.html>`_
118
+
If PaddlePaddle is installed successfully! appears, it means you have successfully installed.
197
119
120
+
9.For more help information, please refer to:
198
121
122
+
`PIP Installation under Linux <pip/linux-pip.html>`_
199
123
200
-
The second way to install: compile and install with container
`PIP Installation under macOS <pip/macos-pip.html>`_
202
125
203
-
- We recommend that you use `NVIDIA PaddlePaddle Container <https://www.paddlepaddle.org.cn/documentation/docs/zh/install/install_NGC_PaddlePaddle_ch.html>`_ for your development environment installation.
204
-
- Pros
205
-
1. Lastest version of CUDA
206
-
2. Newer verison of Ubuntu OS(18.04)
207
-
3. Performance and development efficiency have been optimized by NVIDIA
126
+
`PIP Installation under Windows <pip/windows-pip.html>`_
208
127
128
+
**Second Installation Method: Using Source Code Compilation for Installation**
209
129
210
-
The third way to install: compile and install with source code
0 commit comments