https://github.com/apax-hub/apax
A flexible and performant framework for training machine learning potentials.
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
Repository
A flexible and performant framework for training machine learning potentials.
Basic Info
- Host: GitHub
- Owner: apax-hub
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://apax.readthedocs.io
- Size: 6.22 MB
Statistics
- Stars: 28
- Watchers: 3
- Forks: 4
- Open Issues: 23
- Releases: 18
Topics
Metadata Files
README.md
apax: Atomistic learned Potentials in JAX!
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
- Repositories: 1
- Profile: https://github.com/apax-hub
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
Pull Request Labels
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
- Documentation: https://apax.readthedocs.io/
- License: mit
-
Latest release: 0.12.2
published 8 months ago
Rankings
Maintainers (1)
Dependencies
- abatilo/actions-poetry v2.0.0 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- abatilo/actions-poetry v2.0.0 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- 153 dependencies