[paddle]paddlepaddle官方安装命令合集

官方最新安装命令:

https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/windows-pip.html

历史命令:

V2.4

环境支持

  • Python 版本 3.6/3.7/3.8/3.9/3.10

PIP安装方式

Windows 安装

GPU版本支持CUDA 10.2/11.2/11.6/11.7,且仅支持单卡

# CPU only
python -m pip install paddlepaddle==2.4.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 10.2
python -m pip install paddlepaddle-gpu==2.4.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 11.2
python -m pip install paddlepaddle-gpu==2.4.2.post112 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 11.6
python -m pip install paddlepaddle-gpu==2.4.2.post116 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 11.7
python -m pip install paddlepaddle-gpu==2.4.2.post117 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
MacOS 安装

该版本MacOS不支持GPU版本

# CPU only
python3 -m pip install paddlepaddle==2.4.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
Linux 安装

# CPU only
python3 -m pip install paddlepaddle==2.4.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 10.2
python3 -m pip install paddlepaddle-gpu==2.4.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 11.2
python3 -m pip install paddlepaddle-gpu==2.4.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 11.6
python3 -m pip install paddlepaddle-gpu==2.4.2.post116 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 11.7
python3 -m pip install paddlepaddle-gpu==2.4.2.post117 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle
conda install paddlepaddle==2.4.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
  • gpu版本paddlepaddle

CUDA 10.2,cuDNN 7.6.5(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.4.2 cudatoolkit=10.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

CUDA 11.2,cuDNN 8.2.1(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.4.2 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge

CUDA 11.6,cuDNN 8.4.0(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.4.2 cudatoolkit=11.6 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge

CUDA 11.7,cuDNN 8.4.1(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.4.2 cudatoolkit=11.7 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
MacOS 安装
  • cpu版本paddlepaddle

conda install paddlepaddle==2.4.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

V2.3

环境支持

  • Python 版本 3.6/3.7/3.8/3.9/3.10

PIP安装方式

Windows 安装

GPU版本支持CUDA 10.1/10.2/11.1/11.2/11.6,且仅支持单卡

# CPU only
python -m pip install paddlepaddle==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.3.2.post101 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 11.1
python -m pip install paddlepaddle-gpu==2.3.2.post111 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 11.2
python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 11.6
python -m pip install paddlepaddle-gpu==2.3.2.post116 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
MacOS 安装

该版本MacOS不支持GPU版本

# CPU only
python -m pip install paddlepaddle==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
Linux 安装

# CPU only
python -m pip install paddlepaddle==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.3.2.post101 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

# CUDA 11.1
python -m pip install paddlepaddle-gpu==2.3.2.post111 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 11.2
python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 11.6
python -m pip install paddlepaddle-gpu==2.3.2.post116 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle
conda install paddlepaddle==2.3.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
  • gpu版本paddlepaddle

CUDA 10.1,cuDNN 7.6.5+(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.3.2 cudatoolkit=10.1 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

CUDA 10.2,cuDNN 7.6.5+(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.3.2 cudatoolkit=10.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

CUDA 11.2,cuDNN 8.2.1(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.3.2 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge

CUDA 11.6,cuDNN 8.4.0(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.3.2 cudatoolkit=11.6 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
MacOS 安装
  • cpu版本paddlepaddle

conda install paddlepaddle==2.3.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

V2.2

环境支持

  • Python 版本 3.6/3.7/3.8/3.9
  • pip 或 pip3 版本 20.2.2+(64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持CUDA 10.1/10.2/11.0/11.1/11.2,且仅支持单卡

# CPU only
python -m pip install paddlepaddle==2.2.2 -i https://mirror.baidu.com/pypi/simple

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.2.2.post101 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu==2.2.2 -i https://mirror.baidu.com/pypi/simple

# CUDA 11.0
python -m pip install paddlepaddle-gpu==2.2.2.post110 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 11.1
python -m pip install paddlepaddle-gpu==2.2.2.post111 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 11.2
python -m pip install paddlepaddle-gpu==2.2.2.post112 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
MacOS 安装

macOS 版本 10.x/11.x (64 bit)

该版本MacOS不支持GPU版本

# CPU only
python -m pip install paddlepaddle==2.2.2 -i https://mirror.baidu.com/pypi/simple
Linux 安装

Ubuntu 版本 (64 bit)

Ubuntu 16.04 (GPU 版本支持 CUDA 10.1/10.2/11.0/11.1/11.2)

Ubuntu 18.04 (GPU 版本支持 CUDA 10.1/10.2/11.0/11.1/11.2)

Ubuntu 20.04 (GPU 版本支持 CUDA 10.1/10.2/11.0/11.1/11.2)

CentOS 版本 (64 bit)

CentOS 7 (GPU版本支持CUDA 10.1/10.2/11.0/11.1/11.2)

# CPU only
python -m pip install paddlepaddle==2.2.2 -i https://mirror.baidu.com/pypi/simple

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.2.2.post101 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu==2.2.2 -i https://mirror.baidu.com/pypi/simple

# CUDA 11.0
python -m pip install paddlepaddle-gpu==2.2.2.post110 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 11.1
python -m pip install paddlepaddle-gpu==2.2.2.post110 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 11.2
python -m pip install paddlepaddle-gpu==2.2.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle
conda install paddlepaddle==2.2.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
  • gpu版本paddlepaddle

CUDA 10.1,cuDNN 7.6.5+(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.2.2 cudatoolkit=10.1 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

CUDA 10.2,cuDNN 7.6.5+(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.2.2 cudatoolkit=10.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

CUDA 11.2,cuDNN 8.1.1(多卡环境下 NCCL>=2.7):

conda install paddlepaddle-gpu==2.2.2 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
MacOS 安装
  • cpu版本paddlepaddle

conda install paddlepaddle==2.2.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

V2.1

环境支持

  • Python 版本 3.6/3.7/3.8/3.9
  • pip 或 pip3 版本 20.2.2+(64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持 CUDA 10.1/10.2/11.0/11.2,且仅支持单卡

# CPU only
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple 

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.1.3.post101 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple

# CUDA 11.0
python -m pip install paddlepaddle-gpu==2.1.3.post110 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html

# CUDA 11.2
python -m pip install paddlepaddle-gpu==2.1.3.post112 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
MacOS 安装

macOS 版本 10.11/10.12/10.13/10.14 (64 bit)

该版本MacOS不支持GPU版本

# CPU only
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
Linux 安装

Ubuntu 版本 (64 bit)

Ubuntu 16.04 (GPU 版本支持 CUDA 10.1/10.2/11.0/11.2)

Ubuntu 18.04 (GPU 版本支持 CUDA 10.1/10.2/11.0/11.2)

CentOS 版本 (64 bit)

CentOS 7 (GPU版本支持CUDA 10.1/10.2/11.0/11.2)

# CPU only
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.1.3.post101 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple

# CUDA 11.0
python -m pip install paddlepaddle-gpu==2.1.3.post110 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

# CUDA 11.2
python -m pip install paddlepaddle-gpu==2.1.3.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle
conda install paddlepaddle==2.1.3 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
  • gpu版本paddlepaddle

CUDA 10.1,cuDNN 7.6.5+:

conda install paddlepaddle-gpu==2.1.3 cudatoolkit=10.1 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

CUDA 10.2,cuDNN 7.6.5+:

conda install paddlepaddle-gpu==2.1.3 cudatoolkit=10.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

CUDA 11.2,cuDNN 8.1.1+:

conda install paddlepaddle-gpu==2.1.3 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
MacOS 安装
  • cpu版本paddlepaddle

conda install paddlepaddle==2.1.3 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/

V2.0

环境支持

  • Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8(64 bit)
  • pip 或 pip3 版本 20.2.2+(64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持CUDA 9.0/10.0/10.1/10.2/11.0,且仅支持单卡

# CPU only
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple 

# CUDA 9.0
python -m pip install paddlepaddle-gpu==2.0.2.post90 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

# CUDA 10.0
python -m pip install paddlepaddle-gpu==2.0.2.post100 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.0.2.post101 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu==2.0.2 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

# CUDA 11.0
python -m pip install paddlepaddle-gpu==2.0.2.post110 -f https://paddlepaddle.org.cn/whl/mkl/stable.html
MacOS 安装

macOS 版本 10.11/10.12/10.13/10.14 (64 bit)

该版本MacOS不支持GPU版本

# CPU only
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
Linux 安装

Ubuntu 版本 (64 bit)

Ubuntu 14.04 (GPU 版本支持 CUDA 10.0/10.1)

Ubuntu 16.04 (GPU 版本支持 CUDA 9.0/9.1/9.2/10.0/10.1/10.2)**

Ubuntu 18.04 (GPU 版本支持 CUDA 10.0/10.1/10.2/11.0)

CentOS 版本 (64 bit)

CentOS 6 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1/10.2, 仅支持单卡)

CentOS 7 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1/10.2/11.0, 其中CUDA 9.1仅支持单卡)

# CPU only
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple

# CUDA 9.0
python -m pip install paddlepaddle-gpu==2.0.2.post90 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

# CUDA 10.0
python -m pip install paddlepaddle-gpu==2.0.2.post100 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

# CUDA 10.1
python -m pip install paddlepaddle-gpu==2.0.2.post101 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

# CUDA 10.2
python -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple

# CUDA 11.0
python -m pip install paddlepaddle-gpu==2.0.2.post110 -f https://paddlepaddle.org.cn/whl/mkl/stable.html

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle -c paddle
  • gpu版本paddlepaddle

    CUDA9、cuDNN 7.6+:

    conda install paddlepaddle-gpu cudatoolkit=9.0 -c paddle

    CUDA10.0、cuDNN 7.6+:

    conda install paddlepaddle-gpu cudatoolkit=10.0 -c paddle

    CUDA10.1、cuDNN 7.6+:

    conda install paddlepaddle-gpu cudatoolkit=10.1 -c paddle

    CUDA10.2、cuDNN 7.6+:

    conda install paddlepaddle-gpu cudatoolkit=10.2 -c paddle

    CUDA11、cuDNN 8.0.4+:

    conda install paddlepaddle-gpu cudatoolkit=11.0 -c paddle

MacOS 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle -c paddle

V1.8

环境支持

  • Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8(64 bit)
  • pip 或 pip3 版本 9.0.1+ (64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持CUDA 9.0/9.1/9.2/10.0,且仅支持单卡

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.8.5 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.8.5 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.8.5.post107 -f https://paddlepaddle.org.cn/whl/stable.html

    python3:

    python3 -m pip install paddlepaddle-gpu==1.8.5.post107 -f https://paddlepaddle.org.cn/whl/stable.html

MacOS 安装

MacOS 版本 10.11/10.12/10.13/10.14 (64 bit)

该版本MacOS不支持GPU版本

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.8.5 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.8.5 -i https://mirror.baidu.com/pypi/simple

Linux 安装

Ubuntu 版本 (64 bit)

​ Ubuntu 14.04 (GPU 版本支持 CUDA 10.0/10.1)

​ Ubuntu 16.04 (GPU 版本支持 CUDA 9.0/9.1/9.2/10.0/10.1)

​ Ubuntu 18.04 (GPU 版本支持 CUDA 10.0/10.1)

CentOS 版本 (64 bit)

​ CentOS 6 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 仅支持单卡)

​ CentOS 7 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 其中CUDA 9.1仅支持单卡)

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.8.5 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.8.5 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.8.5.post107 -f https://paddlepaddle.org.cn/whl/stable.html

    python3:

    python3 -m pip install paddlepaddle-gpu==1.8.5.post107 -f https://paddlepaddle.org.cn/whl/stable.html

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.8.5
  • gpu版本paddlepaddle

    CUDA9、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.8.5 cudatoolkit=9.0

    CUDA10.0、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.8.5 cudatoolkit=10.0

MacOS 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.8.5

V1.7

环境支持

  • Python 版本 2.7.15+/3.5.1+/3.6/3.7(64 bit)
  • pip 或 pip3 版本 9.0.1+ (64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持CUDA 9.0/9.1/9.2/10.0,且仅支持单卡

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.7.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple

MacOS 安装

MacOS 版本 10.11/10.12/10.13/10.14 (64 bit)

该版本MacOS不支持GPU版本

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple

Linux 安装

Ubuntu 版本 (64 bit)

​ Ubuntu 14.04 (GPU 版本支持 CUDA 10.0/10.1)

​ Ubuntu 16.04 (GPU 版本支持 CUDA 9.0/9.1/9.2/10.0/10.1)

​ Ubuntu 18.04 (GPU 版本支持 CUDA 10.0/10.1)

CentOS 版本 (64 bit)

​ CentOS 6 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 仅支持单卡)

​ CentOS 7 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 其中CUDA 9.1仅支持单卡)

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.7.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.7.2 -i https://mirror.baidu.com/pypi/simple

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.7.2
  • gpu版本paddlepaddle

    CUDA9、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.7.2 cudatoolkit=9.0

    CUDA10.0、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.7.2 cudatoolkit=10.0

MacOS 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.7.2

V1.6

环境支持

  • Python 版本 2.7.15+/3.5.1+/3.6/3.7(64 bit)
  • pip 或 pip3 版本 9.0.1+ (64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持CUDA 9.0/9.1/9.2/10.0,且仅支持单卡

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.6.3 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple

MacOS 安装

MacOS 版本 10.11/10.12/10.13/10.14 (64 bit)

该版本MacOS不支持GPU版本

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple

Linux 安装

Ubuntu 版本 (64 bit)

​ Ubuntu 14.04 (GPU 版本支持 CUDA 10.0/10.1)

​ Ubuntu 16.04 (GPU 版本支持 CUDA 9.0/9.1/9.2/10.0/10.1)

​ Ubuntu 18.04 (GPU 版本支持 CUDA 10.0/10.1)

CentOS 版本 (64 bit)

​ CentOS 6 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 仅支持单卡)

​ CentOS 7 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 其中CUDA 9.1仅支持单卡)

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.6.3 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.6.3 -i https://mirror.baidu.com/pypi/simple

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.6.3
  • gpu版本paddlepaddle

    CUDA9、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.6.3 cudatoolkit=9.0

    CUDA10.0、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.6.3 cudatoolkit=10.0

MacOS 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.6.3

V1.5

环境支持

  • Python 版本 2.7.15+/3.5.1+/3.6/3.7(64 bit)
  • pip 或 pip3 版本 9.0.1+ (64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持CUDA 9.0/9.1/9.2/10.0,且仅支持单卡

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.5.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple

MacOS 安装

MacOS 版本 10.11/10.12/10.13/10.14 (64 bit)

该版本MacOS不支持GPU版本

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple

Linux 安装

Ubuntu 版本 (64 bit)

​ Ubuntu 14.04 (GPU 版本支持 CUDA 10.0/10.1)

​ Ubuntu 16.04 (GPU 版本支持 CUDA 9.0/9.1/9.2/10.0/10.1)

​ Ubuntu 18.04 (GPU 版本支持 CUDA 10.0/10.1)

CentOS 版本 (64 bit)

​ CentOS 6 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 仅支持单卡)

​ CentOS 7 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 其中CUDA 9.1仅支持单卡)

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.5.2 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.5.2 -i https://mirror.baidu.com/pypi/simple

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.5.2
  • gpu版本paddlepaddle

    CUDA9、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.5.2 cudatoolkit=9.0

    CUDA10.0、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.5.2 cudatoolkit=10.0

MacOS 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.5.2

V1.4

环境支持

  • Python 版本 2.7.15+/3.5.1+/3.6/3.7(64 bit)
  • pip 或 pip3 版本 9.0.1+ (64 bit)

PIP安装方式

Windows 安装

Windows 7/8/10 专业版/企业版 (64bit)

GPU版本支持CUDA 9.0/9.1/9.2/10.0,且仅支持单卡

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.4.1 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple

MacOS 安装

MacOS 版本 10.11/10.12/10.13/10.14 (64 bit)

该版本MacOS不支持GPU版本

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple

Linux 安装

Ubuntu 版本 (64 bit)

​ Ubuntu 14.04 (GPU 版本支持 CUDA 10.0/10.1)

​ Ubuntu 16.04 (GPU 版本支持 CUDA 9.0/9.1/9.2/10.0/10.1)

​ Ubuntu 18.04 (GPU 版本支持 CUDA 10.0/10.1)

CentOS 版本 (64 bit)

​ CentOS 6 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 仅支持单卡)

​ CentOS 7 (GPU版本支持CUDA 9.0/9.1/9.2/10.0/10.1, 其中CUDA 9.1仅支持单卡)

  • cpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple
  • gpu版本paddlepaddle

    python2:

    python -m pip install paddlepaddle-gpu==1.4.1 -i https://mirror.baidu.com/pypi/simple

    python3:

    python3 -m pip install paddlepaddle==1.4.1 -i https://mirror.baidu.com/pypi/simple

Conda安装方式

Windows/Linux 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.4.1
  • gpu版本paddlepaddle

    CUDA9、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.4.1 cudatoolkit=9.0

    CUDA10.0、cuDNN 7.3+:

    conda install paddlepaddle-gpu==1.4.1 cudatoolkit=10.0

MacOS 安装
  • cpu版本paddlepaddle

     conda install paddlepaddle==1.4.1

 

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

FL1623863129

你的打赏是我写文章最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值