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.
Files changed (503) hide show
  1. deepmd_kit-2.2.10/.pre-commit-config.yaml +121 -0
  2. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/CONTRIBUTING.md +57 -45
  3. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/PKG-INFO +78 -154
  4. deepmd_kit-2.2.10/README.md +99 -0
  5. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/dp_backend.py +1 -0
  6. deepmd_kit-2.2.10/backend/dynamic_metadata.py +54 -0
  7. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/find_tensorflow.py +8 -7
  8. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/loc_frame.py +6 -3
  9. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a.py +6 -3
  10. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_ebd.py +2 -2
  11. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_ebd_v2.py +1 -1
  12. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_ef.py +3 -3
  13. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_a_mask.py +2 -2
  14. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_atten.py +13 -2
  15. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_atten_v2.py +1 -1
  16. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_r.py +6 -3
  17. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se_t.py +6 -3
  18. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/freeze.py +11 -7
  19. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/ipi.py +1 -0
  20. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/test.py +1 -0
  21. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/env.py +9 -12
  22. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/ener.py +17 -4
  23. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/model_devi.py +2 -4
  24. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/lmp.py +1 -0
  25. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loggers/loggers.py +1 -0
  26. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/model_stat.py +1 -0
  27. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/argcheck.py +1 -0
  28. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_gelu.py +1 -0
  29. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/train/trainer.py +10 -14
  30. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/argcheck.py +1 -0
  31. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/compat.py +1 -0
  32. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/data.py +1 -0
  33. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/data_system.py +1 -0
  34. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/finetune.py +1 -3
  35. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/graph.py +6 -6
  36. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/multi_init.py +1 -3
  37. deepmd_kit-2.2.10/deepmd/utils/neighbor_stat.py +320 -0
  38. deepmd_kit-2.2.10/deepmd/utils/nlist.py +103 -0
  39. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/pair_tab.py +1 -0
  40. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/path.py +1 -0
  41. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/plugin.py +1 -0
  42. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/random.py +1 -0
  43. deepmd_kit-2.2.10/deepmd/utils/region.py +36 -0
  44. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/weight_avg.py +1 -0
  45. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/entrypoints/doc.py +1 -1
  46. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/main.py +2 -1
  47. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/network.py +1 -0
  48. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/se_e2_a.py +2 -2
  49. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/argcheck.py +15 -23
  50. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/data.py +2 -6
  51. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/pyproject.toml +75 -10
  52. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/CMakeLists.txt +1 -0
  53. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/include/c_api.h +180 -4
  54. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/include/deepmd.hpp +290 -11
  55. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/src/c_api.cc +171 -1
  56. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DataModifier.h +5 -5
  57. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DataModifierTF.h +4 -4
  58. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepPot.h +65 -0
  59. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DataModifier.cc +1 -1
  60. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepPot.cc +93 -0
  61. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/common.cc +5 -8
  62. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/CMakeLists.txt +1 -0
  63. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/include/gmx_plugin.h +4 -0
  64. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_cc.sh +6 -1
  65. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_from_c.sh +1 -1
  66. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_lammps.sh +1 -1
  67. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/test_cc.sh +1 -1
  68. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/test_cc_local.sh +7 -1
  69. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/driver.cc +3 -6
  70. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_env_mat.cu +0 -2
  71. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/fix_dplr.cpp +1 -5
  72. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/plugin/CMakeLists.txt +1 -1
  73. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/GroFileManager.cc +3 -6
  74. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Poly.cpp +4 -8
  75. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/prepublish.py +1 -0
  76. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/tests/test_deeppot.js +12 -6
  77. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/yarn.lock +3 -3
  78. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/dotmul_flt_nvnmd.cc +1 -1
  79. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/map_flt_nvnmd.cc +4 -4
  80. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/matmul_fitnet_nvnmd.cc +1 -1
  81. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/matmul_flt2fix_nvnmd.cc +3 -3
  82. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/matmul_flt_nvnmd.cc +3 -3
  83. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/tanh4_flt_nvnmd.cc +2 -2
  84. deepmd_kit-2.2.8/.pre-commit-config.yaml +0 -119
  85. deepmd_kit-2.2.8/README.md +0 -179
  86. deepmd_kit-2.2.8/backend/dynamic_metadata.py +0 -91
  87. deepmd_kit-2.2.8/deepmd/utils/neighbor_stat.py +0 -153
  88. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.clang-format +0 -0
  89. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.git-blame-ignore-revs +0 -0
  90. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.gitattributes +0 -0
  91. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.gitignore +0 -0
  92. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.license-header.txt +0 -0
  93. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/.readthedocs.yml +0 -0
  94. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/CITATIONS.bib +0 -0
  95. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/LICENSE +0 -0
  96. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/__init__.py +0 -0
  97. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/backend/read_env.py +0 -0
  98. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/codecov.yml +0 -0
  99. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/.gitignore +0 -0
  100. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/__about__.py +0 -0
  101. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/__init__.py +0 -0
  102. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/__main__.py +0 -0
  103. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/calculator.py +0 -0
  104. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/cluster/__init__.py +0 -0
  105. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/cluster/local.py +0 -0
  106. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/cluster/slurm.py +0 -0
  107. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/common.py +0 -0
  108. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/__init__.py +0 -0
  109. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/descriptor.py +0 -0
  110. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/hybrid.py +0 -0
  111. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/descriptor/se.py +0 -0
  112. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/__init__.py +0 -0
  113. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/compress.py +0 -0
  114. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/convert.py +0 -0
  115. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/doc.py +0 -0
  116. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/gui.py +0 -0
  117. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/main.py +0 -0
  118. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/neighbor_stat.py +0 -0
  119. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/train.py +0 -0
  120. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/entrypoints/transfer.py +0 -0
  121. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/__init__.py +0 -0
  122. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/dipole.py +0 -0
  123. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/dos.py +0 -0
  124. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/fitting.py +0 -0
  125. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/fit/polar.py +0 -0
  126. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/__init__.py +0 -0
  127. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/data_modifier.py +0 -0
  128. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_dipole.py +0 -0
  129. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_dos.py +0 -0
  130. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_eval.py +0 -0
  131. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_polar.py +0 -0
  132. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_pot.py +0 -0
  133. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_tensor.py +0 -0
  134. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/deep_wfc.py +0 -0
  135. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/infer/ewald_recp.py +0 -0
  136. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loggers/__init__.py +0 -0
  137. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/__init__.py +0 -0
  138. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/dos.py +0 -0
  139. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/ener.py +0 -0
  140. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/loss.py +0 -0
  141. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/loss/tensor.py +0 -0
  142. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/__init__.py +0 -0
  143. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/dos.py +0 -0
  144. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/ener.py +0 -0
  145. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/frozen.py +0 -0
  146. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/linear.py +0 -0
  147. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/model.py +0 -0
  148. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/multi.py +0 -0
  149. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/pairtab.py +0 -0
  150. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/pairwise_dprc.py +0 -0
  151. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/model/tensor.py +0 -0
  152. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/__init__.py +0 -0
  153. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/data/__init__.py +0 -0
  154. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/data/data.py +0 -0
  155. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/descriptor/__init__.py +0 -0
  156. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/descriptor/se_a.py +0 -0
  157. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/descriptor/se_atten.py +0 -0
  158. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/__init__.py +0 -0
  159. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/freeze.py +0 -0
  160. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/mapt.py +0 -0
  161. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/train.py +0 -0
  162. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/entrypoints/wrap.py +0 -0
  163. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/fit/__init__.py +0 -0
  164. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/fit/ener.py +0 -0
  165. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/__init__.py +0 -0
  166. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/config.py +0 -0
  167. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/encode.py +0 -0
  168. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/fio.py +0 -0
  169. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/network.py +0 -0
  170. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/op.py +0 -0
  171. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/nvnmd/utils/weight.py +0 -0
  172. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/__init__.py +0 -0
  173. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_add_flt_nvnmd_grad.py +0 -0
  174. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_copy_flt_nvnmd_grad.py +0 -0
  175. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_dotmul_flt_nvnmd_grad.py +0 -0
  176. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_flt_nvnmd_grad.py +0 -0
  177. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_map_flt_nvnmd_grad.py +0 -0
  178. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_matmul_fitnet_nvnmd_grad.py +0 -0
  179. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_matmul_flt2fix_nvnmd.py +0 -0
  180. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_matmul_flt_nvnmd_grad.py +0 -0
  181. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_mul_flt_nvnmd_grad.py +0 -0
  182. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_grad.py +0 -0
  183. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_se_a_grad.py +0 -0
  184. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_se_a_mask_grad.py +0 -0
  185. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_force_se_r_grad.py +0 -0
  186. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_virial_grad.py +0 -0
  187. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_virial_se_a_grad.py +0 -0
  188. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_prod_virial_se_r_grad.py +0 -0
  189. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_quantize_nvnmd_grad.py +0 -0
  190. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_soft_min_force_grad.py +0 -0
  191. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_soft_min_virial_grad.py +0 -0
  192. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_tabulate_grad.py +0 -0
  193. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/op/_tanh4_flt_nvnmd_grad.py +0 -0
  194. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/train/__init__.py +0 -0
  195. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/train/run_options.py +0 -0
  196. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/__init__.py +0 -0
  197. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/batch_size.py +0 -0
  198. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/compress.py +0 -0
  199. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/convert.py +0 -0
  200. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/errors.py +0 -0
  201. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/learning_rate.py +0 -0
  202. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/network.py +0 -0
  203. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/parallel_op.py +0 -0
  204. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/sess.py +0 -0
  205. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/spin.py +0 -0
  206. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/tabulate.py +0 -0
  207. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd/utils/type_embed.py +0 -0
  208. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/__init__.py +0 -0
  209. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/common.py +0 -0
  210. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/entrypoints/__init__.py +0 -0
  211. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/entrypoints/gui.py +0 -0
  212. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/env.py +0 -0
  213. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/loggers/__init__.py +0 -0
  214. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/loggers/loggers.py +0 -0
  215. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/__init__.py +0 -0
  216. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/common.py +0 -0
  217. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/env_mat.py +0 -0
  218. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/model_format/output_def.py +0 -0
  219. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/__init__.py +0 -0
  220. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/argcheck_nvnmd.py +0 -0
  221. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/batch_size.py +0 -0
  222. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/compat.py +0 -0
  223. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/data_system.py +0 -0
  224. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/errors.py +0 -0
  225. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/model_stat.py +0 -0
  226. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/pair_tab.py +0 -0
  227. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/path.py +0 -0
  228. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/plugin.py +0 -0
  229. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/random.py +0 -0
  230. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/deepmd_utils/utils/weight_avg.py +0 -0
  231. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/aarch64/config.ini +0 -0
  232. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/aarch64/table.S.tpl +0 -0
  233. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/aarch64/trampoline.S.tpl +0 -0
  234. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/arm/config.ini +0 -0
  235. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/arm/table.S.tpl +0 -0
  236. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/arm/trampoline.S.tpl +0 -0
  237. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/common/init.c.tpl +0 -0
  238. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/README.md +0 -0
  239. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/config.ini +0 -0
  240. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/table.S.tpl +0 -0
  241. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/e2k/trampoline.S.tpl +0 -0
  242. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/i386/config.ini +0 -0
  243. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/i386/table.S.tpl +0 -0
  244. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/i386/trampoline.S.tpl +0 -0
  245. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips/config.ini +0 -0
  246. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips/table.S.tpl +0 -0
  247. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips/trampoline.S.tpl +0 -0
  248. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips64/config.ini +0 -0
  249. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips64/table.S.tpl +0 -0
  250. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/mips64/trampoline.S.tpl +0 -0
  251. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/x86_64/config.ini +0 -0
  252. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/x86_64/table.S.tpl +0 -0
  253. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/arch/x86_64/trampoline.S.tpl +0 -0
  254. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/implib/implib-gen.py +0 -0
  255. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/3rdparty/json.hpp +0 -0
  256. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/CMakeLists.txt +0 -0
  257. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_c/include/c_api_internal.h +0 -0
  258. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/CMakeLists.txt +0 -0
  259. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/AtomMap.h +0 -0
  260. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepPotTF.h +0 -0
  261. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepTensor.h +0 -0
  262. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/DeepTensorTF.h +0 -0
  263. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/common.h +0 -0
  264. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/tf_private.h +0 -0
  265. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/tf_public.h +0 -0
  266. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/include/version.h.in +0 -0
  267. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/AtomMap.cc +0 -0
  268. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DataModifierTF.cc +0 -0
  269. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepPotTF.cc +0 -0
  270. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepTensor.cc +0 -0
  271. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/api_cc/src/DeepTensorTF.cc +0 -0
  272. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/Config.cmake.in +0 -0
  273. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/Findtensorflow.cmake +0 -0
  274. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/Findxdrfile.cmake +0 -0
  275. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/cmake_lammps.cmake.in +0 -0
  276. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/cmake_uninstall.cmake.in +0 -0
  277. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/coverage_config/CMakeLists.txt +0 -0
  278. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/googletest.cmake.in +0 -0
  279. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/test_cxx_abi.cpp +0 -0
  280. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/tf_cxx_abi.cpp +0 -0
  281. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/cmake/tf_version.cpp +0 -0
  282. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/CMakeLists.txt +0 -0
  283. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/MODEL_VER +0 -0
  284. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/__init__.py +0 -0
  285. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/config/run_config.ini +0 -0
  286. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/.gitignore +0 -0
  287. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/dp_gmx_patch +0 -0
  288. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/CMakeLists.txt.patch.in +0 -0
  289. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/src/gromacs/mdlib/forcerec.cpp.patch +0 -0
  290. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/src/gromacs/mdlib/forcerec.h.patch +0 -0
  291. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/patches/2020.2/src/gromacs/mdlib/sim_util.cpp.patch +0 -0
  292. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/gmx/src/gmx_plugin.cpp +0 -0
  293. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/build_tf.py +0 -0
  294. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/docker/Dockerfile +0 -0
  295. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/docker_package_c.sh +0 -0
  296. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/docker_test_package_c.sh +0 -0
  297. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/install_tf.sh +0 -0
  298. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/install/package_c.sh +0 -0
  299. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/CMakeLists.txt +0 -0
  300. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/Convert.h +0 -0
  301. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/StringSplit.h +0 -0
  302. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/XyzFileManager.h +0 -0
  303. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/include/sockets.h +0 -0
  304. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/src/Convert.cc +0 -0
  305. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/src/XyzFileManager.cc +0 -0
  306. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/src/sockets.c +0 -0
  307. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/ipi/tests/test_driver.py +0 -0
  308. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/CMakeLists.txt +0 -0
  309. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/ComputeDescriptor.h +0 -0
  310. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/DeviceFunctor.h +0 -0
  311. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/SimulationRegion.h +0 -0
  312. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/SimulationRegion_Impl.h +0 -0
  313. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/coord.h +0 -0
  314. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/device.h +0 -0
  315. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/env_mat.h +0 -0
  316. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/env_mat_nvnmd.h +0 -0
  317. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/errors.h +0 -0
  318. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/ewald.h +0 -0
  319. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/fmt_nlist.h +0 -0
  320. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/gelu.h +0 -0
  321. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/gpu_cuda.h +0 -0
  322. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/gpu_rocm.h +0 -0
  323. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/map_aparam.h +0 -0
  324. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/neighbor_list.h +0 -0
  325. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/neighbor_stat.h +0 -0
  326. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/pair_tab.h +0 -0
  327. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/pairwise.h +0 -0
  328. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_env_mat.h +0 -0
  329. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_env_mat_nvnmd.h +0 -0
  330. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_force.h +0 -0
  331. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_force_grad.h +0 -0
  332. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_virial.h +0 -0
  333. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/prod_virial_grad.h +0 -0
  334. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/region.cuh +0 -0
  335. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/region.h +0 -0
  336. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch.h +0 -0
  337. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_force.h +0 -0
  338. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_force_grad.h +0 -0
  339. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_virial.h +0 -0
  340. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/soft_min_switch_virial_grad.h +0 -0
  341. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/switcher.h +0 -0
  342. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/tabulate.h +0 -0
  343. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/include/utilities.h +0 -0
  344. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/SimulationRegion.cpp +0 -0
  345. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/coord.cc +0 -0
  346. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/env_mat.cc +0 -0
  347. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/env_mat_nvnmd.cc +0 -0
  348. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/ewald.cc +0 -0
  349. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/fmt_nlist.cc +0 -0
  350. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gelu.cc +0 -0
  351. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/CMakeLists.txt +0 -0
  352. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/coord.cu +0 -0
  353. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/cudart/CMakeLists.txt +0 -0
  354. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/cudart/cudart_stub.cc +0 -0
  355. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/gelu.cu +0 -0
  356. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/neighbor_list.cu +0 -0
  357. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/neighbor_stat.cu +0 -0
  358. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_force.cu +0 -0
  359. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_force_grad.cu +0 -0
  360. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_virial.cu +0 -0
  361. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/prod_virial_grad.cu +0 -0
  362. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/region.cu +0 -0
  363. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/gpu/tabulate.cu +0 -0
  364. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/map_aparam.cc +0 -0
  365. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/neighbor_list.cc +0 -0
  366. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/pair_tab.cc +0 -0
  367. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/pairwise.cc +0 -0
  368. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_env_mat.cc +0 -0
  369. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_env_mat_nvnmd.cc +0 -0
  370. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_force.cc +0 -0
  371. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_force_grad.cc +0 -0
  372. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_virial.cc +0 -0
  373. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/prod_virial_grad.cc +0 -0
  374. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/region.cc +0 -0
  375. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch.cc +0 -0
  376. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_force.cc +0 -0
  377. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_force_grad.cc +0 -0
  378. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_virial.cc +0 -0
  379. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/soft_min_switch_virial_grad.cc +0 -0
  380. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/tabulate.cc +0 -0
  381. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lib/src/utilities.cc +0 -0
  382. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/CMakeLists.txt +0 -0
  383. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/Install.sh +0 -0
  384. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/builtin.cmake +0 -0
  385. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/compute_deeptensor_atom.cpp +0 -0
  386. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/compute_deeptensor_atom.h +0 -0
  387. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/deepmd_version.h.in +0 -0
  388. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env.sh.in +0 -0
  389. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env_c.sh.in +0 -0
  390. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env_py.sh.in +0 -0
  391. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/env_py_c.sh.in +0 -0
  392. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/fix_dplr.h +0 -0
  393. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/fix_ttm_dp.h +0 -0
  394. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/lammps_install_list.txt.in +0 -0
  395. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/lmp_version.sh +0 -0
  396. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pair_deepmd.cpp +0 -0
  397. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pair_deepmd.h +0 -0
  398. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/plugin/deepmdplugin.cpp +0 -0
  399. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pppm_dplr.cpp +0 -0
  400. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/lmp/pppm_dplr.h +0 -0
  401. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/CMakeLists.txt +0 -0
  402. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/AdWeight.h +0 -0
  403. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Convert.h +0 -0
  404. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/CosSwitch.h +0 -0
  405. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Gaussian.h +0 -0
  406. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/GroFileManager.h +0 -0
  407. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/HarmonicAngle.h +0 -0
  408. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/HarmonicBond.h +0 -0
  409. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Integrator.h +0 -0
  410. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Interpolation.h +0 -0
  411. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/LJInter.h +0 -0
  412. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/LJTab.h +0 -0
  413. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/MaxShift.h +0 -0
  414. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Poly.h +0 -0
  415. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/RandomGenerator.h +0 -0
  416. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Statistics.h +0 -0
  417. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/StringSplit.h +0 -0
  418. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/TF.h +0 -0
  419. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/TableFileLoader.h +0 -0
  420. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Tabulated.h +0 -0
  421. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/Trajectory.h +0 -0
  422. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/UnitManager.h +0 -0
  423. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/XyzFileManager.h +0 -0
  424. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/ZM.h +0 -0
  425. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/ZMFunctions.h +0 -0
  426. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/common.h +0 -0
  427. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/include/mymath.h +0 -0
  428. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/mdnn.cc +0 -0
  429. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/AdWeight.cc +0 -0
  430. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Convert.cc +0 -0
  431. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Gaussian.cc +0 -0
  432. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/HarmonicAngle.cc +0 -0
  433. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/HarmonicBond.cc +0 -0
  434. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Integrator.cc +0 -0
  435. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Interpolation.cpp +0 -0
  436. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/LJInter.cc +0 -0
  437. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/LJTab.cc +0 -0
  438. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/MaxShift.cc +0 -0
  439. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/RandomGenerator_MT19937.cc +0 -0
  440. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Statistics.cc +0 -0
  441. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/StringSplit.cpp +0 -0
  442. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/TF.cc +0 -0
  443. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/TableFileLoader.cpp +0 -0
  444. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Tabulated.cc +0 -0
  445. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/Trajectory.cc +0 -0
  446. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/UnitManager.cc +0 -0
  447. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/XyzFileManager.cc +0 -0
  448. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/ZM.cc +0 -0
  449. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/md/src/ZMFunctions.cpp +0 -0
  450. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/.gitignore +0 -0
  451. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/.npmignore +0 -0
  452. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/CMakeLists.txt +0 -0
  453. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/README.md +0 -0
  454. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/binding.gyp.in +0 -0
  455. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/binding.gyp.pack +0 -0
  456. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/index.js +0 -0
  457. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/nodejs/package.json +0 -0
  458. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/CMakeLists.txt +0 -0
  459. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/add_flt_nvnmd.cc +0 -0
  460. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/copy_flt_nvnmd.cc +0 -0
  461. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/custom_op.cc +0 -0
  462. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/custom_op.h +0 -0
  463. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt.cc +0 -0
  464. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_ef.cc +0 -0
  465. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_ef_para.cc +0 -0
  466. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_ef_vert.cc +0 -0
  467. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/descrpt_se_a_mask.cc +0 -0
  468. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/ewald_recp.cc +0 -0
  469. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/flt_nvnmd.cc +0 -0
  470. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/gelu_multi_device.cc +0 -0
  471. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/map_aparam.cc +0 -0
  472. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/mul_flt_nvnmd.cc +0 -0
  473. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/neighbor_stat.cc +0 -0
  474. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/optimizer/parallel.cc +0 -0
  475. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/optimizer/parallel.h +0 -0
  476. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/pair_tab.cc +0 -0
  477. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/pairwise.cc +0 -0
  478. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_env_mat_multi_device.cc +0 -0
  479. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_env_mat_multi_device_nvnmd.cc +0 -0
  480. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force.cc +0 -0
  481. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_grad.cc +0 -0
  482. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_grad_multi_device.cc +0 -0
  483. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_multi_device.cc +0 -0
  484. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_a_grad.cc +0 -0
  485. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_a_mask.cc +0 -0
  486. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_a_mask_grad.cc +0 -0
  487. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_force_se_r_grad.cc +0 -0
  488. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial.cc +0 -0
  489. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_grad.cc +0 -0
  490. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_grad_multi_device.cc +0 -0
  491. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_multi_device.cc +0 -0
  492. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_se_a_grad.cc +0 -0
  493. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/prod_virial_se_r_grad.cc +0 -0
  494. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/quantize_nvnmd.cc +0 -0
  495. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/readme +0 -0
  496. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min.cc +0 -0
  497. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_force.cc +0 -0
  498. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_force_grad.cc +0 -0
  499. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_virial.cc +0 -0
  500. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/soft_min_virial_grad.cc +0 -0
  501. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/tabulate_multi_device.cc +0 -0
  502. {deepmd_kit-2.2.8 → deepmd_kit-2.2.10}/source/op/unaggregated_grad.cc +0 -0
  503. {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 : branch for developers
44
+ - devel : branch for developers
39
45
 
40
46
  ### Developer guide
41
- See [here](doc/development/index.md) for coding conventions, API and other needs-to-know of the code.
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
- git checkout devel
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
- git fetch upstream
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
- # If your current codes are behind the latest codes, you should merge latest codes first.
69
- # Notice you should merge from "devel"!
70
- git merge upstream/devel
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
- ```bash
77
- git status # Checks the local status
78
- git add <file> ... # Adds the file(s) you want to commit. If you want to commit all changes, you can directly use `git add.`
79
- git commit -m "commit-message: update the xx"
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
- ```bash
84
- git push origin devel
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
- ```bash
92
- cd $working_dir/deepmd-kit
93
- git fetch upstream
94
- git checkout master
95
- git rebase upstream/master
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
- ```bash
101
- git checkout -b new-branch-name
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
- ```bash
109
- git status # Checks the local status
110
- git add <file> ... # Adds the file(s) you want to commit. If you want to commit all changes, you can directly use `git add.`
111
- git commit -m "commit-message: update the xx"
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
- ```bash
117
- # While on your new branch
118
- git fetch upstream
119
- git rebase upstream/master
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
- ```bash
125
- git push -u origin new-branch-name # "-u" is used to track the remote branch from origin
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.8
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.1.9; extra == "test"
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.2.0; extra == "lmp"
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
  [![GitHub release](https://img.shields.io/github/release/deepmodeling/deepmd-kit.svg?maxAge=86400)](https://github.com/deepmodeling/deepmd-kit/releases)
267
271
  [![offline packages](https://img.shields.io/github/downloads/deepmodeling/deepmd-kit/total?label=offline%20packages)](https://github.com/deepmodeling/deepmd-kit/releases)
268
272
  [![conda-forge](https://img.shields.io/conda/dn/conda-forge/deepmd-kit?color=red&label=conda-forge&logo=conda-forge)](https://anaconda.org/conda-forge/deepmd-kit)
@@ -270,168 +274,88 @@ Description-Content-Type: text/markdown
270
274
  [![docker pull](https://img.shields.io/docker/pulls/deepmodeling/deepmd-kit)](https://hub.docker.com/r/deepmodeling/deepmd-kit)
271
275
  [![Documentation Status](https://readthedocs.org/projects/deepmd/badge/)](https://deepmd.readthedocs.io/)
272
276
 
273
- # Table of contents
274
- - [About DeePMD-kit](https://github.com/deepmodeling/deepmd-kit/tree/master/#about-deepmd-kit)
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
- # Highlights in DeePMD-kit v2.0
290
- * [Model compression](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/freeze/compress.md). Accelerate the efficiency of model inference 4-15 times.
291
- * [New descriptors](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/overall.md). Including [`se_e2_r`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-e2-r.md) and [`se_e3`](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-e3.md).
292
- * [Hybridization of descriptors](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-hybrid.md). Hybrid descriptor constructed from the concatenation of several descriptors.
293
- * [Atom type embedding](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/model/train-se-e2-a-tebd.md). Enable atom-type embedding to decline training complexity and refine performance.
294
- * Training and inference of the dipole (vector) and polarizability (matrix).
295
- * Split of training and validation dataset.
296
- * Optimized training on GPUs.
297
-
298
- ## Highlighted features
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
- [![doi:10.1016/j.cpc.2018.03.016](https://img.shields.io/badge/DOI-10.1016%2Fj.cpc.2018.03.016-blue)](https://doi.org/10.1016/j.cpc.2018.03.016)
310
- [![Citations](https://citations.njzjz.win/10.1016/j.cpc.2018.03.016)](https://badge.dimensions.ai/details/doi/10.1016/j.cpc.2018.03.016)
297
+ [![doi:10.1016/j.cpc.2018.03.016](https://img.shields.io/badge/DOI-10.1016%2Fj.cpc.2018.03.016-blue)](https://doi.org/10.1016/j.cpc.2018.03.016)
298
+ [![Citations](https://citations.njzjz.win/10.1016/j.cpc.2018.03.016)](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
- [![doi:10.1063/5.0155600](https://img.shields.io/badge/DOI-10.1063%2F5.0155600-blue)](https://doi.org/10.1063/5.0155600)
313
- [![Citations](https://citations.njzjz.win/10.1063/5.0155600)](https://badge.dimensions.ai/details/doi/10.1063/5.0155600)
300
+ [![doi:10.1063/5.0155600](https://img.shields.io/badge/DOI-10.1063%2F5.0155600-blue)](https://doi.org/10.1063/5.0155600)
301
+ [![Citations](https://citations.njzjz.win/10.1063/5.0155600)](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
- ## Deep Potential in a nutshell
318
- 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.
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 *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.
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
- See [our latest paper](https://doi.org/10.48550/arXiv.2304.09409) for details of all features.
327
-
328
- # Download and install
329
-
330
- Please follow our [GitHub](https://github.com/deepmodeling/deepmd-kit) webpage to download the [latest released version](https://github.com/deepmodeling/deepmd-kit/tree/master) and [development version](https://github.com/deepmodeling/deepmd-kit/tree/devel).
331
-
332
- DeePMD-kit offers multiple installation methods. It is recommended to use easy methods like [offline packages](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/easy-install.md#offline-packages), [conda](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/easy-install.md#with-conda) and [docker](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/easy-install.md#with-docker).
333
-
334
- One may manually install DeePMD-kit by following the instructions on [installing the Python interface](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-from-source.md#install-the-python-interface) and [installing the C++ interface](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-from-source.md#install-the-c-interface). The C++ interface is necessary when using DeePMD-kit with LAMMPS, i-PI or GROMACS.
335
-
336
-
337
- # Use DeePMD-kit
338
-
339
- A quick start on using DeePMD-kit can be found [here](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/getting-started/quick_start.ipynb).
340
-
341
- A full [document](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/train/train-input-auto.rst) on options in the training input script is available.
342
-
343
- # Advanced
344
-
345
- - [Installation](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/index.md)
346
- - [Easy install](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/easy-install.md)
347
- - [Install from source code](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-from-source.md)
348
- - [Install from pre-compiled C library](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-from-c-library.md)
349
- - [Install LAMMPS](https://github.com/deepmodeling/deepmd-kit/tree/master/doc/install/install-lammps.md)
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
- * `data/raw`: tools manipulating the raw data files.
408
- * `examples`: examples.
409
- * `deepmd`: DeePMD-kit python modules.
410
- * `source/api_cc`: source code of DeePMD-kit C++ API.
411
- * `source/ipi`: source code of i-PI client.
412
- * `source/lib`: source code of DeePMD-kit library.
413
- * `source/lmp`: source code of Lammps module.
414
- * `source/gmx`: source code of Gromacs plugin.
415
- * `source/op`: TensorFlow op implementation. working with the library.
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