Skip to content

Commit 37b8072

Browse files
Copilotnjzjz
andauthored
docs: remove deprecated model_devi_e_trust_lo/hi from dpgen run examples (#1853)
The `model_devi_e_trust_lo` and `model_devi_e_trust_hi` parameters have been deprecated in `dpgen run` but still exist in example configurations. ## Changes - Removed `model_devi_e_trust_lo` and `model_devi_e_trust_hi` from 3 files in `examples/run/`: - `dp-calypso-vasp/param.json` - `deprecated/dp2.x-lammps-vasp/Al/param_al_all_gpu.yaml` - `deprecated/dp2.x-lammps-vasp/CH4/param_CH4.yaml` - Preserved parameters in `dpgen simplify` module and tests where still supported ## Example ```diff "model_devi_dt": 0.002, "model_devi_skip": 0, "model_devi_f_trust_lo": 0.05, "model_devi_f_trust_hi": 0.15, -"model_devi_e_trust_lo": 10000000000.0, -"model_devi_e_trust_hi": 10000000000.0, "model_devi_clean_traj": true, ``` <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>Remove `model_devi_e_trust_lo` and `model_devi_e_trust_hi` from `dpgen run` examples</issue_title> > <issue_description>### Summary > > Remove `model_devi_e_trust_lo` and `model_devi_e_trust_hi` from `dpgen run` examples, since they have been removed. > > Do not remove them from `dpgen simplify` examples, since they are still supported in `dpgen simplify`. > > ### DP-GEN Version > > - > > ### Platform, Python Version, etc > > - > > ### Details > > -</issue_description> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes #1852 <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>
1 parent 037d6b8 commit 37b8072

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

examples/run/deprecated/dp2.x-lammps-vasp/Al/param_al_all_gpu.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ model_devi_dt: 0.002
116116
model_devi_skip: 0
117117
model_devi_f_trust_lo: 0.05
118118
model_devi_f_trust_hi: 0.2
119-
model_devi_e_trust_lo: 10000000000
120-
model_devi_e_trust_hi: 10000000000
121119
model_devi_clean_traj: false
122120
model_devi_jobs:
123121
- _idx: 0

examples/run/deprecated/dp2.x-lammps-vasp/CH4/param_CH4.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ model_devi_dt: 0.002
6868
model_devi_skip: 0
6969
model_devi_f_trust_lo: 0.05
7070
model_devi_f_trust_hi: 0.15
71-
model_devi_e_trust_lo: 10000000000
72-
model_devi_e_trust_hi: 10000000000
7371
model_devi_clean_traj: true
7472
model_devi_jobs:
7573
- sys_idx:

examples/run/dp-calypso-vasp/param.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@
9797
"model_devi_skip": 0,
9898
"model_devi_f_trust_lo": 0.05,
9999
"model_devi_f_trust_hi": 0.15,
100-
"model_devi_e_trust_lo": 10000000000.0,
101-
"model_devi_e_trust_hi": 10000000000.0,
102100
"model_devi_clean_traj": true,
103101
"model_devi_jobs": [
104102
{

0 commit comments

Comments
 (0)