You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support dpa3 with paddle backend(eager mode)
### 1. training curve

### 2. accuracy
<details>
<summary>torch</summary>

</details>
<details>
<summary>paddle(slightly better than torch)</summary>

</details>
### 3. The main modifications in this PR include:
1. Added DPA-3 code and related modules based on the Paddle backend.
2. Added the EnergyHessianStdLoss module based on the Paddle backend.
3. Discovered that Paddle’s ParameterList does not support assignment of
Tensors using the equals sign. Therefore, I added support for this
feature at <PaddlePaddle/Paddle#72190>. However,
considering version compatibility, deepmd still uses paddle.assign for
assignments.
4. Fixed an issue in env_mat_stat.py where the return type was Tensor
instead of float.
5. The SiLUT used APIs from the numpy series that do not support
paddle.Tensor, so I replaced them with Paddle’s native APIs.
Additionally, to temporarily bypass issues with dynamic-to-static
control flow, I changed the if-else branch in SiLUT.forward to a single
branch.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new descriptor, DPA3, for advanced molecular simulations,
including its integration and public availability.
- Added support for a new graph-based neural network layer and
descriptor block for RepFlow calculations.
- Enabled Hessian loss computation for enhanced training capabilities.
- Added new learning rate utility.
- **Bug Fixes**
- Improved tensor shape handling and assignments for better
compatibility and stability.
- **Tests**
- Added comprehensive tests for the new DPA3 descriptor, including
consistency, JIT, and multitask scenarios.
- Expanded test coverage for model permutation and smoothness with DPA3.
- Enhanced tests for DPA2 with CINN compiler support.
- **Refactor**
- Standardized tensor shape definitions and updated method signatures
for improved clarity and type safety.
- **Chores**
- Updated public interfaces to include new features and descriptors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Duo <50307526+iProzd@users.noreply.github.com>
Co-authored-by: Duo <50307526+iProzd@users.noreply.github.com>
Co-authored-by: root <2000011006@stu.pku.edu.cn>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chenqqian Zhang <100290172+Chengqian-Zhang@users.noreply.github.com>
Co-authored-by: Jia-Xin Zhu <53895049+ChiahsinChu@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Co-authored-by: Han Wang <92130845+wanghan-iapcm@users.noreply.github.com>
Co-authored-by: Han Wang <wang_han@iapcm.ac.cn>
0 commit comments