Skip to content

Commit

Permalink
[torch/fx] add torch/utils/_stats.py to stack frame skiplist
Browse files Browse the repository at this point in the history
We added some @count decorators to stuff that show up now
  • Loading branch information
suo committed Apr 1, 2023
1 parent 5df59f9 commit 0e503e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch/fx/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ def _find_user_frame(self):
'torch/utils/_python_dispatch.py',
'torch/_prims_common/wrappers.py',
'torch/_refs/__init__.py',
'torch/_refs/nn/functional/__init__.py'
'torch/_refs/nn/functional/__init__.py',
'torch/utils/_stats.py',
]
while frame:
frame = frame.f_back
Expand Down

0 comments on commit 0e503e8

Please sign in to comment.