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

Citation

Please cite the following paper if you use TorchANI

  • Xiang Gao, Farhad Ramezanghorbani, Olexandr Isayev, Justin S. Smith, and Adrian E. Roitberg. TorchANI: A Free and Open Source PyTorch Based Deep Learning Implementation of the ANI Neural Network Potentials. Journal of Chemical Information and Modeling 2020 60 (7), 3408-3415, DOI for Citing

JCIM Cover

ANI model parameters

All the ANI model parameters including (ANI2x, ANI1x, and ANI1ccx) are accessible from the following repositories:

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.2.tar.gz (14.3 MB view details)

Uploaded Source

Built Distribution

torchani-2.2-py3-none-any.whl (10.8 MB view details)

Uploaded Python 3

File details

Details for the file torchani-2.2.tar.gz.

File metadata

  • Download URL: torchani-2.2.tar.gz
  • Upload date:
  • Size: 14.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for torchani-2.2.tar.gz
Algorithm Hash digest
SHA256 c086fe6cabe49a0408d1f1b12aaf14e33b9e6ef0ffb15f3020792934e7c9fbbe
MD5 7ac94f7d5eb6ca8e078f9a2541bc6491
BLAKE2b-256 bd872fef93ac04756ff2acdc473cbfa2bb9e11386d1c5c24642e77b3ee13a779

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchani-2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for torchani-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7102f5fc8164716760dbee49ff53217977e086699cfc1ce9e5c6f4fedcf55177
MD5 4882b41b480dfe2464e9a9d6684fa0d5
BLAKE2b-256 802346d0e0d3c6573ea7c96bc342036f8ec886a55e8296355659d5f8b1da698f

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