TorchSim: An efficient atomistic simulation engine in PyTorch
Orion Cohen, Janosh Riebesell, Rhys Goodall, Adeesh Kolluru, Stefano Falletta, Joseph Krause, Jorge Colindres, Gerbrand Ceder, Abhijeet S. Gangan

TL;DR
TorchSim is a GPU-accelerated, batched atomistic simulation engine built in PyTorch that significantly speeds up molecular dynamics and structural relaxation for multiple systems simultaneously, supporting various potentials and differentiable simulation.
Contribution
TorchSim introduces a PyTorch-based framework for efficient batched atomistic simulations, enabling faster MLIP applications and seamless integration with materials informatics tools.
Findings
Achieves orders of magnitude acceleration over traditional methods.
Supports both machine-learned and classical interatomic potentials.
Enables differentiable simulation for advanced analysis.
Abstract
We introduce TorchSim, an open-source atomistic simulation engine tailored for the Machine Learned Interatomic Potential (MLIP) era. By rewriting core atomistic simulation primitives in PyTorch, TorchSim can achieve orders of magnitude acceleration for popular MLIPs. Unlike existing molecular dynamics packages, which simulate one system at a time, TorchSim performs batched simulations that efficiently utilize modern GPUs by evolving multiple systems concurrently. TorchSim supports molecular dynamics integrators, structural relaxation optimizers, both machine-learned and classical interatomic potentials (such as Lennard-Jones, Morse, soft-sphere), batching with automatic memory management, differentiable simulation, and integration with popular materials informatics tools.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning in Materials Science · Block Copolymer Self-Assembly · Protein Structure and Dynamics
