aiqm/torchani

TorchANI 2.0 is an open-source library that supports training, development, and research of ANI-style neural network interatomic potentials. It was originally developed and is currently maintained by the Roitberg group.

What it solves

TorchANI 2 makes it possible to train, develop, and research neural network interatomic potentials — machine learning models that predict the energy and forces of atoms in molecules or materials. It replaces slow, expensive quantum chemistry calculations with fast, accurate predictions, enabling large-scale molecular simulations that would otherwise be impractical.

How it works

TorchANI 2 is built on PyTorch and provides ready-to-use ANI-style neural network potentials. It includes C++ and CUDA extensions to accelerate the computation of descriptors (the input features that describe atomic environments) and the neural network inference itself. The library offers a command-line tool (ani) to build these extensions, and it works with GPU acceleration via CUDA. For molecular dynamics, it can interface with the Amber software to run either fully machine-learned or mixed ML/MM simulations.

Who it’s for

TorchANI 2 is aimed at researchers, developers, and students working in computational chemistry, materials science, or related fields who need to build or apply machine-learned interatomic potentials. It is particularly useful for those who want to train custom potential models or integrate neural networks into molecular dynamics workflows.

Highlights

  • Supports training, development, and research of ANI-style neural network interatomic potentials.
  • Highly recommended GPU (CUDA) support for performance; CPU works but degrades significantly.
  • Provides accelerated C++/CUDA extensions for descriptors and network inference.
  • Offers a command-line interface (ani) with utilities, including building extensions.
  • Includes a migration guide from older versions and a legacy state dict method for compatibility.
  • Maintained by the Roitberg group, with citation support for scientific work.

Related

  • Project
  • Project
  • Project
  • Project
  • Project