-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update installation guide to mention conda (#525)
- Loading branch information
Showing
2 changed files
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
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/ |