improve libtorch install docs with GPU note (#17299)
authorSoumith Chintala <soumith@gmail.com>
Wed, 20 Feb 2019 14:27:17 +0000 (06:27 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 20 Feb 2019 14:30:08 +0000 (06:30 -0800)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/15702
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17299

Differential Revision: D14149712

Pulled By: soumith

fbshipit-source-id: 5b83110bb00e4d4dad04c1f293c2b52e41711f11

docs/cpp/source/installing.rst

index 82d4ab7..c99e209 100644 (file)
@@ -19,6 +19,8 @@ example:
   wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip
   unzip libtorch-shared-with-deps-latest.zip
 
+Note that the above link has CPU-only libtorch. If you would like to download a GPU-enabled 
+libtorch, find the right link in the link selector on https://pytorch.org
 
 Next, we can write a minimal CMake build configuration to develop a small
 application that depends on LibTorch. CMake is not a hard requirement for using