modify npu install docs (#15468)

This commit is contained in:
a31413510 2025-05-29 11:35:01 +08:00 committed by GitHub
parent 803f253a04
commit 09132f3c95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -28,10 +28,10 @@ docker run -it --name paddle-npu-dev -v $(pwd):/work \
* Download and install the Python wheel installation package
```bash
# Note: You need to install the CPU version of PaddlePaddle first
python -m pip install paddlepaddle==3.0.0.dev20250430 -i https://www.paddlepaddle.org.cn/packages/nightly/cpu
python -m pip install paddle-custom-npu -i https://www.paddlepaddle.org.cn/packages/nightly/npu
python -m pip install paddlepaddle==3.0.0.dev20250527 -i https://www.paddlepaddle.org.cn/packages/nightly/cpu
python -m pip install paddle-custom-npu==3.0.0.dev20250527 -i https://www.paddlepaddle.org.cn/packages/nightly/npu
```
* CANN-8.0.RC2 does not support some versions of numpy and opencv, it is recommended to install the specified versions.
* CANN-8.0.0 does not support some versions of numpy and opencv, it is recommended to install the specified versions.
```bash
python -m pip install numpy==1.26.4
python -m pip install opencv-python==3.4.18.65

View File

@ -28,10 +28,10 @@ docker run -it --name paddle-npu-dev -v $(pwd):/work \
* 下载安装 wheel 安装包
```bash
# 注意需要先安装飞桨 cpu 版本
python -m pip install paddlepaddle==3.0.0.dev20250430 -i https://www.paddlepaddle.org.cn/packages/nightly/cpu
python -m pip install paddle-custom-npu -i https://www.paddlepaddle.org.cn/packages/nightly/npu
python -m pip install paddlepaddle==3.0.0.dev20250527 -i https://www.paddlepaddle.org.cn/packages/nightly/cpu
python -m pip install paddle-custom-npu==3.0.0.dev20250527 -i https://www.paddlepaddle.org.cn/packages/nightly/npu
```
* CANN-8.0.RC2 对 numpy 和 opencv 部分版本不支持,建议安装指定版本
* CANN-8.0.0 对 numpy 和 opencv 部分版本不支持,建议安装指定版本
```bash
python -m pip install numpy==1.26.4
python -m pip install opencv-python==3.4.18.65