[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 安装

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 安装

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 安装

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 安装

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 安装

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 安装

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 安装

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 安装

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
    
相关推荐
程序小旭2 分钟前
Objects as Points基于中心点的目标检测方法CenterNet—CVPR2019
人工智能·目标检测·计算机视觉
阿利同学5 分钟前
yolov8多任务模型-目标检测+车道线检测+可行驶区域检测-yolo多检测头代码+教程
人工智能·yolo·目标检测·计算机视觉·联系 qq1309399183·yolo多任务检测·多检测头检测
CV-King5 分钟前
计算机视觉硬件知识点整理(三):镜头
图像处理·人工智能·python·opencv·计算机视觉
AI大模型知识分享21 分钟前
Prompt最佳实践|指定输出的长度
人工智能·gpt·机器学习·语言模型·chatgpt·prompt·gpt-3
十有久诚33 分钟前
TaskRes: Task Residual for Tuning Vision-Language Models
人工智能·深度学习·提示学习·视觉语言模型
全云在线allcloudonline1 小时前
微软 Azure AI 服务免费试用及申请:语音识别、文本转语音、基于视觉、语言处理、文档分析等10大场景
人工智能·microsoft·azure
Filotimo_1 小时前
【自然语言处理】实验三:新冠病毒的FAQ问答系统
人工智能·经验分享·笔记·python·学习·自然语言处理·pycharm
标贝科技1 小时前
ChatGPT对话训练数据采集渠道有哪些
数据库·人工智能·机器学习·chatgpt
zhangfeng11331 小时前
rnn input_size hidden_size 分别是什么意思 ,人工智能 Python
人工智能·rnn·自然语言处理
PD我是你的真爱粉1 小时前
GPTo1论文详解
人工智能·深度学习