Skip to content

Commit

Permalink
docs: remove set_prefix (#1537)
Browse files Browse the repository at this point in the history
See:
- deepmodeling/deepmd-kit#3477
- deepmodeling/deepmd-kit#3753

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Removed the `"set_prefix": "set"` attribute across various JSON and
YAML configuration files, streamlining data handling and batch
processing setups.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Han Wang <[email protected]>
  • Loading branch information
3 people authored May 7, 2024
1 parent 62d4cf4 commit d5dd205
Show file tree
Hide file tree
Showing 52 changed files with 4 additions and 59 deletions.
1 change: 0 additions & 1 deletion doc/simplify/simplify.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ Here is an example of `param.json` for QM7 dataset:
"limit_pref_pf": 0
},
"training": {
"set_prefix": "set",
"numb_steps": 10000,
"disp_file": "lcurve.out",
"disp_freq": 1000,
Expand Down
1 change: 0 additions & 1 deletion examples/run/ch4/param.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
4 changes: 1 addition & 3 deletions examples/run/deprecated/dp2.x-gromacs-gaussian/param.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@
"time_training": true,
"profiling": false,
"profiling_file": "timeline.json",
"training_data": {
"set_prefix": "set"
}
"training_data": {}
}
},
"model_devi_engine": "gromacs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ default_training_param:
coord_norm: true
type_fitting_net: false
systems: []
set_prefix: set
stop_batch: 40000
batch_size: 1
start_lr: 0.001
Expand Down
1 change: 0 additions & 1 deletion examples/run/deprecated/dp2.x-lammps-pwmat/param_CH4.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"systems": [
"./00.data/"
],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ default_training_param:
coord_norm: true
type_fitting_net: false
systems: []
set_prefix: set
stop_batch: 40000
batch_size: 1
start_lr: 0.001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ default_training_param:
coord_norm: true
type_fitting_net: false
systems: []
set_prefix: set
stop_batch: 400000
batch_size: 1
start_lr: 0.001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ default_training_param:
coord_norm: true
type_fitting_net: false
systems: []
set_prefix: set
stop_batch: 2000
batch_size: 1
start_lr: 0.001
Expand Down
1 change: 0 additions & 1 deletion examples/run/deprecated/param-h2oscan-vasp.json
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion examples/run/deprecated/param-mg-vasp-ucloud.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion examples/run/deprecated/param-mg-vasp.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion examples/run/deprecated/param-pyridine-pwscf.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
3 changes: 1 addition & 2 deletions examples/run/dp-calypso-vasp/param.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@
"disp_training": true,
"time_training": true,
"profiling": false,
"profiling_file": "timeline.json",
"set_prefix": "set"
"profiling_file": "timeline.json"
}
},
"sys_configs": "",
Expand Down
1 change: 0 additions & 1 deletion examples/run/dp-lammps-enhance_sampling/param.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
"profiling_file": "timeline.json",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
"profiling_file": "timeline.json",
"_comment4": "that's all",
"training_data": {
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion examples/run/dp2.x-lammps-ABACUS-pw/methane/param.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
"profiling_file": "timeline.json",
"_comment4": "that's all",
"training_data": {
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion examples/run/dp2.x-lammps-cp2k/methane/param-ch4.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"profiling_file": "timeline.json",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"limit_pref_v": 0.0
},
"training": {
"_set_prefix": "set",
"stop_batch": 40000,
"_batch_size": 1,
"disp_file": "lcurve.out",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"limit_pref_v": 0.0
},
"training": {
"_set_prefix": "set",
"stop_batch": 20000,
"_batch_size": 1,
"disp_file": "lcurve.out",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"_comment6": "that's all",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"profiling_file": "timeline.json",
"_comment2": "that's all",
"training_data": {
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"limit_pref_v": 0.0
},
"training": {
"set_prefix": "set",
"numb_steps": 2000,
"batch_size": 1,
"disp_file": "lcurve.out",
Expand Down
1 change: 0 additions & 1 deletion examples/run/dp2.x-lammps-vasp-et/param_elet.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"profiling_file": "timeline.json",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"_comment6": "that's all",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"profiling_file": "timeline.json",
"_comment2": "that's all",
"training_data": {
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"limit_pref_v": 0.0
},
"training": {
"set_prefix": "set",
"numb_steps": 2000,
"batch_size": 1,
"disp_file": "lcurve.out",
Expand Down
4 changes: 1 addition & 3 deletions examples/run/dp2.x_lammps_gaussian/dodecane/dodecane.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@
"time_training": true,
"profiling": false,
"profiling_file": "timeline.json",
"training_data": {
"set_prefix": "set"
}
"training_data": {}
}
},
"use_clusters": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"profiling": false,
"profiling_file": "timeline.json",
"training_data": {
"set_prefix": "set",
"batch_size": "auto"
}
}
Expand Down
4 changes: 1 addition & 3 deletions examples/simplify/qm7.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@
"time_training": true,
"profiling": false,
"profiling_file": "timeline.json",
"training_data": {
"set_prefix": "set"
}
"training_data": {}
},
"_comment1": "that's all"
},
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-custom-fp.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-methane-abacus-diy.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
"profiling_file": "timeline.json",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-methane-abacus.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
"profiling_file": "timeline.json",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-pimd-vasp.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-vasp-diy.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-vasp-multi-trust.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-vasp-old.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-vasp-v1-et.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
"profiling_file": "timeline.json",
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-vasp-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
},
"training": {
"systems": [],
"set_prefix": "set",
"stop_batch": 1000,
"batch_size": 1,
"seed": 1,
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-vasp.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mg-vasp_merge_traj.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-mgo-cp2k-exinput.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-pyridine-cp2k.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-pyridine-gaussian.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/generator/param-pyridine-pwmat.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"profiling": false,
"training_data": {
"systems": [],
"set_prefix": "set",
"batch_size": 1
}
}
Expand Down
Loading

0 comments on commit d5dd205

Please sign in to comment.