Skip to content

Commit 2e63a13

Browse files
xmfansvekars
andauthored
Apply suggestions from code review
Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
1 parent 297efcc commit 2e63a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intermediate_source/compiled_autograd_tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Run the script with the ``TORCH_LOGS`` environment variables:
9797
Rerun the snippet above, the compiled autograd graph should now be logged to ``stderr``. Certain graph nodes will have names that are prefixed by ``aot0_``,
9898
these correspond to the nodes previously compiled ahead of time in AOTAutograd backward graph 0, for example, ``aot0_view_2`` corresponds to ``view_2`` of the AOT backward graph with id=0.
9999

100-
In the image below, the red box encapsulates the AOT backward graph that is captured by torch.compile without Compiled Autograd.
100+
In the image below, the red box encapsulates the AOT backward graph that is captured by ``torch.compile`` without Compiled Autograd.
101101

102102

103103
.. image:: ../_static/img/compiled_autograd/entire_verbose_log.png
@@ -129,7 +129,7 @@ Or you can use the context manager, which will apply to all autograd calls withi
129129
130130
Compiled Autograd addresses certain limitations of AOTAutograd
131131
--------------------------------------------------------------
132-
1. Graph breaks in the forward pass no longer always lead to graph breaks in the backward pass:
132+
1. Graph breaks in the forward pass no longer necessarily lead to graph breaks in the backward pass:
133133

134134
.. code:: python
135135

0 commit comments

Comments
 (0)