Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1546 commits
Select commit Hold shift + click to select a range
1c29fe4
feat(pt): support zbl finetune (#4849)
iProzd Aug 13, 2025
7601889
fix(pt/pd): fix eta computation (#4886)
HydrogenSulfate Aug 13, 2025
accc331
fix: get correct intensive property prediction when using virtual ato…
Chengqian-Zhang Aug 13, 2025
e73bbff
fix(tf): fix compatibility with TF 2.20 (#4890)
njzjz Aug 15, 2025
565f0af
fix: relax `atol` and `rtol` value of padding atoms UT (#4892)
Chengqian-Zhang Aug 15, 2025
dc99ba2
doc(pd): update paddle installation scripts and paddle related conten…
HydrogenSulfate Aug 15, 2025
1525a79
fix(pt): fix CMake compatibility with PyTorch 2.8 (#4891)
njzjz Aug 18, 2025
1e75042
feat: add yaml input file support (#4894)
caic99 Aug 18, 2025
ed4f9d6
build(deps): bump actions/checkout from 4 to 5 (#4897)
dependabot[bot] Aug 19, 2025
6dac4f9
[pre-commit.ci] pre-commit autoupdate (#4898)
pre-commit-ci[bot] Aug 19, 2025
191759b
Fix(pt): add comm_dict for zbl, linear, dipole, dos, polar model to f…
OutisLi Aug 23, 2025
727ec3c
docs: add comprehensive GitHub Copilot instructions and environment s…
Copilot Aug 25, 2025
73755b3
fix(pt,pd): remove redundant tensor handling to eliminate tensor cons…
Copilot Aug 25, 2025
3f0087b
feat: Add eval-desc CLI command for descriptor evaluation with 3D out…
Copilot Aug 25, 2025
d94157e
build(deps): bump actions/upload-pages-artifact from 3 to 4 (#4918)
dependabot[bot] Aug 26, 2025
630f233
fix: Avoid setting pin_memory in tests (#4919)
caic99 Aug 26, 2025
6349238
[pre-commit.ci] pre-commit autoupdate (#4917)
pre-commit-ci[bot] Aug 26, 2025
64e108f
chore(CI): bump PyTorch from 2.7 to 2.8 (#4884)
njzjz Aug 26, 2025
996d192
fix(pd): change numel function return type from int to size_t to prev…
Copilot Aug 27, 2025
c796862
feat(pd): support gradient accumulation (#4920)
HydrogenSulfate Aug 27, 2025
58ce1aa
feat(pt): add model branch alias (#4883)
iProzd Aug 27, 2025
85ab1b9
feat(ci): skip workflows on bot branches to avoid redundant CI runs (…
Copilot Aug 28, 2025
aa44098
feat: handle masked forces in test (#4893)
caic99 Aug 29, 2025
c57d19f
feat: add comprehensive type hints to core modules excluding backends…
Copilot Aug 29, 2025
db22802
feat: support using train/valid data from input.json for dp test (#4859)
caic99 Aug 31, 2025
581bcb6
feat(tf): implement change-bias command (#4927)
Copilot Sep 2, 2025
aca4e8c
style: complete type annotation enforcement for deepmd.pt (#4943)
Copilot Sep 2, 2025
ea7f828
fix(tf): fix serialization of dipole fitting with sel_type (#4934)
Copilot Sep 2, 2025
adcacf9
feat(infer): add get_model method to DeepEval for accessing backend-s…
Copilot Sep 2, 2025
d1428e0
[pre-commit.ci] pre-commit autoupdate (#4948)
pre-commit-ci[bot] Sep 2, 2025
68ea2aa
docs(lmp): fix the usage of LAMMPS `pair_style hybrid/overlay` (#4951)
njzjz Sep 3, 2025
354c301
feat(dp/pt): add default_fparam (#4888)
iProzd Sep 4, 2025
0fe38c8
chore(deps): bump LAMMPS to stable_22Jul2025_update1 (#4955)
njzjz Sep 5, 2025
dab37b2
style(dpmodel): enforce type annotations (#4953)
Copilot Sep 8, 2025
00721b6
build(deps): bump actions/checkout from 4 to 5 (#4966)
dependabot[bot] Sep 8, 2025
a10f920
build(deps): bump actions/labeler from 5 to 6 (#4964)
dependabot[bot] Sep 8, 2025
ef5959f
build(deps): bump actions/setup-python from 5 to 6 (#4965)
dependabot[bot] Sep 8, 2025
40f0b1c
[pre-commit.ci] pre-commit autoupdate (#4968)
pre-commit-ci[bot] Sep 9, 2025
6d04648
feat: add PyTorch profiler support to LAMMPS MD (#4969)
caic99 Sep 15, 2025
34df2b4
style(jax): enable ANN rule and add comprehensive type hints to JAX b…
Copilot Sep 15, 2025
dd55dff
perf: fix cuda-aware mpi in v3 (#4977)
caic99 Sep 16, 2025
a0af89f
[pre-commit.ci] pre-commit autoupdate (#4976)
pre-commit-ci[bot] Sep 17, 2025
15c2b7d
fix: change eV/A to eV/Å for dp test (#4978)
OutisLi Sep 17, 2025
4ef7705
docs: move copilot-instructions.md to AGENTS.md (#4982)
Copilot Sep 18, 2025
7768832
fix: fix unit display in dp test (#4980)
njzjz Sep 18, 2025
417915a
fix(tf): make dipole, polar, and dos models consistent with dpmodel (…
Copilot Sep 18, 2025
e49741c
docs: clarify atomic_dipole meaning for DPLR models (#4979)
Copilot Sep 19, 2025
58f60c4
[pre-commit.ci] pre-commit autoupdate (#4989)
pre-commit-ci[bot] Sep 23, 2025
58e346a
pd(feat): support python inference with `DP` class (#4987)
HydrogenSulfate Sep 28, 2025
62f83bb
feat(pt): implement DeepTensorPT (#4937)
Copilot Sep 29, 2025
164c8c3
[pre-commit.ci] pre-commit autoupdate (#4997)
pre-commit-ci[bot] Sep 29, 2025
54dae2f
build(deps): bump pypa/cibuildwheel from 3.1 to 3.2 (#4996)
dependabot[bot] Sep 30, 2025
bfa6245
merge devel to master (v3.1.1) (#4999)
njzjz Sep 30, 2025
d244f9e
fix: bump CMake minimum version to 3.25.2 (#5001)
Copilot Oct 2, 2025
720c6b9
CI: Replace the macos-13 images with the macos-15-intel images (#5002)
njzjz Oct 3, 2025
4395743
[pre-commit.ci] pre-commit autoupdate (#5003)
pre-commit-ci[bot] Oct 7, 2025
6f00250
merge master to devel (v3.1.1) (#5004)
njzjz Oct 7, 2025
c72e069
[pre-commit.ci] pre-commit autoupdate (#5013)
pre-commit-ci[bot] Oct 15, 2025
b01d18d
build(deps): bump github/codeql-action from 3 to 4 (#5011)
dependabot[bot] Oct 15, 2025
7b80679
build(deps): bump astral-sh/setup-uv from 6 to 7 (#5012)
dependabot[bot] Oct 15, 2025
c41c366
feat(pt): add compression support for se_e3_tebd (#4992)
OutisLi Oct 16, 2025
5c71262
feat:support CUDA 13.0+ (#5017)
OutisLi Oct 17, 2025
b9764f8
doc:fix error in doc of se_e3_tebd (#5018)
OutisLi Oct 20, 2025
b970b81
build(deps): bump actions/download-artifact from 5 to 6 (#5025)
dependabot[bot] Oct 28, 2025
fca9a87
[pre-commit.ci] pre-commit autoupdate (#5020)
pre-commit-ci[bot] Nov 2, 2025
a23db1c
build(deps): bump actions/upload-artifact from 4 to 5 (#5026)
dependabot[bot] Nov 2, 2025
e335e3d
[pre-commit.ci] pre-commit autoupdate (#5034)
pre-commit-ci[bot] Nov 4, 2025
7778e2e
fix(cmake): improve CUDA C++ standard for compatibility with gcc-14 (…
njzjz Nov 5, 2025
25fa707
feat: Enhance process_systems to recursively search all paths in syst…
OutisLi Nov 7, 2025
7f25e16
perf: accelerate data loading in training (#5023)
OutisLi Nov 9, 2025
4ec0437
fix: optimize atom type mapping (#5043)
OutisLi Nov 11, 2025
877147e
[pre-commit.ci] pre-commit autoupdate (#5044)
pre-commit-ci[bot] Nov 11, 2025
87cb6ef
fix: remove hessian outdef if not necessary (#5045)
iProzd Nov 12, 2025
6fb0703
test: add TensorFlow graph reset in teardown method for entrypoint te…
OutisLi Nov 14, 2025
1ccc57d
test(common): add regression for atom type remap (#5050)
OutisLi Nov 14, 2025
c346332
feat: Performance Optimization: Data Loading and Statistics Accelerat…
OutisLi Nov 14, 2025
d4e9ffc
feat(pt): Add support for SiLU activation function in gradient calcul…
OutisLi Nov 17, 2025
018cccf
[pre-commit.ci] pre-commit autoupdate (#5056)
pre-commit-ci[bot] Nov 18, 2025
da452d7
build: bump LAMMPS version to stable_22Jul2025_update2 (#5052)
Copilot Nov 18, 2025
e98dc5a
fix(finetune): calculate fitting stat when using random fitting in fi…
Chengqian-Zhang Nov 20, 2025
0a278e7
fix(stat): Caculate correct fitting stat when using default fparam an…
Chengqian-Zhang Nov 24, 2025
7f6b387
docs: update DeepModeling email address (#5062)
njzjz-bot Nov 24, 2025
86cb76f
feat(pt): Implement type embedding compression for se_atten (#5057)
OutisLi Nov 24, 2025
5163e74
feat(pt): Implement type embedding compression for se_e3_tebd (#5059)
OutisLi Nov 24, 2025
526fab2
feat(test): add unit test for the compression of se_atten (#5058)
OutisLi Nov 24, 2025
a4067fe
build(deps): bump actions/checkout from 5 to 6 (#5063)
dependabot[bot] Nov 25, 2025
c9877e4
build(deps): bump pypa/cibuildwheel from 3.2 to 3.3 (#5064)
dependabot[bot] Nov 25, 2025
5aaf004
[pre-commit.ci] pre-commit autoupdate (#5065)
pre-commit-ci[bot] Nov 25, 2025
1ee33c8
feat(pt/test): add unit test for the compression of se_e3_tebd (#5060)
OutisLi Nov 25, 2025
34f03fc
fix: set multiprocessing start method to 'fork' in pt env (since pyth…
OutisLi Nov 30, 2025
0f06833
chore: manage CI pinnings in pyproject.toml (#5068)
njzjz Dec 1, 2025
a72b3af
fix(jax): fix compatibility with flax 0.12 (#5067)
njzjz Dec 1, 2025
0ad1ab6
feat(pt): type embedding can still be compress even if attn_layer != …
OutisLi Dec 1, 2025
91c5110
[pre-commit.ci] pre-commit autoupdate (#5070)
pre-commit-ci[bot] Dec 2, 2025
f95cb74
CI: configure dependabot to bump Python deps (#5072)
njzjz Dec 2, 2025
a38f483
CI: pin cibuildwheel TF/PT deps to global pinnings (#5071)
njzjz Dec 2, 2025
4324445
build(deps-dev): update scikit-build-core requirement from !=0.6.0,<0…
dependabot[bot] Dec 2, 2025
2d5fa3c
Fix: model_output_type unify name (#5069)
anyangml Dec 3, 2025
2215a06
CI: free disk in package_c workflow (#5081)
njzjz Dec 4, 2025
55fd75f
build(deps-dev): update torch requirement from ~=2.7.0 to >=2.7,<2.9 …
dependabot[bot] Dec 4, 2025
0ad7cbf
CI: stop running Horovod tests (#5079)
njzjz Dec 5, 2025
73a1aa6
fix(pd): adapting code for hardware compatibility (#5047)
HydrogenSulfate Dec 9, 2025
3ceb9cf
build(deps-dev): update tensorflow-cpu requirement from ~=2.18.0 to >…
dependabot[bot] Dec 9, 2025
d774ede
[pre-commit.ci] pre-commit autoupdate (#5085)
pre-commit-ci[bot] Dec 9, 2025
d798b33
merge devel to master (v3.1.2) (#5088)
njzjz Dec 11, 2025
e816d01
breaking: drop Python 3.9 (#5078)
njzjz Dec 12, 2025
09486c5
breaking: stop providing CUDA 11 pre-built wheels (#5080)
njzjz Dec 12, 2025
0f53edc
CI: bump Python maximum test version to 3.13 (#5086)
njzjz Dec 13, 2025
b9c82d7
merge master to devel (v3.1.2) (#5095)
njzjz Dec 15, 2025
f7f7f18
Chore (examples): add missing seed for descriptors in examples (#5098)
iProzd Dec 15, 2025
00a7001
build(deps): bump actions/cache from 4 to 5 (#5101)
dependabot[bot] Dec 15, 2025
b9c6615
build(deps-dev): update torch requirement from ~=2.8.0 to >=2.8,<2.10…
dependabot[bot] Dec 15, 2025
3059e86
build(deps): bump actions/upload-artifact from 5 to 6 (#5099)
dependabot[bot] Dec 16, 2025
229d52b
build(deps): bump actions/download-artifact from 6 to 7 (#5100)
dependabot[bot] Dec 16, 2025
bbe66a3
[pre-commit.ci] pre-commit autoupdate (#5106)
pre-commit-ci[bot] Dec 16, 2025
89a3180
fix(dpmodel): fix `rmse_*` in `more_loss` (#5105)
njzjz Dec 16, 2025
26013cb
feat(pt): allow `--init-frz-model` for pt model converted from tf mod…
ChiahsinChu Dec 16, 2025
4c8880c
CI: bump CUDA image to 12.9.1 (#5107)
njzjz Dec 19, 2025
3020ff7
fix(pt): get correct `sel_type` in pt model (#5097)
ChiahsinChu Dec 19, 2025
5274f69
fix: fix the return type of `DeepEval.get_model_def_script()` for all…
njzjz Dec 19, 2025
188dae3
fix(jax): setattr `case_embd` (#5104)
njzjz Dec 19, 2025
d567700
fix(pd): fix unitest (#5113)
HydrogenSulfate Dec 22, 2025
0e883dc
chore: move Ruff excludes to `ruff.extend-exclude` (#5112)
njzjz Dec 22, 2025
36d134a
docs: update DeepModeling domain to deepmodeling.com (#5111)
njzjz-bot Dec 22, 2025
7e50200
build(deps-dev): update torch requirement from ~=2.8.0 to >=2.8,<2.10…
dependabot[bot] Dec 22, 2025
b98f6c5
[pre-commit.ci] pre-commit autoupdate (#5115)
pre-commit-ci[bot] Dec 23, 2025
fe1662d
breaking: prepare to deprecate the `devel` branch (#5122)
njzjz Jan 6, 2026
e22852e
CI: use 12 groups to run Python UTs (#5131)
njzjz Jan 7, 2026
cc85a6d
fix(dpmodel): rmse_e loss normalized by n_atoms (#5124)
njzjz Jan 7, 2026
be3b876
fix(jax): fix support for default fparam (#5123)
njzjz Jan 7, 2026
dfeba54
feat(pt): add plugin for data modifier (#4661)
ChiahsinChu Jan 7, 2026
f736ab2
feat(tf): optimize data modifier calling in deepeval (#5120)
ChiahsinChu Jan 7, 2026
5f73113
fix(pt): pairtab (#5119)
OutisLi Jan 8, 2026
6012b4d
feat: add NaN detection during training (#5135)
njzjz Jan 9, 2026
8f021aa
refactor(pt): reuse dpmodel NeighborStatOP (#5137)
njzjz Jan 9, 2026
9b1df92
feat(pt/dp): add cosine LR & BaseLR (#5142)
iProzd Jan 10, 2026
82a5f32
feat(pt): add AdaMuon optimizer (#5130)
OutisLi Jan 11, 2026
854dca8
feat(dpmodel): support Array API learning rate (#5143)
njzjz Jan 12, 2026
0a807cf
chore(pd): sync get_lr from pt to pd (#5144)
njzjz Jan 12, 2026
88367a6
refactor(pt): reuse dpmodel EnvMatStat (#5139)
njzjz Jan 12, 2026
7c043f0
style: enable B905 to prevent issues with zip (#5136)
njzjz Jan 12, 2026
6b333a0
[pre-commit.ci] pre-commit autoupdate (#5150)
pre-commit-ci[bot] Jan 13, 2026
567c5ba
feat(pt): add warmup_ratio setting to set warmup steps conveniently (…
OutisLi Jan 13, 2026
e5baf69
feat: add device name display (for example: A100 not just cuda) (#5146)
OutisLi Jan 14, 2026
2a9667e
feat: capitalise some info display (#5145)
OutisLi Jan 14, 2026
9553e6e
Add citation for property fitting and multi-task fine-tuning (#5152)
Chengqian-Zhang Jan 15, 2026
8b0c3b0
feat(pt): add HybridMuonOptimizer (#5149)
OutisLi Jan 15, 2026
a210059
[pre-commit.ci] pre-commit autoupdate (#5166)
pre-commit-ci[bot] Jan 20, 2026
6c91e99
feat: add Node class for serialization and implement display function…
njzjz Jan 20, 2026
501adb8
feat(pt): add parameter numbers output (#5147)
OutisLi Jan 20, 2026
c0cce5d
fix(pt): Huber energy loss uses raw model energy (#5168)
wanghan-iapcm Jan 21, 2026
73b70b2
build(deps-dev): update torch requirement from <2.10,>=2.8 to ==2.10.…
dependabot[bot] Jan 23, 2026
e8afb6e
style(paddle): Add comprehensive type hints to Paddle backend and ena…
Copilot Jan 23, 2026
d5d5155
fix: pass mixed_type to eval_descriptor in cli (#5177)
njzjz Jan 27, 2026
8787b45
[pre-commit.ci] pre-commit autoupdate (#5178)
pre-commit-ci[bot] Jan 27, 2026
6ec59ef
style(tf): add type annotations (#4945)
Copilot Feb 5, 2026
45e7be4
chore(CI/dev): use prek to replace pre-commit (#5186)
njzjz Feb 5, 2026
8995b25
docs: add dp1s (#5192)
njzjz Feb 5, 2026
24b509d
style: enable pre-commit to format GitHub Actions YAML files (#5189)
njzjz Feb 5, 2026
3b10c9c
fix(pt): expansion of get_default_nthreads() (#5196)
wanghan-iapcm Feb 6, 2026
6112545
ci: use OIDC for codecov-action (#5173)
njzjz-bot Feb 6, 2026
ef0be63
feat(dpmodel): add PyTorch support to array_api utilities (#5198)
Copilot Feb 7, 2026
99a6f3c
feat: remove unused support_array_api decorator (#5200)
Copilot Feb 8, 2026
5c2ca51
feat: new backend pytorch exportable. (#5194)
wanghan-iapcm Feb 8, 2026
9465d71
test(consistent): use ReLU to speedup UTs (#5203)
njzjz Feb 8, 2026
03fccc4
style: re-enable cmake-format JSON formatter (#5210)
njzjz Feb 9, 2026
97d8ded
refact (pt_expt): provide infrastructure for converting dpmodel class…
wanghan-iapcm Feb 9, 2026
d310532
[pre-commit.ci] pre-commit autoupdate (#5212)
pre-commit-ci[bot] Feb 9, 2026
cd67bbe
refact(dpmodel,pt_expt): embedding net (#5205)
wanghan-iapcm Feb 10, 2026
3948cc7
refactor: consolidate backend logic into array_api.py with generic im…
Copilot Feb 11, 2026
02bd1fc
fix(jax): improve JAX modules' names (#5214)
njzjz Feb 11, 2026
2d7fdc5
refact(dpmodel,pt_expt): fitting net (#5207)
wanghan-iapcm Feb 11, 2026
156736f
feat(pt_expt): implement se_t and se_t_tebd descriptors. (#5208)
wanghan-iapcm Feb 11, 2026
2901448
refact(pt_expt): add decorator to simplify the module (#5213)
njzjz Feb 12, 2026
f6d5d95
feat(pt_expt): add fitting for energy (#5218)
wanghan-iapcm Feb 12, 2026
4f182bc
ci: use disk-space-reclaimer in build_docker workflow (#5242)
Copilot Feb 13, 2026
a0bd530
feat(pt_expt): atomic model (#5220)
wanghan-iapcm Feb 14, 2026
c337dea
feat(pt_expt): full model (#5244)
wanghan-iapcm Feb 16, 2026
e23443f
[pre-commit.ci] pre-commit autoupdate (#5247)
pre-commit-ci[bot] Feb 17, 2026
09e40bb
feat(pt): add FSDP & ZeRO1 (Zero Redundancy Optimizer) support (#5222)
OutisLi Feb 18, 2026
4ddc37d
feat(pt_expt): auto-generate forward/forward_lower in torch_module de…
Copilot Feb 18, 2026
2b193ee
feat(pt_expt): add descriptors dpa1 dpa2 dpa3 and hybrid (#5248)
wanghan-iapcm Feb 19, 2026
367e626
refact(dpmodel): model output made the same as pt backend (#5250)
wanghan-iapcm Feb 20, 2026
8ed49be
fix(pt): remove compile in HybridMuon for FSDP2 compatibility use tri…
OutisLi Feb 21, 2026
ccad0fb
feat: add skills for adding new descriptors (#5249)
wanghan-iapcm Feb 21, 2026
69eb0c3
style: use mdformat to format Markdown (#5209)
njzjz Feb 22, 2026
5eb5400
feat(pt_expt): add dos, dipole, polar and property fittings (#5254)
wanghan-iapcm Feb 22, 2026
352a2b5
feat: use num_epoch to set num_steps (#5148)
OutisLi Feb 22, 2026
65eea4b
[pre-commit.ci] pre-commit autoupdate (#5259)
pre-commit-ci[bot] Feb 23, 2026
e471690
style: extend `device` lint check to Array API (#5261)
njzjz Feb 25, 2026
314b946
refactor: unify learning rate schedulers with array API (#5154)
OutisLi Feb 25, 2026
4147947
docs: add theory section to DPA3 documentation (#5262)
njzjz-bot Feb 25, 2026
43b5809
doc: add theory section to DPA-2 documentation (#5263)
njzjz-bot Feb 25, 2026
bf982ab
docs: add mathematical formulas to fitting classes (#5256)
njzjz-bot Feb 25, 2026
8eb2943
docs: add mathematical formulas to atomic model classes (#5257)
njzjz-bot Feb 25, 2026
eaed387
docs: add mathematical formulas to model classes (#5258)
njzjz-bot Feb 25, 2026
898c672
fix(dpmodel): correct type hints for descriptor return types and para…
njzjz-bot Feb 25, 2026
dfb8c3f
chore(pt): mv the input stat update to model_change_out_bias (#5266)
wanghan-iapcm Feb 26, 2026
abf9575
fix: unify compute_output_stats across dp, pt, and pd backends (#5267)
wanghan-iapcm Feb 26, 2026
6b351f4
docs: add mathematical formulas to descriptor classes (#5255)
njzjz-bot Feb 26, 2026
f959a53
build(deps-dev): update scikit-build-core requirement from !=0.6.0,<0…
dependabot[bot] Feb 26, 2026
21d2b1a
fix(CI): pin protobuf<7.34 (#5272)
njzjz Feb 27, 2026
622179e
feat(pt): support spin virial (Rebased and updated version of #4545 b…
OutisLi Feb 27, 2026
f0a966b
feat(pt): log pre-clip gradient total_norm and per-param norm to tens…
OutisLi Feb 27, 2026
314d03a
feat(pt_expt): add dipole, polar, dos, property and dp-zbl models wit…
wanghan-iapcm Mar 1, 2026
a3db25a
CI(deps): bump torch (cpu) to 2.10.0 (#5273)
njzjz Mar 1, 2026
41757f2
refactor(training): remove unused learning_rate_dict multitask handli…
OutisLi Mar 3, 2026
b30bfcb
feat(skill): add skill for debug gradient flow in the pt expt backend…
wanghan-iapcm Mar 3, 2026
2deb70c
[pre-commit.ci] pre-commit autoupdate (#5282)
pre-commit-ci[bot] Mar 3, 2026
3b24cf6
refactor(optimizer): finalize optimizer schema and backend handling (…
OutisLi Mar 3, 2026
51fbd76
feat(pt, dpmodel): use data stat for observed type (#5269)
iProzd Mar 4, 2026
7e648f0
fix(c++): fix NULL type in custom op (#4889)
iProzd Mar 4, 2026
fdeff2b
feat(pt_expt): add training infrastructure (#5270)
wanghan-iapcm Mar 5, 2026
4a29836
feat(pt_expt): implement .pte inference pipeline with dynamic shapes …
wanghan-iapcm Mar 5, 2026
d331c9e
build(deps): bump docker/login-action from 3 to 4 (#5289)
dependabot[bot] Mar 5, 2026
c28419c
build(deps): bump actions/download-artifact from 7 to 8 (#5288)
dependabot[bot] Mar 5, 2026
8c5cb86
build(deps): bump actions/upload-artifact from 6 to 7 (#5291)
dependabot[bot] Mar 5, 2026
73bb1b7
feat(pt_expt): implementing energy hessian model (#5287)
wanghan-iapcm Mar 6, 2026
8f2b3c9
fix(pt, dpmodel): spin model finetune (#5281)
iProzd Mar 6, 2026
084edd6
ci: align package_c TensorFlow image and wheel to 2.20 (#5297)
njzjz-bot Mar 7, 2026
24e54bf
build(deps): bump pypa/cibuildwheel from 3.3 to 3.4 (#5290)
dependabot[bot] Mar 8, 2026
9322168
[pre-commit.ci] pre-commit autoupdate (#5300)
pre-commit-ci[bot] Mar 10, 2026
dabb0ca
feat(pretrained): add built-in pretrained downloader and alias backen…
njzjz-bot Mar 10, 2026
f22456f
ci(workflows): trust paddlepaddle host to bypass TLS outage (#5305)
njzjz-bot Mar 11, 2026
53cd6d3
build(deps-dev): bump tensorflow-cpu from 2.20.0 to 2.21.0 (#5304)
dependabot[bot] Mar 11, 2026
a8d2a8d
doc(pd): update PaddlePaddle version to 3.3.0 and 3.4.0(develop) (#5306)
HydrogenSulfate Mar 11, 2026
3e83c04
build(deps): bump docker/build-push-action from 6 to 7 (#5309)
dependabot[bot] Mar 12, 2026
387ee25
build(deps): bump docker/metadata-action from 5 to 6 (#5310)
dependabot[bot] Mar 12, 2026
c1a50ed
feat(dp, pt): add charge spin embedding (#5295)
iProzd Mar 12, 2026
5f25774
feat(pretrained): add DPA-2.4-7M to registry (#5307)
njzjz-bot Mar 13, 2026
ba7e289
fix(pd): fix adamw for paddle backend (#5308)
HydrogenSulfate Mar 13, 2026
09345bf
fix(lmp): default fparam support (#5311)
iProzd Mar 15, 2026
4ce5c73
fix: statisitcs -> statistics (#5315)
kmu Mar 16, 2026
87b1fff
chore(pre-commit): remove flake8 hook (#5324)
njzjz-bot Mar 17, 2026
b2805fb
[pre-commit.ci] pre-commit autoupdate (#5320)
pre-commit-ci[bot] Mar 17, 2026
3ab3779
feat(pt_expt): add dp freeze support and dp test tests for .pte model…
wanghan-iapcm Mar 18, 2026
a9bbf74
fix: `nan` error when all `fparam`/`aparam` have equal values (#5321)
Chengqian-Zhang Mar 18, 2026
08394be
fix(dpmodel): fix natoms[0] bug, einsum, and return type in EnergyLos…
wanghan-iapcm Mar 18, 2026
9ed2d48
feat(pt_expt): add frozen model (#5318)
wanghan-iapcm Mar 18, 2026
1ce26cf
refactor(pt): fully refactor of HybridMuon optimizer (#5275)
OutisLi Mar 18, 2026
b2c8511
feat(pretrained): add DPA3-Omol-Large (#5327)
njzjz-bot Mar 18, 2026
3f52fa9
feat(dp, pt): add force l2 norm loss & mae loss (#5294)
iProzd Mar 19, 2026
91e3d62
feat(pt_expt): add linear energy model (#5317)
wanghan-iapcm Mar 20, 2026
7f01a21
feat(pt_expt): implement DeepSpin model in pt_expt backend (#5293)
wanghan-iapcm Mar 21, 2026
b2923e8
docs: restructure and clarify learning-rate.md documentation (#5276)
OutisLi Mar 21, 2026
b97ad98
feat(train): show finish time in ETA logs (#5328)
OutisLi Mar 21, 2026
6122d97
feat(pt_expt): add dp compress support for pt_expt backend (#5323)
wanghan-iapcm Mar 23, 2026
034e613
feat(pt_expt): add dp finetune support (#5331)
wanghan-iapcm Mar 23, 2026
97e9c9e
feat(c++,pt-expt): add .pt2 (AOTInductor) C/C++ inference with DPA1/D…
wanghan-iapcm Mar 24, 2026
e97967b
feat(pt_expt): add dp change-bias support (#5330)
wanghan-iapcm Mar 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
BasedOnStyle: Google
BinPackParameters: false
InsertBraces: true
...
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-24.04

COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
40 changes: 40 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# DeePMD-kit devcontainer environment

This [devcontainer](https://vscode.js.cn/docs/devcontainers/devcontainer-cli) environment setups Python and C++ environment to develop DeePMD-kit.
One can setup locally or use [GitHub Codespaces](https://docs.github.com/en/codespaces) by clicking the Code button on the DeePMD-kit repository page.
The whole setup process requires about 10 minutes, so one needs to be patient.

## Python environment

The following packages are installed into the Python environment `.venv`:

- DeePMD-kit (in edit mode)
- Backends including TensorFlow, PyTorch, JAX
- LAMMPS
- MPICH
- CMake
- prek (including hooks)
- Test packages including pytest
- Doc packages including sphinx

## C++ interface

The C++ interface with TensorFlow and PyTorch support is installed into `dp` directory.

When calling and debuging LAMMPS with DeePMD-kit, use the following scripts instead of the regular `lmp`:

- `.devcontainer/lmp`
- `.devcontainer/gdb_lmp`

Use the following scripts for `pytest` with LAMMPS:

- `.devcontainer/pytest_lmp`
- `.devcontainer/gdb_pytest_lmp`

## Rebuild

Usually the Python package does not need to reinstall.
But when one wants to recompile the C++ code, the following scripts can be executed.

- `.devcontainer/build_cxx.sh`
- `.devcontainer/build_py.sh`
22 changes: 22 additions & 0 deletions .devcontainer/build_cxx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
set -ev

NPROC=$(nproc --all)
SCRIPT_PATH=$(dirname $(realpath -s $0))

export CMAKE_PREFIX_PATH=${SCRIPT_PATH}/../libtorch
TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')

mkdir -p ${SCRIPT_PATH}/../buildcxx/
cd ${SCRIPT_PATH}/../buildcxx/
cmake -D ENABLE_TENSORFLOW=ON \
-D ENABLE_PYTORCH=ON \
-D ENABLE_PADDLE=ON \
-D CMAKE_INSTALL_PREFIX=${SCRIPT_PATH}/../dp/ \
-D LAMMPS_VERSION=stable_22Jul2025_update2 \
-D CMAKE_BUILD_TYPE=Debug \
-D BUILD_TESTING:BOOL=TRUE \
-D TENSORFLOW_ROOT=${TENSORFLOW_ROOT} \
${SCRIPT_PATH}/../source
cmake --build . -j${NPROC}
cmake --install .
8 changes: 8 additions & 0 deletions .devcontainer/build_py.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -ev

SCRIPT_PATH=$(dirname $(realpath -s $0))
cd ${SCRIPT_PATH}/..

uv sync --dev --python 3.12 --extra cpu --extra torch --extra jax --extra lmp --extra test --extra docs
prek install
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "DeePMD-kit",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"postCreateCommand": ".devcontainer/build_py.sh && .devcontainer/download_libtorch.sh && .devcontainer/build_cxx.sh && prek install-hooks",
"remoteEnv": {
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/.venv/bin",
"DP_ENABLE_PYTORCH": "1",
"DP_VARIANT": "cpu",
"UV_EXTRA_INDEX_URL": "https://download.pytorch.org/whl/cpu"
}
}
8 changes: 8 additions & 0 deletions .devcontainer/download_libtorch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -ev

SCRIPT_PATH=$(dirname $(realpath -s $0))
cd ${SCRIPT_PATH}/..

wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.8.0%2Bcpu.zip -O ~/libtorch.zip
unzip ~/libtorch.zip
9 changes: 9 additions & 0 deletions .devcontainer/gdb_lmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
SCRIPT_PATH=$(dirname $(realpath -s $0))

export CMAKE_PREFIX_PATH=${SCRIPT_PATH}/../libtorch
TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')

env LAMMPS_PLUGIN_PATH=${SCRIPT_PATH}/../dp/lib/deepmd_lmp \
LD_LIBRARY_PATH=${SCRIPT_PATH}/../dp/lib:${CMAKE_PREFIX_PATH}/lib:${TENSORFLOW_ROOT} \
gdb ${SCRIPT_PATH}/../.venv/lib/python3.12/site-packages/lammps/lmp "$@"
9 changes: 9 additions & 0 deletions .devcontainer/gdb_pytest_lmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
SCRIPT_PATH=$(dirname $(realpath -s $0))/../..

export CMAKE_PREFIX_PATH=${SCRIPT_PATH}/../libtorch
TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')

env LAMMPS_PLUGIN_PATH=${SCRIPT_PATH}/../dp/lib/deepmd_lmp \
LD_LIBRARY_PATH=${SCRIPT_PATH}/../dp/lib:${CMAKE_PREFIX_PATH}/lib:${TENSORFLOW_ROOT} \
gdb --args python -m pytest -s "$@"
9 changes: 9 additions & 0 deletions .devcontainer/lmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
SCRIPT_PATH=$(dirname $(realpath -s $0))

export CMAKE_PREFIX_PATH=${SCRIPT_PATH}/../libtorch
TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')

env LAMMPS_PLUGIN_PATH=${SCRIPT_PATH}/../dp/lib/deepmd_lmp \
LD_LIBRARY_PATH=${SCRIPT_PATH}/../dp/lib:${CMAKE_PREFIX_PATH}/lib:${TENSORFLOW_ROOT} \
${SCRIPT_PATH}/../.venv/bin/lmp "$@"
9 changes: 9 additions & 0 deletions .devcontainer/pytest_lmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
SCRIPT_PATH=$(dirname $(realpath -s $0))/../..

export CMAKE_PREFIX_PATH=${SCRIPT_PATH}/../libtorch
TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')

env LAMMPS_PLUGIN_PATH=${SCRIPT_PATH}/../dp/lib/deepmd_lmp \
LD_LIBRARY_PATH=${SCRIPT_PATH}/../dp/lib:${CMAKE_PREFIX_PATH}/lib:${TENSORFLOW_ROOT} \
python -m pytest "$@"
3 changes: 3 additions & 0 deletions .git_archival.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# do not show up detailed difference on GitHub
source/3rdparty/* linguist-generated=true
source/3rdparty/README.md linguist-generated=false
.git_archival.txt export-subst
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ body:
validations:
required: true
- type: input
id: tf-version
id: backend-version
attributes:
label: TensorFlow Version
description: "The version will be printed when running DeePMD-kit."
label: Backend and its version
description: "The backend and its version will be printed when running DeePMD-kit, e.g. TensorFlow v2.15.0."
validations:
required: true
- type: dropdown
Expand All @@ -37,6 +37,7 @@ body:
- docker
- pip
- Built from source
- dp1s
- Others (write below)
validations:
required: true
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/generic-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ body:
validations:
required: true
- type: input
id: tf-version
id: backend-version
attributes:
label: TensorFlow Version
description: "The version will be printed when running DeePMD-kit."
label: Backend and its version
description: "The backend and its version will be printed when running DeePMD-kit, e.g. TensorFlow v2.15.0."
validations:
required: true
- type: textarea
Expand Down
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
target-branch: "devel"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
52 changes: 38 additions & 14 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,38 @@
Python:
- deepmd/**/*
- source/tests/**/*
Docs: doc/**/*
Examples: examples/**/*
Core: source/lib/**/*
CUDA: source/lib/src/cuda/**/*
ROCM: source/lib/src/rocm/**/*
OP: source/op/**/*
C++: source/api_cc/**/*
C: source/api_c/**/*
LAMMPS: source/lmp/**/*
Gromacs: source/gmx/**/*
i-Pi: source/ipi/**/*
Python:
- changed-files:
- any-glob-to-any-file:
- deepmd/**/*
- source/tests/**/*
Docs:
- changed-files:
- any-glob-to-any-file: doc/**/*
Examples:
- changed-files:
- any-glob-to-any-file: examples/**/*
Core:
- changed-files:
- any-glob-to-any-file: source/lib/**/*
CUDA:
- changed-files:
- any-glob-to-any-file: source/lib/src/gpu/**/*
ROCM:
- changed-files:
- any-glob-to-any-file: source/lib/src/gpu/**/*
OP:
- changed-files:
- any-glob-to-any-file: source/op/**/*
C++:
- changed-files:
- any-glob-to-any-file: source/api_cc/**/*
C:
- changed-files:
- any-glob-to-any-file: source/api_c/**/*
LAMMPS:
- changed-files:
- any-glob-to-any-file: source/lmp/**/*
Gromacs:
- changed-files:
- any-glob-to-any-file: source/gmx/**/*
i-PI:
- changed-files:
- any-glob-to-any-file: source/ipi/**/*
34 changes: 34 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
changelog:
exclude:
authors:
- app/pre-commit-ci
- app/dependabot
categories:
- title: Breaking Changes
labels:
- "breaking change"
- title: New Features
labels:
- "new feature"
- title: Enhancement
labels:
- enhancement
- title: Documentation
labels:
# automatically added
- Docs
# for docs outside the doc directory
- "other docs"
exclude:
labels:
- build
- bug
- title: Build and release
labels:
- build
- title: Bug fixings
labels:
- bug
- title: Other Changes
labels:
- "*"
Loading
Loading