From 93aef684d9c95e6f39dff98d2cccb2056b52e3c6 Mon Sep 17 00:00:00 2001 From: YangQuan Date: Tue, 19 Nov 2024 14:42:36 +0000 Subject: [PATCH] fix typo in `torch.compiler_dynamo_deepdive.rst` (#140871) Pull Request resolved: https://github.com/pytorch/pytorch/pull/140871 Approved by: https://github.com/zou3519 --- docs/source/torch.compiler_dynamo_deepdive.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/torch.compiler_dynamo_deepdive.rst b/docs/source/torch.compiler_dynamo_deepdive.rst index 4bf4633d3e4e..d63e8a4e7d3f 100644 --- a/docs/source/torch.compiler_dynamo_deepdive.rst +++ b/docs/source/torch.compiler_dynamo_deepdive.rst @@ -341,7 +341,7 @@ All the inputs and intermediary elements of the FX graph are ``fx.Node``\ s. In Dynamo, ``fx.Node``\ s are wrapped in ``fx.Proxy``\ s. ``fx.Proxy``\ s are used to build the FX graph. In particular, they record every PyTorch operation performed on them -into the graph. You can can create a new operation to be added to +into the graph. You can create a new operation to be added to the graph by calling `create_proxy `__. Then, we can add it to the graph through the function `wrap_fx_proxy `__.