Skip to content

Commit c1523d3

Browse files
peterjc123soumith
authored andcommitted
Fix cpp docs for Windows tips (#491)
* Fix cpp docs for Windows tips * More
1 parent ac0e1d0 commit c1523d3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

advanced_source/cpp_export.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@ structure:
216216

217217
.. tip::
218218
On Windows, debug and release builds are not ABI-compatible. If you plan to
219-
build your project in debug mode, we recommend
220-
`building PyTorch from source <https://github.com/pytorch/pytorch#from-source>`_.
219+
build your project in debug mode, please try the debug version of LibTorch.
221220

222221
The last step is building the application. For this, assume our example
223222
directory is laid out like this:

advanced_source/cpp_frontend.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ environment, however you are free to follow along on MacOS or Windows too.
104104

105105
.. tip::
106106
On Windows, debug and release builds are not ABI-compatible. If you plan to
107-
build your project in debug mode, we recommend
108-
`building PyTorch from source <https://github.com/pytorch/pytorch#from-source>`_.
107+
build your project in debug mode, please try the debug version of LibTorch.
109108

110109
The first step is to download the LibTorch distribution locally, via the link
111110
retrieved from the PyTorch website. For a vanilla Ubuntu Linux environment, this

0 commit comments

Comments
 (0)