Skip to main content

PyTorch implementation of ANI

Project description

Accurate Neural Network Potential on PyTorch

Metrics:

PyPI PyPI - Downloads

Checks:

Actions Status Actions Status Actions Status Actions Status Actions Status Actions Status CodeFactor Total alerts

Deploy:

Actions Status Actions Status

We only provide compatibility with nightly PyTorch, but you can check if stable PyTorch happens to be supported by looking at the following badge:

Actions Status

TorchANI is a pytorch implementation of ANI. It is currently under alpha release, which means, the API is not stable yet. If you find a bug of TorchANI, or have some feature request, feel free to open an issue on GitHub, or send us a pull request.

Install

TorchANI requires the latest preview version of PyTorch. You can install PyTorch by the following commands (assuming cuda10):

pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html

If you updated TorchANI, you may also need to update PyTorch:

pip install --upgrade --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html

After installing the correct PyTorch, you can install TorchANI by:

pip install torchani

See also PyTorch's official site for instructions of installing latest preview version of PyTorch.

To run the tests and examples, you must manually download a data package

./download.sh

Paper

TorchANI Preprint

  • Gao X, Ramezanghorbani F, Isayev O, Smith JS, Roitberg AE. TorchANI: A Free and Open Source PyTorch Based Deep Learning Implementation of the ANI Neural Network Potentials. DOI for Citing

See also: isayev/ASE_ANI

Develop

To install TorchANI from GitHub:

git clone https://github.com/aiqm/torchani.git
cd torchani
pip install -e .

After TorchANI has been installed, you can build the documents by running sphinx-build docs build. But make sure you install dependencies:

pip install sphinx sphinx-gallery pillow matplotlib sphinx_rtd_theme

To manually run unit tests, do python setup.py nosetests

If you opened a pull request, you could see your generated documents at https://aiqm.github.io/torchani-test-docs/ after you docs check succeed. Keep in mind that this repository is only for the purpose of convenience of development, and only keeps the latest push. The CI runing for other pull requests might overwrite this repository. You could rerun the docs check to overwrite this repo to your build.

Note to TorchANI developers

Never commit to the master branch directly. If you need to change something, create a new branch, submit a PR on GitHub.

You must pass all the tests on GitHub before your PR can be merged.

Code review is required before merging pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchani-2.1.1.linux-x86_64.tar.gz (10.6 MB view details)

Uploaded Source

Built Distribution

torchani-2.1.1-py3-none-any.whl (10.7 MB view details)

Uploaded Python 3

File details

Details for the file torchani-2.1.1.linux-x86_64.tar.gz.

File metadata

  • Download URL: torchani-2.1.1.linux-x86_64.tar.gz
  • Upload date:
  • Size: 10.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for torchani-2.1.1.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 5cafa97d27b7bbaa10d4868118b8dc688d9214780b7e9cfdffea9e46790efd4e
MD5 01a6ebe3d2967e150f2ce959ce4795d9
BLAKE2b-256 cb84b4adcce3c0d961daf5376e504826dece67ba06d9c1c92ccbaa591936b7a1

See more details on using hashes here.

File details

Details for the file torchani-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: torchani-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for torchani-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41131cf4be3f51ec94c0da344ce7b48a4fe7740d31e959b8f158ca18f4c48e47
MD5 b61f7e1a0d337785378129fefef4d9fe
BLAKE2b-256 a5c814bbfedf65f44f16dc285b6fbe9f9e1695be62105833de9fa40f48fed1d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page