Commit 05c08f2
Small typo in torch.compile tutorial (#3806)
Fixes #3804
## Description
There is a small inconsistency in the section explaining the behavior of
torch.compile when running the function bar. When describing the first
run, the traced graph is listed as `x = a / (torch.abs(a) + 1); b.sum()`
but when referencing that same graph (from the first run) in the second
run it is listed as `x = a / (torch.abs(a) + 1);`
## Checklist
<!--- Make sure to add `x` to all items in the following checklist: -->
- [x] The issue that is being fixed is referred in the description (see
above "Fixes #ISSUE_NUMBER")
- [x] Only one issue is addressed in this pull request
- [x] Labels from the issue that this PR is fixing are added to this
pull request
- [x] No unnecessary issues are included into this pull request.
cc @williamwen42 @msaroufim @anijain2305 @angelayi
Co-authored-by: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com>1 parent 084b358 commit 05c08f2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
0 commit comments