diff --git a/README.md b/README.md index 01d56a6e6..14b3df720 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/start.rst b/docs/start.rst index 5b5eed0b3..c2e676bf1 100644 --- a/docs/start.rst +++ b/docs/start.rst @@ -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/