|
@@ -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:
|
|
Start the container with the following command as a reference:
|
|
|
|
|
|
|
|
```bash
|
|
```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 \
|
|
-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 \
|
|
--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
|
|
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
|
|
```bash
|
|
|
# Download and install the wheel package
|
|
# 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:
|
|
After the installation package is installed, run the following command to verify it:
|