From 1b3315ec17f3acd851f007c235b164fc1cbacd51 Mon Sep 17 00:00:00 2001 From: Soumith Chintala Date: Wed, 20 Feb 2019 06:27:17 -0800 Subject: [PATCH] improve libtorch install docs with GPU note (#17299) 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/cpp/source/installing.rst b/docs/cpp/source/installing.rst index 82d4ab7..c99e209 100644 --- a/docs/cpp/source/installing.rst +++ b/docs/cpp/source/installing.rst @@ -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 -- 2.7.4