From 5c27165daecb15b2b6abec36498cca8e9b410b7d Mon Sep 17 00:00:00 2001 From: awaelchli Date: Tue, 9 Jul 2024 16:58:15 +0200 Subject: [PATCH 1/2] Add reference to google docs guide --- docs/source-fabric/advanced/compile.rst | 3 +++ docs/source-pytorch/advanced/compile.rst | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/source-fabric/advanced/compile.rst b/docs/source-fabric/advanced/compile.rst index ed46a1f822643..ccea13f0c349a 100644 --- a/docs/source-fabric/advanced/compile.rst +++ b/docs/source-fabric/advanced/compile.rst @@ -272,6 +272,8 @@ As a note, the compilation phase itself will take some time, taking up to severa For these reasons, we recommend that you don't invest too much time trying to apply ``torch.compile`` during development, and rather evaluate its effectiveness toward the end when you are about to launch long-running, expensive experiments. Always compare the speed and memory usage of the compiled model against the original model! +For a thorough troubleshooting guide, see `Torch.compile: the missing manual `. + ---- @@ -313,5 +315,6 @@ Here are a few resources for further reading after you complete this tutorial: - `GenAI with PyTorch 2.0 blog post series `_ - `Training Production AI Models with PyTorch 2.0 `_ - `Empowering Models with Performance: The Art of Generalized Model Transformation Approach `_ +- `Torch.compile: the missing manual ` | diff --git a/docs/source-pytorch/advanced/compile.rst b/docs/source-pytorch/advanced/compile.rst index 484559e111a52..84f8f79d921f5 100644 --- a/docs/source-pytorch/advanced/compile.rst +++ b/docs/source-pytorch/advanced/compile.rst @@ -241,6 +241,8 @@ As a note, the compilation phase itself will take some time, taking up to severa For these reasons, we recommend that you don't invest too much time trying to apply ``torch.compile`` during development, and rather evaluate its effectiveness toward the end when you are about to launch long-running, expensive experiments. Always compare the speed and memory usage of the compiled model against the original model! +For a thorough troubleshooting guide, see `Torch.compile: the missing manual `. + ---- @@ -282,5 +284,6 @@ Here are a few resources for further reading after you complete this tutorial: - `GenAI with PyTorch 2.0 blog post series `_ - `Training Production AI Models with PyTorch 2.0 `_ - `Empowering Models with Performance: The Art of Generalized Model Transformation Approach `_ +- `Torch.compile: the missing manual ` | From 5236102c6c58b213af147ad63b959cad6d694687 Mon Sep 17 00:00:00 2001 From: awaelchli Date: Tue, 9 Jul 2024 17:00:33 +0200 Subject: [PATCH 2/2] fix --- docs/source-fabric/advanced/compile.rst | 4 ++-- docs/source-pytorch/advanced/compile.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source-fabric/advanced/compile.rst b/docs/source-fabric/advanced/compile.rst index ccea13f0c349a..17ba6e4ca9dc8 100644 --- a/docs/source-fabric/advanced/compile.rst +++ b/docs/source-fabric/advanced/compile.rst @@ -272,7 +272,7 @@ As a note, the compilation phase itself will take some time, taking up to severa For these reasons, we recommend that you don't invest too much time trying to apply ``torch.compile`` during development, and rather evaluate its effectiveness toward the end when you are about to launch long-running, expensive experiments. Always compare the speed and memory usage of the compiled model against the original model! -For a thorough troubleshooting guide, see `Torch.compile: the missing manual `. +For a thorough troubleshooting guide, see `Torch.compile: the missing manual `_. ---- @@ -315,6 +315,6 @@ Here are a few resources for further reading after you complete this tutorial: - `GenAI with PyTorch 2.0 blog post series `_ - `Training Production AI Models with PyTorch 2.0 `_ - `Empowering Models with Performance: The Art of Generalized Model Transformation Approach `_ -- `Torch.compile: the missing manual ` +- `Torch.compile: the missing manual `_ | diff --git a/docs/source-pytorch/advanced/compile.rst b/docs/source-pytorch/advanced/compile.rst index 84f8f79d921f5..d5bd333c041b3 100644 --- a/docs/source-pytorch/advanced/compile.rst +++ b/docs/source-pytorch/advanced/compile.rst @@ -241,7 +241,7 @@ As a note, the compilation phase itself will take some time, taking up to severa For these reasons, we recommend that you don't invest too much time trying to apply ``torch.compile`` during development, and rather evaluate its effectiveness toward the end when you are about to launch long-running, expensive experiments. Always compare the speed and memory usage of the compiled model against the original model! -For a thorough troubleshooting guide, see `Torch.compile: the missing manual `. +For a thorough troubleshooting guide, see `Torch.compile: the missing manual `_. ---- @@ -284,6 +284,6 @@ Here are a few resources for further reading after you complete this tutorial: - `GenAI with PyTorch 2.0 blog post series `_ - `Training Production AI Models with PyTorch 2.0 `_ - `Empowering Models with Performance: The Art of Generalized Model Transformation Approach `_ -- `Torch.compile: the missing manual ` +- `Torch.compile: the missing manual `_ |