Skip to main content

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)

Source distribution for pykinml 1.1.2
File Size Uploaded
pykinml-1.1.2.tar.gz 47.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pykinml 1.1.2
File Interpreter ABI Platform
pykinml-1.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page