https://github.com/apax-hub/apax

A flexible and performant framework for training machine learning potentials.

https://github.com/apax-hub/apax

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 9 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, acs.org, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary

Keywords

computational-chemistry force-fields interatomic-potentials jax machine-learning materials-science molecular-dynamics quantum-chemistry
Last synced: 5 months ago · JSON representation

Repository

A flexible and performant framework for training machine learning potentials.

Basic Info
Statistics
  • Stars: 28
  • Watchers: 3
  • Forks: 4
  • Open Issues: 23
  • Releases: 18
Topics
computational-chemistry force-fields interatomic-potentials jax machine-learning materials-science molecular-dynamics quantum-chemistry
Created over 3 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

apax: Atomistic learned Potentials in JAX!

Read the Docs DOI DOI License: MIT Discord

apax^1 is a high-performance, extendable package for training of and inference with atomistic neural networks. It implements the Gaussian Moment Neural Network model [^3][^4]. It is based on JAX and uses JaxMD as a molecular dynamics engine.

Installation

Apax is available on PyPI with a CPU version of JAX.

bash pip install apax

If you want to enable GPU support (only on Linux), please run bash pip install "apax[cuda]"

For more detailed instructions, please refer to the documentation.

Usage

Your first apax Model

In order to train a model, you need to run

bash apax train config.yaml

We offer some input file templates to get new users started as quickly as possible. Simply run the following commands and add the appropriate entries in the marked fields

bash apax template train # use --full for a template with all input options

Please refer to the documentation for a detailed explanation of all parameters. The documentation can convenienty be accessed by running apax docs.

Molecular Dynamics

There are two ways in which apax models can be used for molecular dynamics out of the box. High performance NVT simulations using JaxMD can be started with the CLI by running

bash apax md config.yaml md_config.yaml

A template command for MD input files is provided as well.

The second way is to use the ASE calculator provided in apax.md.

Input File Auto-Completion

use the following command to generate JSON schemata for training and MD configuration files:

bash apax schema

If you are using VSCode, you can utilize them to lint and autocomplete your input files. The command creates the 2 schemata and adds them to the projects .vscode/settings.json

Authors

  • Moritz René Schäfer
  • Nico Segreto

Under the supervion of Johannes Kästner

Contributing

We are happy to receive your issues and pull requests!

Do not hesitate to contact any of the authors above if you have any further questions.

Acknowledgements

The creation of Apax was supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) in the framework of the priority program SPP 2363, “Utilization and Development of Machine Learning for Molecular Applications - Molecular Machine Learning” Project No. 497249646 and the Ministry of Science, Research and the Arts Baden-Württemberg in the Artificial Intelligence Software Academy (AISA). Further funding though the DFG under Germany's Excellence Strategy - EXC 2075 - 390740016 and the Stuttgart Center for Simulation Science (SimTech) was provided.

References

[^1]: Moritz René Schäfer, Nico Segreto, Fabian Zills, Christian Holm, Johannes Kästner, Apax: A Flexible and Performant Framework For The Development of Machine-Learned Interatomic Potentials, arXiv preprint, 2025

[^3]: V. Zaverkin and J. Kästner, “Gaussian Moments as Physically Inspired Molecular Descriptors for Accurate and Scalable Machine Learning Potentials,” J. Chem. Theory Comput. 16, 5410–5421 (2020). [^4]: V. Zaverkin, D. Holzmüller, I. Steinwart, and J. Kästner, “Fast and Sample-Efficient Interatomic Neural Network Potentials for Molecules and Materials Based on Gaussian Moments,” J. Chem. Theory Comput. 17, 6658–6670 (2021).

Owner

  • Name: apax-hub
  • Login: apax-hub
  • Kind: organization

GitHub Events

Total
  • Create event: 86
  • Release event: 10
  • Issues event: 37
  • Watch event: 8
  • Delete event: 57
  • Issue comment event: 40
  • Push event: 312
  • Pull request review event: 122
  • Pull request review comment event: 61
  • Pull request event: 150
  • Fork event: 2
Last Year
  • Create event: 86
  • Release event: 10
  • Issues event: 37
  • Watch event: 8
  • Delete event: 57
  • Issue comment event: 40
  • Push event: 312
  • Pull request review event: 122
  • Pull request review comment event: 61
  • Pull request event: 150
  • Fork event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 59
  • Total pull requests: 174
  • Average time to close issues: 4 months
  • Average time to close pull requests: 7 days
  • Total issue authors: 7
  • Total pull request authors: 6
  • Average comments per issue: 0.47
  • Average comments per pull request: 0.25
  • Merged pull requests: 130
  • Bot issues: 0
  • Bot pull requests: 46
Past Year
  • Issues: 23
  • Pull requests: 85
  • Average time to close issues: 27 days
  • Average time to close pull requests: 7 days
  • Issue authors: 5
  • Pull request authors: 6
  • Average comments per issue: 0.39
  • Average comments per pull request: 0.12
  • Merged pull requests: 58
  • Bot issues: 0
  • Bot pull requests: 35
Top Authors
Issue Authors
  • M-R-Schaefer (37)
  • PythonFZ (15)
  • Chronum94 (2)
  • MrJulEnergy (2)
  • Tetracarbonylnickel (2)
  • smslule (1)
  • lkkmpn (1)
Pull Request Authors
  • M-R-Schaefer (75)
  • pre-commit-ci[bot] (49)
  • PythonFZ (32)
  • Tetracarbonylnickel (24)
  • MrJulEnergy (2)
  • smslule (1)
  • Chronum94 (1)
Top Labels
Issue Labels
enhancement (15) bug (7) documentation (2) help wanted (1) wontfix (1) sprint (1)
Pull Request Labels
enhancement (11) bug (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 78 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 14
  • Total maintainers: 1
pypi.org: apax

Atomistic Learned Potential Package in JAX

  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 78 Last month
Rankings
Dependent packages count: 9.6%
Average: 36.4%
Dependent repos count: 63.1%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/documentation.yaml actions
  • abatilo/actions-poetry v2.0.0 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/pytest.yaml actions
  • abatilo/actions-poetry v2.0.0 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
poetry.lock pypi
  • 153 dependencies
pyproject.toml pypi