Skip to content

Commit 68880bd

Browse files
committed
Checkpointing system rework
1 parent 68e2263 commit 68880bd

82 files changed

Lines changed: 878 additions & 655 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ xanesnet train \
130130
-y
131131
```
132132

133-
Training outputs are written under `runs/<timestamp>_train_<name>/`. Typical outputs include the copied raw config, validated and resolved configs, split indices, checkpoint signatures, checkpoints, final model weights, logs, and optional TensorBoard files. When TensorBoard is enabled, model weight and gradient histograms are omitted by default; pass `--log-weights` to include them.
133+
Training outputs are written under `runs/<timestamp>_train_<name>/`. Typical outputs include the copied raw config, validated and resolved configs, split indices, the signature (`models/signature.yaml`), final checkpoints (`models/final.pth` for inference and `models/final_full.pth` with the full training state), periodic checkpoints in `checkpoints/`, logs, and optional TensorBoard files. When TensorBoard is enabled, model weight and gradient histograms are omitted by default; pass `--log-weights` to include them.
134134

135135
Use `--dry-run` with `xanesnet train` to construct the normal training pipeline, run one real epoch, and write `model_profile.json` with the model architecture, parameter counts, model size, and peak CUDA memory for that epoch when CUDA is available.
136136

‎configs/dimenet_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True # Preload dataset into RAM if True; otherwise load on-the-fly
1414
skip_prepare: False
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 4

‎configs/dimenet_pp_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True # Preload dataset into RAM if True; otherwise load on-the-fly
1414
skip_prepare: False
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 4

‎configs/e3ee_full_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True # Preload dataset into RAM if True; otherwise load on-the-fly
1414
skip_prepare: False
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 4

‎configs/e3ee_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True # Preload dataset into RAM if True; otherwise load on-the-fly
1414
skip_prepare: False
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 4

‎configs/envembed_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True # Preload dataset into RAM if True; otherwise load on-the-fly
1414
skip_prepare: False
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 4

‎configs/gemnet_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True # Preload dataset into RAM if True; otherwise load on-the-fly
1414
skip_prepare: False
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 4

‎configs/gemnet_oc_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True # Preload dataset into RAM if True; otherwise load on-the-fly
1414
skip_prepare: False
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 4

‎configs/mh_cnn_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True
1414
skip_prepare: True
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 5

‎configs/mh_cnn_inverse_infer.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ dataset:
1313
preload: True
1414
skip_prepare: True
1515

16+
strategy:
17+
strategy_type: single
18+
1619
inferencer:
1720
inferencer_type: basic
1821
batch_size: 5

0 commit comments

Comments
 (0)