summaryrefslogtreecommitdiff
path: root/docs/cpp
diff options
context:
space:
mode:
authorMichael Suo <suo@fb.com>2019-02-24 23:01:32 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-02-24 23:08:15 -0800
commit4ac91b2d64eeea5ca21083831db5950dc08441d6 (patch)
tree48f9a6fd125874184c5d139b1aecdaadb1a7ef7b /docs/cpp
parent15840e30dc264df3562eb606348c331f134fa982 (diff)
downloadpytorch-4ac91b2d64eeea5ca21083831db5950dc08441d6.tar.gz
pytorch-4ac91b2d64eeea5ca21083831db5950dc08441d6.tar.bz2
pytorch-4ac91b2d64eeea5ca21083831db5950dc08441d6.zip
add debug/release tip to cpp docs (#17452)
Summary: as title. These were already added to the tutorials, but I didn't add them to the cpp docs. Pull Request resolved: https://github.com/pytorch/pytorch/pull/17452 Differential Revision: D14206501 Pulled By: suo fbshipit-source-id: 89b5c8aaac22d05381bc4a7ab60d0bb35e43f6f5
Diffstat (limited to 'docs/cpp')
-rw-r--r--docs/cpp/source/installing.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/cpp/source/installing.rst b/docs/cpp/source/installing.rst
index c99e2091c7..9e174a0ac3 100644
--- a/docs/cpp/source/installing.rst
+++ b/docs/cpp/source/installing.rst
@@ -124,6 +124,11 @@ should now merrily print the tensor (exact output subject to randomness):
0.2063 0.6593 0.0866
0.0796 0.5841 0.1569
[ Variable[CPUFloatType]{2,3} ]
+
+.. tip::
+ On Windows, debug and release builds are not ABI-compatible. If you plan to
+ build your project in debug mode, we recommend
+ `building PyTorch from source <https://github.com/pytorch/pytorch#from-source>`_.
Support
-------