Parcourir la source

update dcu/xpu install docs

a31413510 il y a 3 mois
Parent
commit
db41bf3e8c

+ 4 - 2
docs/other_devices_support/paddlepaddle_install_DCU.en.md

@@ -16,8 +16,10 @@ docker pull ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle-dcu:dtk24.0
 Start the container with the following command as a reference:
 
 ```bash
-docker run -it --name paddle-dcu-dev -v `pwd`:/work \
+docker run -it --name paddle-dcu-dev -v $(pwd):/work \
   -w=/work --shm-size=128G --network=host --privileged  \
+  --device=/dev/kfd --device=/dev/dri --ipc=host --group-add video \
+  -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 -v /opt/hyhal:/opt/hyhal \
   --cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
   ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle-dcu:dtk24.04.1-kylinv10-gcc82 /bin/bash
 ```
@@ -27,7 +29,7 @@ Within the started docker container, download and install the wheel package rele
 
 ```bash
 # Download and install the wheel package
-pip install paddlepaddle-dcu -i https://www.paddlepaddle.org.cn/packages/nightly/dcu
+pip install paddlepaddle-dcu==3.1.0 -i https://www.paddlepaddle.org.cn/packages/stable/dcu/
 ```
 
 After the installation package is installed, run the following command to verify it:

+ 4 - 2
docs/other_devices_support/paddlepaddle_install_DCU.md

@@ -15,8 +15,10 @@ docker pull ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle-dcu:dtk24.0
 参考如下命令启动容器
 
 ```
-docker run -it --name paddle-dcu-dev -v `pwd`:/work \
+docker run -it --name paddle-dcu-dev -v $(pwd):/work \
   -w=/work --shm-size=128G --network=host --privileged  \
+  --device=/dev/kfd --device=/dev/dri --ipc=host --group-add video \
+  -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 -v /opt/hyhal:/opt/hyhal \
   --cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
   ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle-dcu:dtk24.04.1-kylinv10-gcc82 /bin/bash
 ```
@@ -26,7 +28,7 @@ docker run -it --name paddle-dcu-dev -v `pwd`:/work \
 
 ```
 # 下载并安装 wheel 包
-pip install paddlepaddle-dcu -i https://www.paddlepaddle.org.cn/packages/nightly/dcu
+pip install paddlepaddle-dcu==3.1.0 -i https://www.paddlepaddle.org.cn/packages/stable/dcu/
 ```
 验证安装包 安装完成之后,运行如下命令
 

+ 2 - 1
docs/other_devices_support/paddlepaddle_install_XPU.en.md

@@ -4,7 +4,8 @@ comments: true
 
 # Kunlun XPU PaddlePaddle Installation Tutorial
 
-Currently, PaddleX supports Kunlun R200/R300 and other chips. Considering environmental differences, we recommend using the <b>Kunlun XPU development image officially released by PaddlePaddle</b>, which is pre-installed with the Kunlun basic runtime environment library (XRE).
+Currently, PaddleX supports Kunlun R200/R300/P800 and other chips. Considering environmental differences, we recommend using the <b>Kunlun XPU development image officially released by PaddlePaddle</b>, which is pre-installed with the Kunlun basic runtime environment library (XRE).
+If you are using the P800 chip, please refer to the PaddlePaddle official documentation for installation: [P800 Installation Guide](https://www.paddlepaddle.org.cn/documentation/docs/zh/hardware_support/xpu/xpu-p800_install_cn.html).
 
 ## 1. Docker Environment Preparation
 Pull the image. This image is only for the development environment and does not include a pre-compiled PaddlePaddle installation package.

+ 2 - 1
docs/other_devices_support/paddlepaddle_install_XPU.md

@@ -4,7 +4,8 @@ comments: true
 
 # 昆仑 XPU 飞桨安装教程
 
-当前 PaddleX 支持昆仑 R200/R300 等芯片。考虑到环境差异性,我们推荐使用<b>飞桨官方发布的昆仑 XPU 开发镜像</b>,该镜像预装有昆仑基础运行环境库(XRE)。
+当前 PaddleX 支持昆仑 R200/R300/P800 等芯片。考虑到环境差异性,我们推荐使用<b>飞桨官方发布的昆仑 XPU 开发镜像</b>,该镜像预装有昆仑基础运行环境库(XRE)。
+如果您使用的是 P800 芯片,请参考飞桨官网文档进行安装:[P800 安装教程](https://www.paddlepaddle.org.cn/documentation/docs/zh/hardware_support/xpu/xpu-p800_install_cn.html)
 
 ## 1、docker环境准备
 拉取镜像,此镜像仅为开发环境,镜像中不包含预编译的飞桨安装包