Skip to content

Commit dbe6124

Browse files
luyaorpytorchmergebot
authored andcommitted
[tutorial] typo fix, update torch.compiler_cudagraph_trees.md (#167713)
Fix a API typo in the cuda graph tutorial. The API given in cuda graph tutorial is wrong. Pull Request resolved: #167713 Approved by: https://github.com/jerryzh168
1 parent 9a38bb8 commit dbe6124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/torch.compiler_cudagraph_trees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Trees, we don’t want to add unintended dependencies between iterations that wo
319319
to prematurely free memory from a prior invocation. Our heuristics are in inference we start a new iteration on each invocation for
320320
torch.compile, and in training we do the same so long as there is not a pending backward that has not been invoked. If those heuristics
321321
are wrong, you can mark the start of a new iteration with
322-
[torch.compiler.mark_step_begin()](https://pytorch.org/docs/stable/generated/torch.compiler.cudagraph_mark_step_begin.html), or clone
322+
[torch.compiler.cudagraph_mark_step_begin()](https://pytorch.org/docs/stable/generated/torch.compiler.cudagraph_mark_step_begin.html), or clone
323323
tensors of a prior iteration (outside of torch.compile) before you begin the next run.
324324

325325
### Comparisons

0 commit comments

Comments
 (0)