8000 Update decompositions_for_jvp.py (#148821) · pytorch/pytorch@5245304 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5245304

Browse files
NinoRisteskipytorchmergebot
authored andcommitted
Update decompositions_for_jvp.py (#148821)
small typo thing that got my eye Fixes #ISSUE_NUMBER Pull Request resolved: #148821 Approved by: https://github.com/Skylion007
1 parent 148eb73 commit 5245304

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/_decomp/decompositions_for_jvp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# The mechanism is in VariableType,
2020
# IF any inputs have forward grad
2121
# AND there is no forward AD formula implemented
22-
# AND the functions is actually differentiable
22+
# AND the functions are actually differentiable
2323
# run the decomposition
2424
# See run_jit_decomposition_with_args_for_jvp
2525
# We currently use python decompositions that we torchscript.
@@ -34,7 +34,7 @@
3434
# (and possibly produce an unintelligible error) vs erroring out earlier and
3535
# printing that the forward AD formula is not implemented.
3636
#
37-
# The solution to this may be to have a explicitly white list control when
37+
# The solution to this may be to have an explicitly white list control when
3838
# to enable the decomposition.
3939

4040

0 commit comments

Comments
 (0)
0