Skip to content

Commit

Permalink
docs: set precision explicitly in the DPA-2 example (#4372)
Browse files Browse the repository at this point in the history
This reminds users that precision can be changed.

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

- **New Features**
- Introduced a new property, `"precision": "float64"`, in the
`descriptor` and `fitting_net` sections of multiple JSON configuration
files to enhance numerical precision specifications for computations.

- **Documentation**
- Updated JSON configuration files to clarify the data types used for
calculations without altering existing structures or values.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz authored Nov 19, 2024
1 parent a4e30cc commit 25b2abf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/water/dpa2/input_torch_compressible.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"g1_out_conv": true,
"g1_out_mlp": true
},
"precision": "float64",
"add_tebd_to_repinit_out": false
},
"fitting_net": {
Expand All @@ -61,6 +62,7 @@
240
],
"resnet_dt": true,
"precision": "float64",
"seed": 1,
"_comment": " that's all"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/water/dpa2/input_torch_large.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"g1_out_conv": true,
"g1_out_mlp": true
},
"precision": "float64",
"add_tebd_to_repinit_out": false
},
"fitting_net": {
Expand All @@ -60,6 +61,7 @@
240
],
"resnet_dt": true,
"precision": "float64",
"seed": 1,
"_comment": " that's all"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/water/dpa2/input_torch_medium.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"g1_out_conv": true,
"g1_out_mlp": true
},
"precision": "float64",
"add_tebd_to_repinit_out": false
},
"fitting_net": {
Expand All @@ -60,6 +61,7 @@
240
],
"resnet_dt": true,
"precision": "float64",
"seed": 1,
"_comment": " that's all"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/water/dpa2/input_torch_small.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"g1_out_conv": true,
"g1_out_mlp": true
},
"precision": "float64",
"add_tebd_to_repinit_out": false
},
"fitting_net": {
Expand All @@ -60,6 +61,7 @@
240
],
"resnet_dt": true,
"precision": "float64",
"seed": 1,
"_comment": " that's all"
},
Expand Down

0 comments on commit 25b2abf

Please sign in to comment.