ml-mlip-nvalchemi
Installation
SKILL.md
ml-mlip-nvalchemi
Goal
Exploit NVIDIA's NValchemi toolkit to run energy/force/stress predictions, geometry relaxations, and molecular dynamics for a batch of structures in a single GPU-parallel forward pass, instead of N sequential CPU loops. This is automatically activated when nvalchemi-toolkit is installed in the environment — the existing MCP tool surface (static_calculation, relax_structure, run_md) passes a list of structures and dispatches to the NValchemi backend transparently.
Background
NValchemi provides batched dynamics integrators (FIRE, NVT Nose-Hoover, NPT, etc.) and a BaseModelMixin interface. AtomisticSkills wraps each MLIP in a BaseModelMixin-compatible class:
| MLIP | NValchemi wrapper | Location |
|---|---|---|
| MACE | nvalchemi.models.mace.MACEWrapper |
upstream (nvalchemi-toolkit) |
| MatGL TensorNet | matgl.ext._alchmtk.TensorNetWrapper |
matgl package |
| MatGL M3GNet | M3GNetWrapper |
src/utils/mlips/nvalchemi/matgl_wrappers.py |
| MatGL CHGNet | CHGNetWrapper |
src/utils/mlips/nvalchemi/matgl_wrappers.py |
| MatGL QET | QETWrapper |
matgl package |
| FairChem UMA | FairChemWrapper |
src/utils/mlips/nvalchemi/fairchem_nv.py |