Skip to content

v2.2.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@amcadmus amcadmus released this 19 Dec 09:23
· 500 commits to master since this release
89d0d23

New features

Enhancements

Python

  • dp test output files: energy per atom, virial per atom by @likefallwind in #2029
  • log HIP_VISIBLE_DEVICES for ROCm by @njzjz in #2032
  • move run_config.ini into the root directory by @njzjz in #2098
  • skip get_gpus subprocess when TF is cpu only by @njzjz in #2135
  • add Optional to type hints when default is None by @njzjz in #2139
  • optimize FioBin.save by @njzjz in #2143
  • open the graph file only once in compress by @njzjz in #2144
  • refactor enable_compression by @njzjz in #2147
  • store energy bias with interface precision by @njzjz in #2174

Core

  • dynamically load CUDA runtime library by @njzjz in #2082

C++

  • uncouple model precision and interface precision by @njzjz in #2031
  • merge double and float cc library by @njzjz in #2033
  • add shuffle_exclude_empty to DeepPot.compute(nlist, atomic) by @njzjz in #2111

OP

LAMMPS

  • lmp: throw errors when 6-element atomic virial requested by @njzjz in #1983
  • enable ttm without a patch by @njzjz in #2055
  • bump lammps to stable_23Jun2022_update2 by @njzjz in #2053

Build and release

  • CMake
    • use CPP_CXX_ABI for Python libraries by @njzjz in #1960
    • find protobuf headers in an automatic way by @njzjz in #1975
    • search TF deps from LD_LIBRARY_PATH; eliminate errors by @njzjz in #1976
    • CMake config
    • refactor USE_TF_PYTHON_LIBS by @njzjz in #2177
    • add an option to enable native compilation optimization by @njzjz in #2151
  • Python and wheel building
    • migrate cibuildwheel configs to pyproject.toml and add tests by @njzjz in #2000
    • migrate from setup.cfg to pyproject.toml by @njzjz in #2011
    • migrate to PEP 517 and PEP 621 by @njzjz in #2035
    • store TF version in the wheel's extras_require by @njzjz in #2084
    • fix win64 builds and add win64 wheels by @njzjz in #2085
    • enable CUDA for linux-64 wheels by @njzjz in #2087
    • add macos-64 wheels by @njzjz in #2088
    • pin manylinux image to a specific tag for GCC 11 by @njzjz in #2137
    • retag wheels to py37-none-<platform> by @njzjz in #2180
    • build wheels for Linux ARM64 by @njzjz in #2179
    • pip install lammps module by @njzjz in #2186
  • build_tf.py
    • build_tf.py: support ROCm; bump to TF 2.10 by @njzjz in #2030
    • build_tf.py: export LD_LIBRARY_PATH when executing configure by @njzjz in #2185
  • build, package, and release C library by @njzjz in #2072
  • perceive LAMMPS version for built-in mode by @njzjz in #1950

Test

Code cleanup

Documents

Bug fixings

New Contributors

Full Changelog: v2.1.5...v2.2.0.b0