Model Training Example with MACE#109
Conversation
83363c2 to
4addb20
Compare
Signed-off-by: Ying Shi Teh <yteh@nvidia.com>
Signed-off-by: Ying Shi Teh <yteh@nvidia.com>
Signed-off-by: Ying Shi Teh <yteh@nvidia.com>
Signed-off-by: Ying Shi Teh <yteh@nvidia.com>
Signed-off-by: Ying Shi Teh <yteh@nvidia.com>
Signed-off-by: Ying Shi Teh <yteh@nvidia.com>
Signed-off-by: Ying Shi Teh <yteh@nvidia.com>
837a527 to
bb9efcf
Compare
Greptile SummaryThis PR adds a complete end-to-end MACE model training example (
Important Files Changed
|
ALCHEMI Toolkit Pull Request
Description
This PR adds an advanced training example for a charged MACE model and the supporting code modifications needed to train it with available ALCHEMI tools.
Note: This can only be merged after #108 is merged.
Type of Change
Related Issues
Changes Made
examples/advanced/10_mace_training.py(along with configexamples/advanced/10_vanilla_mace.yaml) using nvalchemi model training pipeline.examples/advanced/_mace_training_helpers.pywith additional training utilities including stress unit conversion, training loss logging, validation, parameter counting, and gradient clipping hook.examples/advanced/_mace_models.pywith builders for vanilla MACE model, including cuEquivariance config support.docs/userguide/mace_training_example.md.Testing
make pytest)make lint)Run training
Checklist
Additional Notes
Below are NVT stability results for the trained MACE model on a 324-atom MgVF4 3x3x3 MatPES-r2SCAN test structure. The 10 ps, 300 K Langevin run completed all 20,000 steps without numerical instability or force/temperature warnings.
Tip
This repository uses Greptile, an AI code review service, to help conduct
pull request reviews. We encourage contributors to read and consider suggestions
made by Greptile, but note that human maintainers will provide the necessary
reviews for merging: Greptile's comments are not a qualitative judgement
of your code, nor is it an indication that the PR will be accepted/rejected.
We encourage the use of emoji reactions to Greptile comments, depending on
their usefulness and accuracy.