Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions deepmd/pd/model/descriptor/repflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def border_op(
argument8,
) -> paddle.Tensor:
raise NotImplementedError(
"border_op is not available since customized Paddle OP library is not built when freezing the model. "
"See documentation for DPA3 for details."
"The 'border_op' operator is unavailable because the custom Paddle OP library was not built when freezing the model.\n"
"To install 'border_op', run: python source/op/pd/setup.py install\n"
"For more information, please refer to the DPA3 documentation."
)

# Note: this hack cannot actually save a model that can be run using LAMMPS.
Expand Down
5 changes: 3 additions & 2 deletions deepmd/pd/model/descriptor/repformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ def border_op(
argument8,
) -> paddle.Tensor:
raise NotImplementedError(
"border_op is not available since customized Paddle OP library is not built when freezing the model. "
"See documentation for DPA3 for details."
"The 'border_op' operator is unavailable because the custom Paddle OP library was not built when freezing the model.\n"
"To install 'border_op', run: python source/op/pd/setup.py install\n"
"For more information, please refer to the DPA3 documentation."
)

# Note: this hack cannot actually save a model that can be run using LAMMPS.
Expand Down
15 changes: 12 additions & 3 deletions doc/install/easy-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ Switch to the TensorFlow {{ tensorflow_icon }} tab for more information.
::::{tab-item} CUDA 12.6

```bash
pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
# release version
pip install paddlepaddle-gpu==3.1.1 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
# nightly-build version
# pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
pip install deepmd-kit
```

Expand All @@ -194,7 +197,10 @@ pip install deepmd-kit
::::{tab-item} CUDA 11.8

```bash
pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
# release version
pip install paddlepaddle-gpu==3.1.1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
# nightly-build version
# pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/
pip install deepmd-kit
```

Expand All @@ -203,7 +209,10 @@ pip install deepmd-kit
::::{tab-item} CPU

```bash
pip install paddlepaddle==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/
# release version
pip install paddlepaddle==3.1.1 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/
# nightly-build version
# pip install --pre paddlepaddle -i https://www.paddlepaddle.org.cn/packages/nightly/cpu/
pip install deepmd-kit
```

Expand Down
17 changes: 14 additions & 3 deletions doc/install/install-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,22 @@ To install Paddle, run

```sh
# cu126
pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
# release version
pip install paddlepaddle-gpu==3.1.1 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
# nightly-build version
# pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/

# cu118
pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
# release version
pip install paddlepaddle-gpu==3.1.1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/
# nightly-build version
# pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/

# cpu
pip install paddlepaddle==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/
# release version
pip install paddlepaddle==3.1.1 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/
# nightly-build version
# pip install --pre paddlepaddle -i https://www.paddlepaddle.org.cn/packages/nightly/cpu/
```

:::
Expand Down
4 changes: 2 additions & 2 deletions doc/train/training.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ $ dp --pt train input.json
:::{tab-item} Paddle {{ paddle_icon }}

```bash
# training model in eager mode
# training model
$ dp --pd train input.json

# [experimental] training model with CINN compiler for better performance,
# [experimental] training models with the CINN compiler (~40%+ speedup)
# see: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/paddle_v3_features/cinn_cn.html
## If the shape(s) of batch input data are dynamic during training(default).
$ CINN=1 dp --pd train input.json
Expand Down
Loading