From a0545c2600d08f6c1731453f1ef146c172bfeebb Mon Sep 17 00:00:00 2001 From: Yip Coekjan Date: Thu, 11 Dec 2025 20:59:03 +0800 Subject: [PATCH] Fix broken links in `torch.compile` tutorials --- intermediate_source/torch_compile_full_example.py | 2 +- intermediate_source/torch_compile_tutorial.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/intermediate_source/torch_compile_full_example.py b/intermediate_source/torch_compile_full_example.py index d1967b9d63c..3995c44221e 100644 --- a/intermediate_source/torch_compile_full_example.py +++ b/intermediate_source/torch_compile_full_example.py @@ -235,6 +235,6 @@ def train(mod, data): # # For a gentle introduction to ``torch.compile``, please check out `the introduction to torch.compile tutorial `__. # -# To troubleshoot issues and to gain a deeper understanding of how to apply ``torch.compile`` to your code, check out `the torch.compile programming model `__. +# To troubleshoot issues and to gain a deeper understanding of how to apply ``torch.compile`` to your code, check out `the torch.compile programming model `__. # # We hope that you will give ``torch.compile`` a try! diff --git a/intermediate_source/torch_compile_tutorial.py b/intermediate_source/torch_compile_tutorial.py index 343ad3b21b0..9f2bed47291 100644 --- a/intermediate_source/torch_compile_tutorial.py +++ b/intermediate_source/torch_compile_tutorial.py @@ -27,7 +27,7 @@ # # For an end-to-end example on a real model, check out our `end-to-end torch.compile tutorial `__. # -# To troubleshoot issues and to gain a deeper understanding of how to apply ``torch.compile`` to your code, check out `the torch.compile programming model `__. +# To troubleshoot issues and to gain a deeper understanding of how to apply ``torch.compile`` to your code, check out `the torch.compile programming model `__. # # **Contents** # @@ -394,7 +394,7 @@ def false_branch(y): # `the torch.export tutorial `__ # for more details on ``torch.export``. # -# Check out our `section on graph breaks in the torch.compile programming model `__ +# Check out our `section on graph breaks in the torch.compile programming model `__ # for tips on how to work around graph breaks. ###################################################################### @@ -405,7 +405,7 @@ def false_branch(y): # Are you looking for tips on how to best use ``torch.compile``? # Or maybe you simply want to learn more about the inner workings of ``torch.compile``? # -# Check out `the torch.compile programming model `__. +# Check out `the torch.compile programming model `__. ###################################################################### # Conclusion @@ -417,6 +417,6 @@ def false_branch(y): # # For an end-to-end example on a real model, check out our `end-to-end torch.compile tutorial `__. # -# To troubleshoot issues and to gain a deeper understanding of how to apply ``torch.compile`` to your code, check out `the torch.compile programming model `__. +# To troubleshoot issues and to gain a deeper understanding of how to apply ``torch.compile`` to your code, check out `the torch.compile programming model `__. # # We hope that you will give ``torch.compile`` a try!