MACE (Multi-Atomic Cluster Expansion) is a machine learning force field architecture based on equivariant message passing, implemented in PyTorch. Version 0.3.16 requires Python >=3.9 and is actively maintained on GitHub (ACEsuit/mace). Release cadence is irregular, approximately every 3-6 months.
pip install mace-torchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize the MACE-MP-0 model and compute energy for a water molecule.
Use model_path='large' or 'medium' or 'small' to download the default models. For custom models, provide the path to .model file.
Always wrap atomic data in an ase.Atoms object before passing to calculator.
Reduce system size or use CPU offloading. For very large systems, consider splitting into chunks.
pip install mace-torch --upgrade
Use calc = MACECalculator(model_path='large') instead of model_path='MACE_MP_0'
Ensure device consistency: pass device='cuda' or device='cpu' explicitly to MACECalculator.
Use 'from mace.calculators import MACECalculator'.