deepmd-kit 2.2.8__tar.gz → 2.2.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- deepmd_kit-2.2.10/.pre-commit-config.yaml +121 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/CONTRIBUTING.md +57 -45
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/PKG-INFO +78 -154
- deepmd_kit-2.2.10/README.md +99 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/dp_backend.py +1 -0
- deepmd_kit-2.2.10/backend/dynamic_metadata.py +54 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/find_tensorflow.py +8 -7
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/loc_frame.py +6 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a.py +6 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_ebd.py +2 -2
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_ebd_v2.py +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_ef.py +3 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_mask.py +2 -2
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_atten.py +13 -2
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_atten_v2.py +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_r.py +6 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_t.py +6 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/freeze.py +11 -7
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/ipi.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/test.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/env.py +9 -12
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/ener.py +17 -4
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/model_devi.py +2 -4
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/lmp.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loggers/loggers.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/model_stat.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/argcheck.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_gelu.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/train/trainer.py +10 -14
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/argcheck.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/compat.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/data.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/data_system.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/finetune.py +1 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/graph.py +6 -6
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/multi_init.py +1 -3
- deepmd_kit-2.2.10/deepmd/utils/neighbor_stat.py +320 -0
- deepmd_kit-2.2.10/deepmd/utils/nlist.py +103 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/pair_tab.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/path.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/plugin.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/random.py +1 -0
- deepmd_kit-2.2.10/deepmd/utils/region.py +36 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/weight_avg.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/entrypoints/doc.py +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/main.py +2 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/network.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/se_e2_a.py +2 -2
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/argcheck.py +15 -23
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/data.py +2 -6
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/pyproject.toml +75 -10
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/CMakeLists.txt +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/include/c_api.h +180 -4
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/include/deepmd.hpp +290 -11
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/src/c_api.cc +171 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DataModifier.h +5 -5
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DataModifierTF.h +4 -4
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepPot.h +65 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DataModifier.cc +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepPot.cc +93 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/common.cc +5 -8
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/CMakeLists.txt +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/include/gmx_plugin.h +4 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_cc.sh +6 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_from_c.sh +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_lammps.sh +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/test_cc.sh +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/test_cc_local.sh +7 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/driver.cc +3 -6
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_env_mat.cu +0 -2
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/fix_dplr.cpp +1 -5
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/plugin/CMakeLists.txt +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/GroFileManager.cc +3 -6
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Poly.cpp +4 -8
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/prepublish.py +1 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/tests/test_deeppot.js +12 -6
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/yarn.lock +3 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/dotmul_flt_nvnmd.cc +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/map_flt_nvnmd.cc +4 -4
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/matmul_fitnet_nvnmd.cc +1 -1
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/matmul_flt2fix_nvnmd.cc +3 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/matmul_flt_nvnmd.cc +3 -3
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/tanh4_flt_nvnmd.cc +2 -2
- deepmd_kit-2.2.8/.pre-commit-config.yaml +0 -119
- deepmd_kit-2.2.8/README.md +0 -179
- deepmd_kit-2.2.8/backend/dynamic_metadata.py +0 -91
- deepmd_kit-2.2.8/deepmd/utils/neighbor_stat.py +0 -153
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.clang-format +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.git-blame-ignore-revs +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.gitattributes +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.gitignore +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.license-header.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.readthedocs.yml +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/CITATIONS.bib +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/LICENSE +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/read_env.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/codecov.yml +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/.gitignore +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/__about__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/__main__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/calculator.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/cluster/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/cluster/local.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/cluster/slurm.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/common.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/descriptor.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/hybrid.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/compress.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/convert.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/doc.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/gui.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/main.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/neighbor_stat.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/train.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/transfer.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/dipole.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/dos.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/fitting.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/polar.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/data_modifier.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_dipole.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_dos.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_eval.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_polar.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_pot.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_tensor.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_wfc.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/ewald_recp.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loggers/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/dos.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/ener.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/loss.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/tensor.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/dos.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/ener.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/frozen.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/linear.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/model.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/multi.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/pairtab.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/pairwise_dprc.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/tensor.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/data/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/data/data.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/descriptor/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/descriptor/se_a.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/descriptor/se_atten.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/freeze.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/mapt.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/train.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/wrap.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/fit/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/fit/ener.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/config.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/encode.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/fio.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/network.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/op.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/weight.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_add_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_copy_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_dotmul_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_map_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_matmul_fitnet_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_matmul_flt2fix_nvnmd.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_matmul_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_mul_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_se_a_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_se_a_mask_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_se_r_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_virial_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_virial_se_a_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_virial_se_r_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_quantize_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_soft_min_force_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_soft_min_virial_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_tabulate_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_tanh4_flt_nvnmd_grad.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/train/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/train/run_options.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/batch_size.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/compress.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/convert.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/errors.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/learning_rate.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/network.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/parallel_op.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/sess.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/spin.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/tabulate.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/type_embed.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/common.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/entrypoints/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/entrypoints/gui.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/env.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/loggers/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/loggers/loggers.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/common.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/env_mat.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/output_def.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/argcheck_nvnmd.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/batch_size.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/compat.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/data_system.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/errors.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/model_stat.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/pair_tab.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/path.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/plugin.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/random.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/weight_avg.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/aarch64/config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/aarch64/table.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/aarch64/trampoline.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/arm/config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/arm/table.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/arm/trampoline.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/common/init.c.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/README.md +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/table.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/trampoline.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/i386/config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/i386/table.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/i386/trampoline.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips/config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips/table.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips/trampoline.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips64/config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips64/table.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips64/trampoline.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/x86_64/config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/x86_64/table.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/x86_64/trampoline.S.tpl +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/implib-gen.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/json.hpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/include/c_api_internal.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/AtomMap.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepPotTF.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepTensor.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepTensorTF.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/common.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/tf_private.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/tf_public.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/version.h.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/AtomMap.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DataModifierTF.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepPotTF.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepTensor.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepTensorTF.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/Config.cmake.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/Findtensorflow.cmake +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/Findxdrfile.cmake +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/cmake_lammps.cmake.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/cmake_uninstall.cmake.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/coverage_config/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/googletest.cmake.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/test_cxx_abi.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/tf_cxx_abi.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/tf_version.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/MODEL_VER +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/__init__.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/run_config.ini +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/.gitignore +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/dp_gmx_patch +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/CMakeLists.txt.patch.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/src/gromacs/mdlib/forcerec.cpp.patch +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/src/gromacs/mdlib/forcerec.h.patch +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/src/gromacs/mdlib/sim_util.cpp.patch +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/src/gmx_plugin.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_tf.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/docker/Dockerfile +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/docker_package_c.sh +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/docker_test_package_c.sh +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/install_tf.sh +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/package_c.sh +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/Convert.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/StringSplit.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/XyzFileManager.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/sockets.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/src/Convert.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/src/XyzFileManager.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/src/sockets.c +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/tests/test_driver.py +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/ComputeDescriptor.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/DeviceFunctor.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/SimulationRegion.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/SimulationRegion_Impl.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/coord.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/device.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/env_mat.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/env_mat_nvnmd.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/errors.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/ewald.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/fmt_nlist.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/gelu.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/gpu_cuda.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/gpu_rocm.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/map_aparam.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/neighbor_list.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/neighbor_stat.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/pair_tab.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/pairwise.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_env_mat.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_env_mat_nvnmd.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_force.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_force_grad.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_virial.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_virial_grad.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/region.cuh +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/region.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_force.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_force_grad.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_virial.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_virial_grad.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/switcher.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/tabulate.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/utilities.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/SimulationRegion.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/coord.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/env_mat.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/env_mat_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/ewald.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/fmt_nlist.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gelu.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/coord.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/cudart/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/cudart/cudart_stub.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/gelu.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/neighbor_list.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/neighbor_stat.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_force.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_force_grad.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_virial.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_virial_grad.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/region.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/tabulate.cu +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/map_aparam.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/neighbor_list.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/pair_tab.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/pairwise.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_env_mat.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_env_mat_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_force.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_force_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_virial.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_virial_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/region.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_force.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_force_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_virial.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_virial_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/tabulate.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/utilities.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/Install.sh +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/builtin.cmake +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/compute_deeptensor_atom.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/compute_deeptensor_atom.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/deepmd_version.h.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env.sh.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env_c.sh.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env_py.sh.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env_py_c.sh.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/fix_dplr.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/fix_ttm_dp.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/lammps_install_list.txt.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/lmp_version.sh +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pair_deepmd.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pair_deepmd.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/plugin/deepmdplugin.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pppm_dplr.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pppm_dplr.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/AdWeight.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Convert.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/CosSwitch.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Gaussian.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/GroFileManager.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/HarmonicAngle.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/HarmonicBond.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Integrator.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Interpolation.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/LJInter.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/LJTab.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/MaxShift.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Poly.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/RandomGenerator.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Statistics.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/StringSplit.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/TF.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/TableFileLoader.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Tabulated.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Trajectory.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/UnitManager.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/XyzFileManager.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/ZM.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/ZMFunctions.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/common.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/mymath.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/mdnn.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/AdWeight.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Convert.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Gaussian.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/HarmonicAngle.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/HarmonicBond.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Integrator.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Interpolation.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/LJInter.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/LJTab.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/MaxShift.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/RandomGenerator_MT19937.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Statistics.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/StringSplit.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/TF.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/TableFileLoader.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Tabulated.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Trajectory.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/UnitManager.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/XyzFileManager.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/ZM.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/ZMFunctions.cpp +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/.gitignore +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/.npmignore +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/README.md +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/binding.gyp.in +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/binding.gyp.pack +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/index.js +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/package.json +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/CMakeLists.txt +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/add_flt_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/copy_flt_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/custom_op.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/custom_op.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_ef.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_ef_para.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_ef_vert.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_mask.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/ewald_recp.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/flt_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/gelu_multi_device.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/map_aparam.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/mul_flt_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/neighbor_stat.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/optimizer/parallel.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/optimizer/parallel.h +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/pair_tab.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/pairwise.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_env_mat_multi_device.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_env_mat_multi_device_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_grad_multi_device.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_multi_device.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_a_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_a_mask.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_a_mask_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_r_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_grad_multi_device.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_multi_device.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_se_a_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_se_r_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/quantize_nvnmd.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/readme +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_force.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_force_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_virial.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_virial_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/tabulate_multi_device.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/unaggregated_grad.cc +0 -0
- {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/swig/deepmd.i +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# See https://pre-commit.com for more information
|
|
2
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: v4.5.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
exclude: "^.+\\.pbtxt$"
|
|
9
|
+
- id: end-of-file-fixer
|
|
10
|
+
exclude: "^.+\\.pbtxt$"
|
|
11
|
+
- id: check-yaml
|
|
12
|
+
- id: check-json
|
|
13
|
+
- id: check-added-large-files
|
|
14
|
+
args: ["--maxkb=1024", "--enforce-all"]
|
|
15
|
+
exclude: |
|
|
16
|
+
(?x)^(
|
|
17
|
+
source/tests/infer/dipolecharge_e.pbtxt|
|
|
18
|
+
source/tests/infer/deeppolar_new.pbtxt
|
|
19
|
+
)$
|
|
20
|
+
- id: check-merge-conflict
|
|
21
|
+
- id: check-symlinks
|
|
22
|
+
- id: check-toml
|
|
23
|
+
# Python
|
|
24
|
+
- repo: https://github.com/PyCQA/isort
|
|
25
|
+
rev: 5.13.2
|
|
26
|
+
hooks:
|
|
27
|
+
- id: isort
|
|
28
|
+
files: \.py$
|
|
29
|
+
exclude: ^source/3rdparty
|
|
30
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
31
|
+
# Ruff version.
|
|
32
|
+
rev: v0.3.5
|
|
33
|
+
hooks:
|
|
34
|
+
- id: ruff
|
|
35
|
+
args: ["--fix"]
|
|
36
|
+
exclude: ^source/3rdparty
|
|
37
|
+
types_or: [python, pyi, jupyter]
|
|
38
|
+
- id: ruff-format
|
|
39
|
+
exclude: ^source/3rdparty
|
|
40
|
+
types_or: [python, pyi, jupyter]
|
|
41
|
+
# numpydoc
|
|
42
|
+
- repo: https://github.com/Carreau/velin
|
|
43
|
+
rev: 0.0.12
|
|
44
|
+
hooks:
|
|
45
|
+
- id: velin
|
|
46
|
+
args: ["--write"]
|
|
47
|
+
exclude: ^source/3rdparty
|
|
48
|
+
# Python inside docs
|
|
49
|
+
- repo: https://github.com/asottile/blacken-docs
|
|
50
|
+
rev: 1.16.0
|
|
51
|
+
hooks:
|
|
52
|
+
- id: blacken-docs
|
|
53
|
+
# C++
|
|
54
|
+
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
55
|
+
rev: v18.1.2
|
|
56
|
+
hooks:
|
|
57
|
+
- id: clang-format
|
|
58
|
+
exclude: ^source/3rdparty|source/lib/src/gpu/cudart/.+\.inc
|
|
59
|
+
# markdown, yaml, CSS, javascript
|
|
60
|
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
61
|
+
rev: v4.0.0-alpha.8
|
|
62
|
+
hooks:
|
|
63
|
+
- id: prettier
|
|
64
|
+
types_or: [markdown, yaml, css]
|
|
65
|
+
# workflow files cannot be modified by pre-commit.ci
|
|
66
|
+
exclude: ^(source/3rdparty|\.github/workflows|\.clang-format)
|
|
67
|
+
# Shell
|
|
68
|
+
- repo: https://github.com/scop/pre-commit-shfmt
|
|
69
|
+
rev: v3.8.0-1
|
|
70
|
+
hooks:
|
|
71
|
+
- id: shfmt
|
|
72
|
+
# CMake
|
|
73
|
+
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
|
74
|
+
rev: v0.6.13
|
|
75
|
+
hooks:
|
|
76
|
+
- id: cmake-format
|
|
77
|
+
#- id: cmake-lint
|
|
78
|
+
# license header
|
|
79
|
+
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
80
|
+
rev: v1.5.5
|
|
81
|
+
hooks:
|
|
82
|
+
# C++, js
|
|
83
|
+
- id: insert-license
|
|
84
|
+
files: \.(c|cc|cpp|js|ts|h|hpp)$
|
|
85
|
+
args:
|
|
86
|
+
- --license-filepath
|
|
87
|
+
- .license-header.txt
|
|
88
|
+
- --comment-style
|
|
89
|
+
- //
|
|
90
|
+
- --no-extra-eol
|
|
91
|
+
exclude: ^source/3rdparty|source/lib/src/gpu/cudart/.+\.inc
|
|
92
|
+
# CSS
|
|
93
|
+
- id: insert-license
|
|
94
|
+
files: \.(css|scss)$
|
|
95
|
+
args:
|
|
96
|
+
- --license-filepath
|
|
97
|
+
- .license-header.txt
|
|
98
|
+
- --comment-style
|
|
99
|
+
- /*| *| */
|
|
100
|
+
- --no-extra-eol
|
|
101
|
+
# Python
|
|
102
|
+
- id: insert-license
|
|
103
|
+
files: \.(py|pyx)$
|
|
104
|
+
args:
|
|
105
|
+
- --license-filepath
|
|
106
|
+
- .license-header.txt
|
|
107
|
+
- --comment-style
|
|
108
|
+
- "#"
|
|
109
|
+
- --no-extra-eol
|
|
110
|
+
exclude: ^source/3rdparty
|
|
111
|
+
# HTML
|
|
112
|
+
- id: insert-license
|
|
113
|
+
files: \.(html|vue|xml)$
|
|
114
|
+
args:
|
|
115
|
+
- --license-filepath
|
|
116
|
+
- .license-header.txt
|
|
117
|
+
- --comment-style
|
|
118
|
+
- <!--| ~| -->
|
|
119
|
+
- --no-extra-eol
|
|
120
|
+
ci:
|
|
121
|
+
autoupdate_branch: devel
|
|
@@ -7,6 +7,7 @@ Welcome to [DeePMD-kit](https://github.com/deepmodeling/deepmd-kit)!
|
|
|
7
7
|
You can either make a code contribution, help improve our document or offer help to other users. Your help is always appreciated. Come and have fun!
|
|
8
8
|
|
|
9
9
|
### Code contribution
|
|
10
|
+
|
|
10
11
|
You can start from any one of the following items to help improve deepmd-kit
|
|
11
12
|
|
|
12
13
|
- Smash a bug
|
|
@@ -18,6 +19,7 @@ See [here](#before-you-contribute) for some before-hand heads-up.
|
|
|
18
19
|
See [here](#how-to-contribute) to learn how to contribute.
|
|
19
20
|
|
|
20
21
|
### Document improvement
|
|
22
|
+
|
|
21
23
|
You can start from any one of the following items to help improve [DeePMD-kit Docs](https://deepmd.readthedocs.io/en/latest/?badge=latest):
|
|
22
24
|
|
|
23
25
|
- Fix typos or format (punctuation, space, indentation, code block, etc.)
|
|
@@ -26,21 +28,27 @@ You can start from any one of the following items to help improve [DeePMD-kit Do
|
|
|
26
28
|
- Translate docs changes from English to Chinese
|
|
27
29
|
|
|
28
30
|
### Offer help
|
|
31
|
+
|
|
29
32
|
You can help other users of deepmd-kit in the following way
|
|
30
33
|
|
|
31
34
|
- Submit, reply to, and resolve [issues](https://github.com/deepmodeling/deepmd-kit/issues)
|
|
32
35
|
- (Advanced) Review Pull Requests created by others
|
|
33
36
|
|
|
34
37
|
## Before you contribute
|
|
38
|
+
|
|
35
39
|
### Overview of DeePMD-kit
|
|
40
|
+
|
|
36
41
|
Currently, we maintain two main branch:
|
|
42
|
+
|
|
37
43
|
- master: stable branch with version tag
|
|
38
|
-
- devel :
|
|
44
|
+
- devel : branch for developers
|
|
39
45
|
|
|
40
46
|
### Developer guide
|
|
41
|
-
|
|
47
|
+
|
|
48
|
+
See [documentation](https://deepmd.readthedocs.io/) for coding conventions, API and other needs-to-know of the code.
|
|
42
49
|
|
|
43
50
|
## How to contribute
|
|
51
|
+
|
|
44
52
|
Please perform the following steps to create your Pull Request to this repository. If don't like to use commands, you can also use [GitHub Desktop](https://desktop.github.com/), which is easier to get started. Go to [git documentation](https://git-scm.com/doc) if you want to really master git.
|
|
45
53
|
|
|
46
54
|
### Step 1: Fork the repository
|
|
@@ -51,79 +59,82 @@ Please perform the following steps to create your Pull Request to this repositor
|
|
|
51
59
|
### Step 2: Clone the forked repository to local storage and set configurations
|
|
52
60
|
|
|
53
61
|
1. Clone your own repo, not the public repo (from deepmodeling) ! And change the branch to devel.
|
|
54
|
-
```bash
|
|
55
|
-
git clone https://github.com/$username/deepmd-kit.git
|
|
56
|
-
# Replace `$username` with your GitHub ID
|
|
57
62
|
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
```bash
|
|
64
|
+
git clone https://github.com/$username/deepmd-kit.git
|
|
65
|
+
# Replace `$username` with your GitHub ID
|
|
66
|
+
|
|
67
|
+
git checkout devel
|
|
68
|
+
```
|
|
60
69
|
|
|
61
70
|
2. Add deepmodeling's repo as your remote repo, we can name it "upstream". And fetch upstream's latest codes to your workstation.
|
|
62
|
-
```bash
|
|
63
|
-
git remote add upstream https://github.com/deepmodeling/deepmd-kit.git
|
|
64
|
-
# After you add a remote repo, your local repo will be automatically named "origin".
|
|
65
71
|
|
|
66
|
-
|
|
72
|
+
```bash
|
|
73
|
+
git remote add upstream https://github.com/deepmodeling/deepmd-kit.git
|
|
74
|
+
# After you add a remote repo, your local repo will be automatically named "origin".
|
|
67
75
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
76
|
+
git fetch upstream
|
|
77
|
+
|
|
78
|
+
# If your current codes are behind the latest codes, you should merge latest codes first.
|
|
79
|
+
# Notice you should merge from "devel"!
|
|
80
|
+
git merge upstream/devel
|
|
81
|
+
```
|
|
72
82
|
|
|
73
83
|
3. Modify your codes and design unit tests.
|
|
74
84
|
|
|
75
85
|
4. Commit your changes
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
git status # Checks the local status
|
|
89
|
+
git add <file> ... # Adds the file(s) you want to commit. If you want to commit all changes, you can directly use `git add.`
|
|
90
|
+
git commit -m "commit-message: update the xx"
|
|
91
|
+
```
|
|
81
92
|
|
|
82
93
|
5. Push the changed codes to your original repo on github.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
94
|
+
```bash
|
|
95
|
+
git push origin devel
|
|
96
|
+
```
|
|
86
97
|
|
|
87
98
|
### Alternatively: Create a new branch
|
|
88
99
|
|
|
89
100
|
1. Get your local master up-to-date with upstream/master.
|
|
90
101
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
102
|
+
```bash
|
|
103
|
+
cd $working_dir/deepmd-kit
|
|
104
|
+
git fetch upstream
|
|
105
|
+
git checkout master
|
|
106
|
+
git rebase upstream/master
|
|
107
|
+
```
|
|
97
108
|
|
|
98
109
|
2. Create a new branch based on the master branch.
|
|
99
110
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
111
|
+
```bash
|
|
112
|
+
git checkout -b new-branch-name
|
|
113
|
+
```
|
|
103
114
|
|
|
104
115
|
3. Modify your codes and design unit tests.
|
|
105
116
|
|
|
106
117
|
4. Commit your changes
|
|
107
118
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
119
|
+
```bash
|
|
120
|
+
git status # Checks the local status
|
|
121
|
+
git add <file> ... # Adds the file(s) you want to commit. If you want to commit all changes, you can directly use `git add.`
|
|
122
|
+
git commit -m "commit-message: update the xx"
|
|
123
|
+
```
|
|
113
124
|
|
|
114
125
|
5. Keep your branch in sync with upstream/master
|
|
115
126
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
127
|
+
```bash
|
|
128
|
+
# While on your new branch
|
|
129
|
+
git fetch upstream
|
|
130
|
+
git rebase upstream/master
|
|
131
|
+
```
|
|
121
132
|
|
|
122
133
|
6. Push your changes to the remote
|
|
123
134
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
135
|
+
```bash
|
|
136
|
+
git push -u origin new-branch-name # "-u" is used to track the remote branch from origin
|
|
137
|
+
```
|
|
127
138
|
|
|
128
139
|
### Step 3: Create a pull request
|
|
129
140
|
|
|
@@ -133,4 +144,5 @@ Please perform the following steps to create your Pull Request to this repositor
|
|
|
133
144
|
Now, your PR is successfully submitted! After this PR is merged, you will automatically become a contributor to DeePMD-kit.
|
|
134
145
|
|
|
135
146
|
## Contact us
|
|
147
|
+
|
|
136
148
|
E-mail: contact@deepmodeling.org
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: deepmd-kit
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.10
|
|
4
4
|
Summary: A deep learning package for many-body potential energy representation and molecular dynamics
|
|
5
5
|
Keywords: deepmd
|
|
6
6
|
Author: DeepModeling
|
|
@@ -199,7 +199,7 @@ Requires-Dist: importlib_metadata>=1.4; python_version < "3.8"
|
|
|
199
199
|
Requires-Dist: h5py
|
|
200
200
|
Requires-Dist: wcmatch
|
|
201
201
|
Requires-Dist: packaging
|
|
202
|
-
Requires-Dist: dpdata>=0.
|
|
202
|
+
Requires-Dist: dpdata>=0.2.7; extra == "test"
|
|
203
203
|
Requires-Dist: ase; extra == "test"
|
|
204
204
|
Requires-Dist: pytest; extra == "test"
|
|
205
205
|
Requires-Dist: pytest-cov; extra == "test"
|
|
@@ -219,23 +219,16 @@ Requires-Dist: dargs>=0.3.4; extra == "docs"
|
|
|
219
219
|
Requires-Dist: sphinx-argparse; extra == "docs"
|
|
220
220
|
Requires-Dist: pygments-lammps; extra == "docs"
|
|
221
221
|
Requires-Dist: sphinxcontrib-bibtex; extra == "docs"
|
|
222
|
-
Requires-Dist: lammps~=2023.8.2.
|
|
222
|
+
Requires-Dist: lammps~=2023.8.2.3.0; extra == "lmp"
|
|
223
223
|
Requires-Dist: i-PI; extra == "ipi"
|
|
224
224
|
Requires-Dist: dpgui; extra == "gui"
|
|
225
|
-
Requires-Dist: tensorflow-cpu; platform_machine != "aarch64" and (platform_machine != "arm64" or platform_system != "Darwin") and extra == "cpu"
|
|
226
|
-
Requires-Dist: tensorflow; platform_machine == "aarch64" or (platform_machine == "arm64" and platform_system == "Darwin") and extra == "cpu"
|
|
227
|
-
Requires-Dist: tensorflow-cpu<2.15; platform_system == "Windows" and extra == "cpu"
|
|
228
|
-
Requires-Dist: tensorflow; extra == "gpu"
|
|
229
|
-
Requires-Dist: tensorflow-metal; platform_machine == "arm64" and platform_system == "Darwin" and extra == "gpu"
|
|
230
|
-
Requires-Dist: horovod; extra == "mpi"
|
|
231
|
-
Requires-Dist: mpi4py; extra == "mpi"
|
|
232
225
|
Requires-Dist: nvidia-cuda-runtime-cu11; extra == "cu11"
|
|
233
226
|
Requires-Dist: nvidia-cublas-cu11; extra == "cu11"
|
|
234
227
|
Requires-Dist: nvidia-cufft-cu11; extra == "cu11"
|
|
235
228
|
Requires-Dist: nvidia-curand-cu11; extra == "cu11"
|
|
236
229
|
Requires-Dist: nvidia-cusolver-cu11; extra == "cu11"
|
|
237
230
|
Requires-Dist: nvidia-cusparse-cu11; extra == "cu11"
|
|
238
|
-
Requires-Dist: nvidia-cudnn-cu11; extra == "cu11"
|
|
231
|
+
Requires-Dist: nvidia-cudnn-cu11<9; extra == "cu11"
|
|
239
232
|
Requires-Dist: nvidia-cuda-nvcc-cu11; extra == "cu11"
|
|
240
233
|
Requires-Dist: nvidia-cuda-runtime-cu12; extra == "cu12"
|
|
241
234
|
Requires-Dist: nvidia-cublas-cu12; extra == "cu12"
|
|
@@ -243,26 +236,37 @@ Requires-Dist: nvidia-cufft-cu12; extra == "cu12"
|
|
|
243
236
|
Requires-Dist: nvidia-curand-cu12; extra == "cu12"
|
|
244
237
|
Requires-Dist: nvidia-cusolver-cu12; extra == "cu12"
|
|
245
238
|
Requires-Dist: nvidia-cusparse-cu12; extra == "cu12"
|
|
246
|
-
Requires-Dist: nvidia-cudnn-cu12; extra == "cu12"
|
|
239
|
+
Requires-Dist: nvidia-cudnn-cu12<9; extra == "cu12"
|
|
247
240
|
Requires-Dist: nvidia-cuda-nvcc-cu12; extra == "cu12"
|
|
241
|
+
Requires-Dist: tensorflow-cpu; platform_machine != "aarch64" and (platform_machine != "arm64" or platform_system != "Darwin") and extra == "cpu"
|
|
242
|
+
Requires-Dist: tensorflow; platform_machine == "aarch64" or (platform_machine == "arm64" and platform_system == "Darwin") and extra == "cpu"
|
|
243
|
+
Requires-Dist: tensorflow-cpu<2.15; platform_system == "Windows" and extra == "cpu"
|
|
244
|
+
Requires-Dist: tf-keras; python_version >= "3.9" and extra == "cpu"
|
|
245
|
+
Requires-Dist: tf-keras>=2.16.0rc0; python_version >= "3.12" and extra == "cpu"
|
|
246
|
+
Requires-Dist: tensorflow; extra == "gpu"
|
|
247
|
+
Requires-Dist: tensorflow-metal; platform_machine == "arm64" and platform_system == "Darwin" and extra == "gpu"
|
|
248
|
+
Requires-Dist: tf-keras; python_version >= "3.9" and extra == "gpu"
|
|
249
|
+
Requires-Dist: tf-keras>=2.16.0rc0; python_version >= "3.12" and extra == "gpu"
|
|
250
|
+
Requires-Dist: horovod; extra == "mpi"
|
|
251
|
+
Requires-Dist: mpi4py; extra == "mpi"
|
|
248
252
|
Provides-Extra: test
|
|
249
253
|
Provides-Extra: docs
|
|
250
254
|
Provides-Extra: lmp
|
|
251
255
|
Provides-Extra: ipi
|
|
252
256
|
Provides-Extra: gui
|
|
257
|
+
Provides-Extra: cu11
|
|
258
|
+
Provides-Extra: cu12
|
|
253
259
|
Provides-Extra: cpu
|
|
254
260
|
Provides-Extra: gpu
|
|
255
261
|
Provides-Extra: mpi
|
|
256
|
-
Provides-Extra: cu11
|
|
257
|
-
Provides-Extra: cu12
|
|
258
262
|
Description-Content-Type: text/markdown
|
|
259
263
|
|
|
260
264
|
[<picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/deepmodeling/deepmd-kit/raw/master/./doc/_static/logo-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.com/deepmodeling/deepmd-kit/raw/master/./doc/_static/logo.svg"><img alt="DeePMD-kit logo" src="https://github.com/deepmodeling/deepmd-kit/raw/master/./doc/_static/logo.svg"></picture>](https://github.com/deepmodeling/deepmd-kit/tree/master/./doc/logo.md)
|
|
261
265
|
|
|
262
|
-
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
# DeePMD-kit
|
|
263
269
|
|
|
264
|
-
<span style="font-size:larger;">DeePMD-kit Manual</span>
|
|
265
|
-
========
|
|
266
270
|
[](https://github.com/deepmodeling/deepmd-kit/releases)
|
|
267
271
|
[](https://github.com/deepmodeling/deepmd-kit/releases)
|
|
268
272
|
[](https://anaconda.org/conda-forge/deepmd-kit)
|
|
@@ -270,168 +274,88 @@ Description-Content-Type: text/markdown
|
|
|
270
274
|
[](https://hub.docker.com/r/deepmodeling/deepmd-kit)
|
|
271
275
|
[](https://deepmd.readthedocs.io/)
|
|
272
276
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
- [Highlights in v2.0](https://github.com/deepmodeling/deepmd-kit/tree/master/#highlights-in-deepmd-kit-v2.0)
|
|
276
|
-
- [Highlighted features](https://github.com/deepmodeling/deepmd-kit/tree/master/#highlighted-features)
|
|
277
|
-
- [License and credits](https://github.com/deepmodeling/deepmd-kit/tree/master/#license-and-credits)
|
|
278
|
-
- [Deep Potential in a nutshell](https://github.com/deepmodeling/deepmd-kit/tree/master/#deep-potential-in-a-nutshell)
|
|
279
|
-
- [Download and install](https://github.com/deepmodeling/deepmd-kit/tree/master/#download-and-install)
|
|
280
|
-
- [Use DeePMD-kit](https://github.com/deepmodeling/deepmd-kit/tree/master/#use-deepmd-kit)
|
|
281
|
-
- [Code structure](https://github.com/deepmodeling/deepmd-kit/tree/master/#code-structure)
|
|
282
|
-
- [Troubleshooting](https://github.com/deepmodeling/deepmd-kit/tree/master/#troubleshooting)
|
|
283
|
-
|
|
284
|
-
# About DeePMD-kit
|
|
277
|
+
## About DeePMD-kit
|
|
278
|
+
|
|
285
279
|
DeePMD-kit is a package written in Python/C++, designed to minimize the effort required to build deep learning-based model of interatomic potential energy and force field and to perform molecular dynamics (MD). This brings new hopes to addressing the accuracy-versus-efficiency dilemma in molecular simulations. Applications of DeePMD-kit span from finite molecules to extended systems and from metallic systems to chemically bonded systems.
|
|
286
280
|
|
|
287
281
|
For more information, check the [documentation](https://deepmd.readthedocs.io/).
|
|
288
282
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
* **interfaced with TensorFlow**, one of the most popular deep learning frameworks, making the training process highly automatic and efficient, in addition, Tensorboard can be used to visualize training procedures.
|
|
300
|
-
* **interfaced with high-performance classical MD and quantum (path-integral) MD packages**, i.e., LAMMPS and i-PI, respectively.
|
|
301
|
-
* **implements the Deep Potential series models**, which have been successfully applied to finite and extended systems including organic molecules, metals, semiconductors, insulators, etc.
|
|
302
|
-
* **implements MPI and GPU supports**, making it highly efficient for high-performance parallel and distributed computing.
|
|
303
|
-
* **highly modularized**, easy to adapt to different descriptors for deep learning-based potential energy models.
|
|
304
|
-
|
|
305
|
-
## License and credits
|
|
283
|
+
### Highlighted features
|
|
284
|
+
|
|
285
|
+
- **interfaced with TensorFlow**, making the training process highly automatic and efficient.
|
|
286
|
+
- **interfaced with high-performance classical MD and quantum (path-integral) MD packages**, including LAMMPS, i-PI, AMBER, CP2K, GROMACS, OpenMM, and ABUCUS.
|
|
287
|
+
- **implements the Deep Potential series models**, which have been successfully applied to finite and extended systems, including organic molecules, metals, semiconductors, insulators, etc.
|
|
288
|
+
- **implements MPI and GPU supports**, making it highly efficient for high-performance parallel and distributed computing.
|
|
289
|
+
- **highly modularized**, easy to adapt to different descriptors for deep learning-based potential energy models.
|
|
290
|
+
|
|
291
|
+
### License and credits
|
|
292
|
+
|
|
306
293
|
The project DeePMD-kit is licensed under [GNU LGPLv3.0](https://github.com/deepmodeling/deepmd-kit/tree/master/./LICENSE).
|
|
307
294
|
If you use this code in any future publications, please cite the following publications for general purpose:
|
|
295
|
+
|
|
308
296
|
- Han Wang, Linfeng Zhang, Jiequn Han, and Weinan E. "DeePMD-kit: A deep learning package for many-body potential energy representation and molecular dynamics." Computer Physics Communications 228 (2018): 178-184.
|
|
309
|
-
[](https://doi.org/10.1016/j.cpc.2018.03.016)
|
|
310
|
-
[](https://badge.dimensions.ai/details/doi/10.1016/j.cpc.2018.03.016)
|
|
297
|
+
[](https://doi.org/10.1016/j.cpc.2018.03.016)
|
|
298
|
+
[](https://badge.dimensions.ai/details/doi/10.1016/j.cpc.2018.03.016)
|
|
311
299
|
- Jinzhe Zeng, Duo Zhang, Denghui Lu, Pinghui Mo, Zeyu Li, Yixiao Chen, Marián Rynik, Li'ang Huang, Ziyao Li, Shaochen Shi, Yingze Wang, Haotian Ye, Ping Tuo, Jiabin Yang, Ye Ding, Yifan Li, Davide Tisi, Qiyu Zeng, Han Bao, Yu Xia, Jiameng Huang, Koki Muraoka, Yibo Wang, Junhan Chang, Fengbo Yuan, Sigbjørn Løland Bore, Chun Cai, Yinnian Lin, Bo Wang, Jiayan Xu, Jia-Xin Zhu, Chenxing Luo, Yuzhi Zhang, Rhys E. A. Goodall, Wenshuo Liang, Anurag Kumar Singh, Sikai Yao, Jingchao Zhang, Renata Wentzcovitch, Jiequn Han, Jie Liu, Weile Jia, Darrin M. York, Weinan E, Roberto Car, Linfeng Zhang, Han Wang. "DeePMD-kit v2: A software package for deep potential models." J. Chem. Phys. 159 (2023): 054801.
|
|
312
|
-
[](https://doi.org/10.1063/5.0155600)
|
|
313
|
-
[](https://badge.dimensions.ai/details/doi/10.1063/5.0155600)
|
|
300
|
+
[](https://doi.org/10.1063/5.0155600)
|
|
301
|
+
[](https://badge.dimensions.ai/details/doi/10.1063/5.0155600)
|
|
314
302
|
|
|
315
303
|
In addition, please follow [the bib file](https://github.com/deepmodeling/deepmd-kit/tree/master/CITATIONS.bib) to cite the methods you used.
|
|
316
304
|
|
|
317
|
-
|
|
318
|
-
|
|
305
|
+
### Highlights in major versions
|
|
306
|
+
|
|
307
|
+
#### Initial version
|
|
308
|
+
|
|
309
|
+
The goal of Deep Potential is to employ deep learning techniques and realize an inter-atomic potential energy model that is general, accurate, computationally efficient and scalable. The key component is to respect the extensive and symmetry-invariant properties of a potential energy model by assigning a local reference frame and a local environment to each atom. Each environment contains a finite number of atoms, whose local coordinates are arranged in a symmetry-preserving way. These local coordinates are then transformed, through a sub-network, to so-called _atomic energy_. Summing up all the atomic energies gives the potential energy of the system.
|
|
319
310
|
|
|
320
|
-
The initial proof of concept is in the [Deep Potential][1] paper, which employed an approach that was devised to train the neural network model with the potential energy only. With typical
|
|
311
|
+
The initial proof of concept is in the [Deep Potential][1] paper, which employed an approach that was devised to train the neural network model with the potential energy only. With typical _ab initio_ molecular dynamics (AIMD) datasets this is insufficient to reproduce the trajectories. The Deep Potential Molecular Dynamics ([DeePMD][2]) model overcomes this limitation. In addition, the learning process in DeePMD improves significantly over the Deep Potential method thanks to the introduction of a flexible family of loss functions. The NN potential constructed in this way reproduces accurately the AIMD trajectories, both classical and quantum (path integral), in extended and finite systems, at a cost that scales linearly with system size and is always several orders of magnitude lower than that of equivalent AIMD simulations.
|
|
321
312
|
|
|
322
313
|
Although highly efficient, the original Deep Potential model satisfies the extensive and symmetry-invariant properties of a potential energy model at the price of introducing discontinuities in the model. This has negligible influence on a trajectory from canonical sampling but might not be sufficient for calculations of dynamical and mechanical properties. These points motivated us to develop the Deep Potential-Smooth Edition ([DeepPot-SE][3]) model, which replaces the non-smooth local frame with a smooth and adaptive embedding network. DeepPot-SE shows great ability in modeling many kinds of systems that are of interest in the fields of physics, chemistry, biology, and materials science.
|
|
323
314
|
|
|
324
315
|
In addition to building up potential energy models, DeePMD-kit can also be used to build up coarse-grained models. In these models, the quantity that we want to parameterize is the free energy, or the coarse-grained potential, of the coarse-grained particles. See the [DeePCG paper][4] for more details.
|
|
325
316
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
- [Install i-PI](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-ipi.md)
|
|
351
|
-
- [Install GROMACS](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-gromacs.md)
|
|
352
|
-
- [Building conda packages](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/build-conda.md)
|
|
353
|
-
- [Install Node.js interface](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-nodejs.md)
|
|
354
|
-
- [Easy install the latest development version](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/easy-install-dev.md)
|
|
355
|
-
- [Data](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/data/index.md)
|
|
356
|
-
- [System](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/data/system.md)
|
|
357
|
-
- [Formats of a system](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/data/data-conv.md)
|
|
358
|
-
- [Prepare data with dpdata](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/data/dpdata.md)
|
|
359
|
-
- [Model](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/index.md)
|
|
360
|
-
- [Overall](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/overall.md)
|
|
361
|
-
- [Descriptor `"se_e2_a"`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-e2-a.md)
|
|
362
|
-
- [Descriptor `"se_e2_r"`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-e2-r.md)
|
|
363
|
-
- [Descriptor `"se_e3"`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-e3.md)
|
|
364
|
-
- [Descriptor `"se_atten"`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-atten.md)
|
|
365
|
-
- [Descriptor `"se_atten_v2"`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-atten.md#descriptor-se_atten_v2)
|
|
366
|
-
- [Descriptor `"hybrid"`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-hybrid.md)
|
|
367
|
-
- [Descriptor `sel`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/sel.md)
|
|
368
|
-
- [Fit energy](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-energy.md)
|
|
369
|
-
- [Fit spin energy](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-energy-spin.md)
|
|
370
|
-
- [Fit `tensor` like `Dipole` and `Polarizability`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-fitting-tensor.md)
|
|
371
|
-
- [Fit electronic density of states (DOS)](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-fitting-dos.md)
|
|
372
|
-
- [Train a Deep Potential model using `type embedding` approach](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-e2-a-tebd.md)
|
|
373
|
-
- [Deep potential long-range](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/dplr.md)
|
|
374
|
-
- [Deep Potential - Range Correction (DPRc)](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/dprc.md)
|
|
375
|
-
- [Linear model](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/linear.md)
|
|
376
|
-
- [Interpolation or combination with a pairwise potential](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/pairtab.md)
|
|
377
|
-
- [Training](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/index.md)
|
|
378
|
-
- [Training a model](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/training.md)
|
|
379
|
-
- [Advanced options](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/training-advanced.md)
|
|
380
|
-
- [Parallel training](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/parallel-training.md)
|
|
381
|
-
- [Multi-task training](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/multi-task-training.md)
|
|
382
|
-
- [TensorBoard Usage](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/tensorboard.md)
|
|
383
|
-
- [Known limitations of using GPUs](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/gpu-limitations.md)
|
|
384
|
-
- [Training Parameters](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train-input-auto.rst)
|
|
385
|
-
- [Freeze and Compress](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/freeze/index.rst)
|
|
386
|
-
- [Freeze a model](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/freeze/freeze.md)
|
|
387
|
-
- [Compress a model](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/freeze/compress.md)
|
|
388
|
-
- [Test](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/test/index.rst)
|
|
389
|
-
- [Test a model](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/test/test.md)
|
|
390
|
-
- [Calculate Model Deviation](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/test/model-deviation.md)
|
|
391
|
-
- [Inference](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/inference/index.rst)
|
|
392
|
-
- [Python interface](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/inference/python.md)
|
|
393
|
-
- [C++ interface](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/inference/cxx.md)
|
|
394
|
-
- [Node.js interface](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/inference/nodejs.md)
|
|
395
|
-
- [Integrate with third-party packages](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/third-party/index.rst)
|
|
396
|
-
- [Use deep potential with ASE](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/third-party/ase.md)
|
|
397
|
-
- [Run MD with LAMMPS](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/third-party/lammps-command.md)
|
|
398
|
-
- [Run path-integral MD with i-PI](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/third-party/ipi.md)
|
|
399
|
-
- [Run MD with GROMACS](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/third-party/gromacs.md)
|
|
400
|
-
- [Interfaces out of DeePMD-kit](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/third-party/out-of-deepmd-kit.md)
|
|
401
|
-
- [Use NVNMD](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/nvnmd/index.md)
|
|
402
|
-
|
|
403
|
-
# Code structure
|
|
317
|
+
#### v1
|
|
318
|
+
|
|
319
|
+
- Code refactor to make it highly modularized.
|
|
320
|
+
- GPU support for descriptors.
|
|
321
|
+
|
|
322
|
+
#### v2
|
|
323
|
+
|
|
324
|
+
- Model compression. Accelerate the efficiency of model inference 4-15 times.
|
|
325
|
+
- New descriptors. Including `se_e2_r`, `se_e3`, and `se_atten` (DPA-1).
|
|
326
|
+
- Hybridization of descriptors. Hybrid descriptor constructed from the concatenation of several descriptors.
|
|
327
|
+
- Atom type embedding. Enable atom-type embedding to decline training complexity and refine performance.
|
|
328
|
+
- Training and inference of the dipole (vector) and polarizability (matrix).
|
|
329
|
+
- Split of training and validation dataset.
|
|
330
|
+
- Optimized training on GPUs, including CUDA and ROCm.
|
|
331
|
+
- Non-von-Neumann.
|
|
332
|
+
- C API to interface with the third-party packages.
|
|
333
|
+
|
|
334
|
+
See [our latest paper](https://doi.org/10.1063/5.0155600) for details of all features until v2.2.3.
|
|
335
|
+
|
|
336
|
+
## Install and use DeePMD-kit
|
|
337
|
+
|
|
338
|
+
Please read the [online documentation](https://deepmd.readthedocs.io/) for how to install and use DeePMD-kit.
|
|
339
|
+
|
|
340
|
+
## Code structure
|
|
404
341
|
|
|
405
342
|
The code is organized as follows:
|
|
406
343
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
# Troubleshooting
|
|
419
|
-
|
|
420
|
-
- [Model compatibility](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/model_compatability.md)
|
|
421
|
-
- [Installation](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/installation.md)
|
|
422
|
-
- [The temperature undulates violently during the early stages of MD](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/md_energy_undulation.md)
|
|
423
|
-
- [MD: cannot run LAMMPS after installing a new version of DeePMD-kit](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/md_version_compatibility.md)
|
|
424
|
-
- [Do we need to set rcut < half boxsize?](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/howtoset_rcut.md)
|
|
425
|
-
- [How to set sel?](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/howtoset_sel.md)
|
|
426
|
-
- [How to control the parallelism of a job?](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/howtoset_num_nodes.md)
|
|
427
|
-
- [How to tune Fitting/embedding-net size?](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/howtoset_netsize.md)
|
|
428
|
-
- [Why does a model have low precision?](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/troubleshooting/precision.md)
|
|
344
|
+
- `examples`: examples.
|
|
345
|
+
- `deepmd`: DeePMD-kit python modules.
|
|
346
|
+
- `source/lib`: source code of the core library.
|
|
347
|
+
- `source/op`: Operator (OP) implementation.
|
|
348
|
+
- `source/api_cc`: source code of DeePMD-kit C++ API.
|
|
349
|
+
- `source/api_c`: source code of the C API.
|
|
350
|
+
- `source/nodejs`: source code of the Node.js API.
|
|
351
|
+
- `source/ipi`: source code of i-PI client.
|
|
352
|
+
- `source/lmp`: source code of Lammps module.
|
|
353
|
+
- `source/gmx`: source code of Gromacs plugin.
|
|
429
354
|
|
|
430
355
|
# Contributing
|
|
431
356
|
|
|
432
357
|
See [DeePMD-kit Contributing Guide](https://github.com/deepmodeling/deepmd-kit/tree/master/CONTRIBUTING.md) to become a contributor! 🤓
|
|
433
358
|
|
|
434
|
-
|
|
435
359
|
[1]: https://arxiv.org/abs/1707.01478
|
|
436
360
|
[2]: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.120.143001
|
|
437
361
|
[3]: https://arxiv.org/abs/1805.09003
|