pyKinML: Package for training Neural Net Potential Energy Surfaces
Description
This repository contains the code to train NNPESs and use those models with an ASE calculator.
How to install
This package can be installed with pip or by cloning this repo and installing it locally. First, make sure to have pytorch installed:
https://pytorch.org/
This package relies on pytorch_scatter to sum the atomic contributions to energy. Ensure you have the proper version. Instructions for installing torch_scatter can be found at:
https://github.com/rusty1s/pytorch_scatter
Install with pip:
pip install pykinml
Clone from repo:
git clone git@github.com:sandialabs/pykinml.git
We also highly recomend (required for force training) using the aevmod package for calculation of the aevs and their jacobians: https://github.com/sandialabs/aevmod.git
For transition state optimization, we recomend Sella: https://github.com/zadorlab/sella
This code is designed for the training and running of atomistic neural network potentials. It pulls training data from sql files which should include energies, forces, and atomic corrdinates. The sql files should be named in with the chemical formula of the molecules within them (e.g. C5H5.db, C2H4.db, etc.) and the atomic coordinates and forces should be in the same sequence as thier cooresponding atom type in the database name. The models use ANI style atomic environment vectors (AEVs). For details on AEV descriptors see DOI:https://doi.org/10.1039/C6SC05720A. During training, the AEVs for each structure are computed prior to entering the training loop and saved. This ensures that the AEVs only need to be computed a single time.
Metadata
Release files for pykinml 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pykinml-1.1.2.tar.gz | 47.1 kB | Without provenance | Details for pykinml-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pykinml-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for pykinml-1.1.2-py3-none-any.whl |
Total release size: 102.9 kB
Release files / pykinml-1.1.2.tar.gz
| Download URL | pykinml-1.1.2.tar.gz |
|---|---|
| Size | 47.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c49c9c0b1620e9d7889fee4676941d4543c95789930af446a54db7ad38b9e3d
|
|
BLAKE2b-256 checksum How to use checksums |
a860d3152b3a7b3c7adf0ba47cef7e61af0bedf823156ba897b17801a14d23b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.12
|
Release files / pykinml-1.1.2-py3-none-any.whl
| Download URL | pykinml-1.1.2-py3-none-any.whl |
|---|---|
| Size | 55.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cce8509a87fa5d9a1954037e03395a443350f74045d7fcd93dbce57d5c60db1a
|
|
BLAKE2b-256 checksum How to use checksums |
182b607e49251a7caf45f624447f8cf2f43097bef73df5185680a17f92da31bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.12
|
Security for pykinml 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.