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

3
[![Codefresh build status]( https://g.codefresh.io/api/badges/pipeline/zasdfgbnm/aiqm%2Ftorchani%2Ftorchani?branch=master&type=cf-1)]( https://g.codefresh.io/repositories/aiqm/torchani/builds?filter=trigger:build;branch:master;service:5babc52a8a90dc40a407b05f~torchani)
Gao, Xiang's avatar
Gao, Xiang committed
4

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:

Richard Xue's avatar
Richard Xue committed
11
12
13
14
15
16
17
18
You need to install the latest preview version of pytorch\
For install
```bash
conda install pytorch-nightly -c pytorch
```
For update
```bash
conda update pytorch-nightly
19
```
Gao, Xiang's avatar
Gao, Xiang committed
20
21
22
23
24
25
26

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

```bash
pip install .
```

Gao, Xiang's avatar
Gao, Xiang committed
27
28
29
30
31
After TorchANI has been installed, you can build the documents by running `sphinx-build docs build`. But make sure you
install dependencies:
```bash
pip install sphinx sphinx-gallery pillow matplotlib sphinx_rtd_theme
```
Gao, Xiang's avatar
Gao, Xiang committed
32

Gao, Xiang's avatar
Gao, Xiang committed
33
34
35
36
37
38
39
40
41
# 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
42
43
44
45
46

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
47
48
Code review is required before merging pull request.

Gao, Xiang's avatar
Gao, Xiang committed
49
To manually run unit tests, do `python setup.py test`