首页 > 代码库 > Install PaddlePaddle (Parallel Distributed Deep Learning)

Install PaddlePaddle (Parallel Distributed Deep Learning)

 

Step 1: Install docker on your linux system (My linux version is fedora)

https://docs.docker.com/engine/installation/linux/fedora/

Other linux systems You can refer to the official guide https://docs.docker.com/engine/installation/ for further information.

Step 2: You can use docker pull to download images first, or just launch a container with docker run:

root@hd:/home/hd# sudo docker pull paddledev/paddle:cpu-demo-latestcpu-demo-latest: Pulling from paddledev/paddle862a3e9af0ae: Pull complete 6498e51874bf: Pull complete 159ebdd1959b: Pull complete 0fdbedd3771a: Pull complete 7a1f7116d1e3: Pull complete cf3b261b873d: Pull complete a45605e2b3be: Pull complete Digest: sha256:89a590a9906fd2c6e789190f6df45f22c7fe5f8805a96ec74b9456a519d09151Status: Downloaded newer image for paddledev/paddle:cpu-demo-latestroot@hd:/home/hd# docker imagesREPOSITORY          TAG                 IMAGE ID            CREATED             SIZEpaddledev/paddle    cpu-demo-latest     b92f6d4594c8        5 hours ago         1.978 GBhello-world         latest              ff1fef95caaa        10 weeks ago        1.848 kBroot@hd:/home/hd# sudo docker run -it paddledev/paddle:cpu-demo-latestroot@ea0f7a52f0da:/# lsbin   dev  home  lib64  mnt  proc  run   srv  tmp  varboot  etc  lib   media  opt  root  sbin  sys  usrroot@ea0f7a52f0da:/# 

 

 Note: there exist a error in the Chinese guide provided by Badu.(http://www.paddlepaddle.org/doc_cn/build_and_install/install/docker_install.html)

$ docker run -it paddledev/paddlepaddle:latest-cpu

 should be replaced by

$ docker run -it paddledev/paddle:cpu-latest

You can also choose other paddlepaddle images, Baidu provide six docker images

  • paddledev/paddle:cpu-latest: PaddlePaddle CPU binary image.
  • paddledev/paddle:gpu-latest: PaddlePaddle GPU binary image.
  • paddledev/paddle:cpu-devel-latest: PaddlePaddle CPU binary image plus source code.
  • paddledev/paddle:gpu-devel-latest: PaddlePaddle GPU binary image plus source code.
  • paddledev/paddle:cpu-demo-latest: PaddlePaddle CPU binary image plus source code and demo
  • paddledev/paddle:gpu-demo-latest: PaddlePaddle GPU binary image plus source code and demo

Tags with latest will be replaced by a released version.

 

Install PaddlePaddle (Parallel Distributed Deep Learning)