diff --git a/intermediate_source/torch_compile_tutorial.py b/intermediate_source/torch_compile_tutorial.py index 75fab8c3f3..7f88437a3c 100644 --- a/intermediate_source/torch_compile_tutorial.py +++ b/intermediate_source/torch_compile_tutorial.py @@ -330,7 +330,7 @@ def bar(a, b): # # The second time we run ``bar``, we take the other branch of the if statement # and we get 1 traced graph corresponding to the code ``b = b * -1; return x * b``. -# We do not see a graph of ``x = a / (torch.abs(a) + 1)`` outputted the second time +# We do not see a graph of ``x = a / (torch.abs(a) + 1); b.sum()`` outputted the second time # since ``torch.compile`` cached this graph from the first run and re-used it. # # Let's investigate by example how TorchDynamo would step through ``bar``.