Skip to main content

PyTorch implementation of ANI

Project description

Accurate Neural Network Potential on PyTorch

Metrics:

PyPI PyPI - Downloads

Checks:

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

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. Please install PyTorch before installing TorchANI.

Please see PyTorch's official site for instructions of installing latest preview version of PyTorch.

Note that if you updated TorchANI, you may also need to update PyTorch.

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

pip install torchani

or

conda install -c conda-forge torchani

See https://github.com/conda-forge/torchani-feedstock for more information about the conda package.

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

./download.sh

CUAEV (Optional)
To install AEV CUDA Extension (speedup for AEV forward and backward), please follow the instruction at torchani/cuaev.

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 -r docs_requirements.txt

To manually run unit tests, do

pytest -v

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torchani-2.2.4-py3-none-any.whl (10.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torchani-2.2.4.tar.gz
  • Upload date:
  • Size: 14.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for torchani-2.2.4.tar.gz
Algorithm Hash digest
SHA256 d915c43c9d81fc585e86aa2c69039b743c1b47774ea84e5fc40d5ee68ae919e0
MD5 bd3c901cba7ae1dd98144f8ebe833f3f
BLAKE2b-256 74ab130118a6fe0284a9d176f6e973bf2d1520a96fc6be2368ff2f2d76e14057

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchani-2.2.4-py3-none-any.whl
  • Upload date:
  • Size: 10.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for torchani-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 de99afb38aeee9bf8553e58c468539ed41baf6b217833c2fc90429ad4261a02d
MD5 5e9c6b0ec7e8ace452fcbc1aa32ec19e
BLAKE2b-256 891094b5ceed42a029c472b473f72a18cc4aa05fba7637992390e7a3b4c6afdc

See more details on using hashes here.

Supported by

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