Enabling Scalable AI-Driven Molecular Dynamics Simulations

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Researchers running machine learning molecular dynamics can now connect PyTorch potentials to LAMMPS across hundreds of GPUs without writing custom distributed-communication code.

Read this as

Scientists use simulations of atoms to study materials and chemistry, but these calculations are so large they strain even powerful computers. NVIDIA, Los Alamos and Sandia built a bridge that lets a popular simulation package called LAMMPS use machine-learning models written in PyTorch, spread across many GPUs. In tests, communication shortcuts gave speedups of up to 3x on 512 NVIDIA H100 GPUs. The tool ships in the LAMMPS September 2025 release or a prebuilt NVIDIA container.

NVIDIA, Los Alamos National Lab and Sandia National Lab have released a PyTorch-to-LAMMPS interface for machine-learned atomic simulations, available now in the LAMMPS September 2025 release or a prebuilt NVIDIA container. For computational chemistry and materials teams, this removes integration work when scaling models to multi-GPU clusters. Benchmarks on up to 512 H100s showed 1.4x to 3x speedups, and a cuEquivariance-accelerated MACE plugin beat a libtorch C++ version on a single A100.

The ML-IAP-Kokkos interface uses Cython to connect PyTorch MLIPs to LAMMPS, requiring developers to subclass MLIAPUnified and implement compute_forces. Message-passing hooks forward_exchange and reverse_exchange synchronize ghost-atom features across GPUs and register autograd gradients for distributed training. Weak-scaling benchmarks of HIPPYNN on 1-512 H100s (about 20³ atoms per GPU, aluminum lattice) gave 1.4x, 2.1x and 3x speedups for two-, three- and four-layer potentials. First and last exchanges can often be skipped; a cuEquivariance MACE plugin outperformed the libtorch pair style on one A100.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

LAMMPS PyTorch NVIDIA Los Alamos National Lab Sandia National Lab HIPPYNN cuEquivariance

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading