diff --git a/advanced_source/cpp_export.rst b/advanced_source/cpp_export.rst index 777f8914b51..e0081377584 100644 --- a/advanced_source/cpp_export.rst +++ b/advanced_source/cpp_export.rst @@ -216,8 +216,7 @@ structure: .. 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 `_. + build your project in debug mode, please try the debug version of LibTorch. The last step is building the application. For this, assume our example directory is laid out like this: diff --git a/advanced_source/cpp_frontend.rst b/advanced_source/cpp_frontend.rst index f78660a330a..bda9f3f256e 100644 --- a/advanced_source/cpp_frontend.rst +++ b/advanced_source/cpp_frontend.rst @@ -104,8 +104,7 @@ environment, however you are free to follow along on MacOS or Windows too. .. 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 `_. + build your project in debug mode, please try the debug version of LibTorch. The first step is to download the LibTorch distribution locally, via the link retrieved from the PyTorch website. For a vanilla Ubuntu Linux environment, this