Skip to content

Commit df523a6

Browse files
Revert "[AOT Autograd] Redirect named_parameters to original mod (pytorch#84157)"
This reverts commit 43620b7. Reverted pytorch#84157 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally
1 parent f4f54c7 commit df523a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

functorch/functorch/_src/aot_autograd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,6 @@ def forward(*args):
892892
)
893893

894894
forward.zero_grad = mod.zero_grad
895-
forward.named_parameters = mod.named_parameters
896895
return forward
897896

898897

0 commit comments

Comments
 (0)