Skip to content

GemNet

Johannes Gasteiger, Florian Becker, Stephan Günnemann

GemNet is a PyTorch reference implementation of a geometric message-passing model for molecular energies and atomic forces, with notebooks for training, ASE-based prediction and molecular dynamics.

Catalog updated ·

Overview

GemNet is a geometric message-passing neural network designed to predict a molecule’s overall energy and the forces acting on its atoms. This repository provides the PyTorch reference implementation, rather than the original TensorFlow 2 implementation, which the README links separately. The project connects the model to its NeurIPS 2021 publication and a subsequent paper examining graph neural network potentials in molecular dynamics.

The repository supports a workflow from model training to molecular prediction and simulation examples. Users configure their work through config.yaml or config_seml.yaml. Training is illustrated in train.ipynb, while predict.ipynb demonstrates predictions for a molecule loaded through ASE. The documented outputs are molecular energy and atomic forces; the source excerpts do not specify the complete input schema, supported chemical coverage or training-data requirements. For cluster workflows, train_seml.py integrates training with Sacred and SEML, and ase_example.ipynb illustrates molecular dynamics use.

An additional preparation step concerns activation scaling at initialization. Users can choose the supplied scaling_factors.json or compute factors with fit_scaling.py; the README states that these factors are shared across GemNet variants. The excerpts establish these workflow components but provide no numerical accuracy results, runtime measurements or demonstrated simulation-stability limits. Prospective users should therefore evaluate suitability for their own molecules and simulation conditions rather than treating the examples as validation of a particular application.

Key Features

  • Predicts overall molecular energy and forces on individual atoms using a geometric message-passing neural network.
  • Provides a PyTorch reference implementation, with the original TensorFlow 2 implementation linked separately.
  • Includes `train.ipynb` for training and `predict.ipynb` for predictions on a molecule loaded through ASE.
  • Supports cluster-training workflows through `train_seml.py` with Sacred and SEML.
  • Includes `ase_example.ipynb` to demonstrate using GemNet in molecular dynamics simulations.
  • Offers precomputed activation-scaling factors in `scaling_factors.json` and a calculation workflow through `fit_scaling.py`.

Use Cases

  • Intended evaluation: assess energy and atomic-force predictions for representative molecules using the ASE-based prediction notebook and suitable reference results.
  • Intended evaluation: adapt the training notebook and configuration files to a molecular energy-and-force learning study.
  • Intended evaluation: explore GemNet’s role in an ASE molecular dynamics workflow, checking behavior under the intended simulation conditions.
  • Intended evaluation: assess the Sacred and SEML training workflow for organizing model-training experiments on a cluster.

How to Use

  1. Read the repository README to identify the PyTorch workflow and its distinction from the separately linked TensorFlow 2 implementation. Review the code licence before adoption.
  2. Inspect the package setup and the repository’s dependency requirements. The setup declares Python >=3.8; the source excerpts do not establish a tested environment.
  3. Adjust config.yaml for the notebook workflow, or config_seml.yaml for the documented cluster-training route. Consult train.ipynb or train_seml.py in the repository.
  4. Choose the provided scaling_factors.json or follow fit_scaling.py to compute initialization scaling factors, as described in the README.
  5. Use predict.ipynb to examine predictions for an ASE-loaded molecule. If simulation is your goal, inspect ase_example.ipynb next. As an intended evaluation step, compare outputs with appropriate reference data before relying on them.

Sources and verification

This entry describes capabilities documented by the linked project sources. Catalog edits are not evidence of a successful run, compatibility test or scientific performance evaluation.

Read the editorial and verification policy

Related resources

CYPMode

Open Source

CYPMode is a research Python toolkit for time-dependent CYP3A4/CYP2D6 inhibition prediction and CYP3A4 ligand-complex modeling, developed around the OpenADMET blind challenge.

Open sourcePython

Molecular Property Prediction · Computational Chemistry · Drug Discovery

TorchMD-Net implements trainable neural network potentials as PyTorch modules, with TensorNet architectures, custom molecular datasets, pretrained checkpoint loading and molecular dynamics integrations.

Open sourcePython

Molecular Property Prediction · Computational Chemistry

ADMET-AI is an ADMET prediction platform built on Chemprop models trained on TDC ADMET datasets, offered via command line, Python API and a live web server, under the MIT license.

Open sourcePython

Molecular Property Prediction · Drug Discovery

AiiDA

Open Source

AiiDA is a computational-science workflow manager that records calculation inputs, outputs and metadata in a provenance graph.

Open sourcePython

Computational Chemistry · Scientific Data

alchemiscale

Open Source

alchemiscale is a high-throughput execution system for alchemical free energy calculations that distributes work across HPC, cloud, bare-metal and volunteer compute resources.

Open sourcePython

Computational Chemistry · Drug Discovery · Scientific Data

alchemlyb

Open Source

alchemlyb extracts alchemical free energy data from molecular dynamics output and estimates free energies with MBAR, BAR and thermodynamic integration on the PyData stack.

Open sourcePython

Computational Chemistry · Drug Discovery · Scientific Data

Related guides

Licensing

Reading Code, Weight and Data Licences Separately

Build a component-by-component licensing record for chemistry AI workflows, separating software, model weights, datasets and hosted services while keeping missing evidence and unresolved conditions visible.