Skip to content

Commit

Permalink
Re-sync with internal repository (#2417)
Browse files Browse the repository at this point in the history
  • Loading branch information
facebook-github-bot authored Aug 13, 2024
1 parent dfa0fe0 commit 846177e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion userbenchmark/dynamo/dynamobench/_dynamo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2322,7 +2322,6 @@ def nn_module_get_all_hooks(
check_backward_hooks=False,
check_state_dict_hooks=False,
):
reset_code = torch._C._dynamo.eval_frame.reset_code
"""
Sometimes its useful to differentiate between types of hooks such as forward/backward/pre
hooks executed during module.__call__, and state_dict hooks which are executed separately.
Expand Down

0 comments on commit 846177e

Please sign in to comment.