Isothermal-Isobaric Molecular Dynamics with a Foundation Interatomic Potential in LAMMPS across NVIDIA and Intel GPUs
physics.chem-ph, cs.CE
Submitted: 2026-11-02
Updated: 2026-11-02
Code: https://github.com/facebookresearch/fairchem
Project page: https://nvidia.github.io/nvalchemi-toolkit
License: http://creativecommons.org/licenses/by/4.0/
The gist: Foundation machine-learning interatomic potentials (MLIPs) offer one model for many chemistries, but their deep…
Terminology
Abstract
Foundation machine-learning interatomic potentials (MLIPs) offer one model for many chemistries, but their deep, globally coupled architectures do not fit the spatial decomposition that scales classical and short-ranged MLIPs. We present pair style uma, a LAMMPS pair style that evaluates the Universal Model for Atoms (UMA) through LibTorch on NVIDIA and Intel GPUs from a single source tree. It reimplements FairChem's edge-sharded graph parallelism in C++ over exported TorchScript modules, with one MPI rank per device, NCCL or oneCCL collectives, and the whole energy and force path in double precision. The strain-gradient virial is carried through the exported modules and the cross-device reductions, so that fix npt runs on both vendors' hardware. We measure NPT capacity and cost on one 4xA100-40GB node, one 8xH200 node, and one 12-tile Intel node, and on up to 32 Intel nodes. Without activation checkpointing, one node holds NaCl cells of about 8,000 atoms (A100, 0.21 ns/day), 22,000 atoms (Intel, 0.10 ns/day), and 47,000 atoms (H200, 0.16 ns/day). Graph parallelism raises the capacity of a single device by 8.0x on H200 and 4.6x on A100. Across nodes, capacity grows to about 779,000 atoms on 32 Intel nodes, with a slower speed at 0.007 ns/day. On H200 and A100, a FLOP count of FairChem's graph-parallel predictor gives lower bounds of 31% and 51% of FP64 peak. From one omat checkpoint and with no refit, nine 100 ps NPT heating ramps (NaCl, equiatomic Pt-Ru, and equiatomic (HfNbTaTiZr)N, on all three node types) ran to completion.
Sources
Related papers
- A System-Independent Metadynamics Strategy for Reactive Training Data: Application to Gas-Phase Organic Reactions
- A Machine Learning Model for the Chemistry of a Solvated Electron
- Compression of virtual spaces in transcorrelated methods via singular value decomposition: application to the G2 set
- Charge Transfer with a Spin. II: A Framework for Diabatization which Localizes Charge and Spin
- Diabatic Seam Space Sampling for Hydrogen Tunneling Systems with Nuclear-Electronic Orbital Theory
- Augmented Roothaan-Hall Hessian Applied to Spin-Restricted Open-Shell Density-Functional Theory