• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
华东 博客
17年国科大博士毕业,曾就职于三星电子,清华博后,目前在某大模型创业公司工作,研究方向大模型、智能体 新浪博客: http://blog.sina.com.cn/u/2463286753
博客园    首页    新随笔    联系   管理    订阅  订阅
Install PaddlePaddle (Parallel Distributed Deep Learning)

 

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

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

Other linux systems Please 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-latest
cpu-demo-latest: Pulling from paddledev/paddle
862a3e9af0ae: Pull complete 
6498e51874bf: Pull complete 
159ebdd1959b: Pull complete 
0fdbedd3771a: Pull complete 
7a1f7116d1e3: Pull complete 
cf3b261b873d: Pull complete 
a45605e2b3be: Pull complete 
Digest: sha256:89a590a9906fd2c6e789190f6df45f22c7fe5f8805a96ec74b9456a519d09151
Status: Downloaded newer image for paddledev/paddle:cpu-demo-latest
root@hd:/home/hd# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
paddledev/paddle    cpu-demo-latest     b92f6d4594c8        5 hours ago         1.978 GB
hello-world         latest              ff1fef95caaa        10 weeks ago        1.848 kB
root@hd:/home/hd# sudo docker run -it paddledev/paddle:cpu-demo-latest
root@ea0f7a52f0da:/# ls
bin   dev  home  lib64  mnt  proc  run   srv  tmp  var
boot  etc  lib   media  opt  root  sbin  sys  usr
root@ea0f7a52f0da:/# 

 

 Note: there exists 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.

 

posted on 2016-09-16 19:47  华东博客  阅读(1011)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3