Unverified Commit 9ba09296 authored by Gao, Xiang's avatar Gao, Xiang Committed by GitHub
Browse files

Update installation guide to mention conda (#525)

parent 52091d36
......@@ -33,26 +33,25 @@ TorchANI is a pytorch implementation of ANI. It is currently under alpha release
# Install
TorchANI requires the latest preview version of PyTorch. You can install PyTorch by the following commands (assuming cuda10):
TorchANI requires the latest preview version of PyTorch. Please install PyTorch before installing TorchANI.
```bash
pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
```
Please see [PyTorch's official site](https://pytorch.org/get-started/locally/) for instructions of installing latest preview version of PyTorch.
Note that if you updated TorchANI, you may also need to update PyTorch.
If you updated TorchANI, you may also need to update PyTorch:
After installing the correct PyTorch, you can install TorchANI by `pip` or `conda`:
```bash
pip install --upgrade --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
pip install torchani
```
After installing the correct PyTorch, you can install TorchANI by:
or
```bash
pip install torchani
conda install -c conda-forge torchani
```
See also [PyTorch's official site](https://pytorch.org/get-started/locally/) for instructions of installing latest preview version of PyTorch.
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
......
Installation
============
TorchANI requires the latest preview version of PyTorch. You can install PyTorch by the following commands (assuming cuda10):
TorchANI requires the latest preview version of PyTorch.
.. code-block:: bash
Please see `PyTorch's official site`_ for instructions of installing latest preview version of PyTorch.
pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
Note that if you updated TorchANI, you may also need to update PyTorch.
If you updated TorchANI, you may also need to update PyTorch:
After installing the correct PyTorch, you can install TorchANI by `pip` or `conda`:
.. code-block:: bash
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
pip install torchani
After installing the correct PyTorch, you can install TorchANI by:
or
.. code-block:: bash
pip install torchani
conda install -c conda-forge torchani
See also `PyTorch's official site`_ for instructions of installing latest preview version of PyTorch.
See https://github.com/conda-forge/torchani-feedstock for more information about the conda package.
.. _PyTorch's official site:
https://pytorch.org/get-started/locally/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment