Skip to content

v3.0.0b0

Pre-release
Pre-release
Compare
Choose a tag to compare
@njzjz njzjz released this 03 Jul 19:22
· 132 commits to devel since this release
29db791

What's Changed

Compared to v3.0.0a0, v3.0.0b0 contains all changes in v2.2.10 and v2.2.11, as well as:

Breaking changes

  • breaking: remove multi-task support in tf by @iProzd in #3763
  • breaking: deprecate set_prefix by @njzjz in #3753
  • breaking: use all sets for training and test by @njzjz in #3862. In previous versions, only the last set is used as the test set in dp test.
  • PyTorch models trained in v3.0.0a0 cannot be used in v3.0.0b0 due to several changes. As mentioned in the release note of v3.0.0a0, we didn't promise backward compatibility for v3.0.0a0.
  • The DPA-2 configurations have been changed by @iProzd in #3768. The old format in v3.0.0a0 is no longer supported.

Major new features

  • Latest supported features in the PyTorch and DP backend, which are consistent with the TensorFlow backend if possible:
    • Descriptor: se_e2_a, se_e2_r, se_e3, se_atten, se_atten_v2, dpa2, hybrid;
    • Fitting: energy, dipole, polar, dos, fparam/apram support
    • Model: standard, DPRc, frozen, ZBL, Spin
    • Python inference interface
    • PyTorch only: C++ inference interface for energy only
    • PyTorch only: TensorBoard
  • Support using the DPA-2 model in the LAMMPS by @CaRoLZhangxy in #3657. If you install the Python interface from the source, you must set the environment variable DP_ENABLE_PYTORCH=1 to build the PyTorch customized OPs.
  • New command line options dp show by @Chengqian-Zhang in #3796 and dp change-bias by @iProzd in #3933.
  • New training options max_ckpt_keep by @iProzd in #3441 and change_bias_after_training by @iProzd in #3933. Several training options now take effect in the PyTorch backend, such as seed by @iProzd in #3773, disp_training and time_training by @iProzd in #3775, and profiling by @njzjz in #3897.
  • Performance improvement of the PyTorch backend by @njzjz in #3422, #3424, #3425 and by @iProzd in #3826
  • Support generating JSON schema for integration with VSCode by @njzjz in #3849

Minor enhancements and code refactoring are listed at v3.0.0a0...v3.0.0b0.

Contributors

New Contributors

Full Changelog: v3.0.0a0...v3.0.0b0

For discussion of v3, please go to #3401