README.md 1.85 KB
Newer Older
Gao, Xiang's avatar
Gao, Xiang committed
1
2
3
4
# TorchANI

[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=zasdfgbnm&repoName=torchani&branch=master&pipelineName=torchani&accountName=zasdfgbnm&key=eyJhbGciOiJIUzI1NiJ9.NTk5ZmEwNzI2MTNhNTMwMDAxNTY4MmJm.nnVU1i-VQQSzPcsGxKnMC0wT-y9C2i8xuBZvUjlubYg&type=cf-1)]( https://g.codefresh.io/repositories/zasdfgbnm/torchani/builds?filter=trigger:build;branch:master;service:5b53d92fff9e565ae1f3a5b5~torchani)

Gao, Xiang's avatar
Gao, Xiang committed
5
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.
Gao, Xiang's avatar
Gao, Xiang committed
6
7
8
9
10

# Install

TorchANI requires the master branch of PyTorch, which means:

Gao, Xiang's avatar
Gao, Xiang committed
11
* The pytorch installed by `pip install` or `conda install` would not work.
Gao, Xiang's avatar
Gao, Xiang committed
12
13
14
15
16
17
18
19
20
* You need to compile install the latest pytorch, see [official instructions](https://github.com/pytorch/pytorch#from-source).
* Some update to TorchANI might require the user to recompile install the latest PyTorch. Before submitting a bug report, make sure you are running the latest PyTorch.

After installing the correct PyTorch, all you need is clone the repository and do:

```bash
pip install .
```

Gao, Xiang's avatar
Gao, Xiang committed
21
22
23
24
25
26
27
28
29
# Paper

The original ANI-1 paper is:

* Smith JS, Isayev O, Roitberg AE. ANI-1: an extensible neural network potential with DFT accuracy at force field computational cost. Chemical science. 2017;8(4):3192-203.

We are planning a seperate paper for TorchANI, it will be available when we are ready for beta release of TorchANI.

# Note to TorchANI developers
Gao, Xiang's avatar
Gao, Xiang committed
30
31
32
33
34

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.

Gao, Xiang's avatar
Gao, Xiang committed
35
36
37
Code review is required before merging pull request.

To manually run unit tests, do `python setup.py test`