Skip to content

Commit

Permalink
[torch/fx] add torch/utils/_stats.py to stack frame skiplist (#98117)
Browse files Browse the repository at this point in the history
We added some @count decorators to stuff that show up now

Pull Request resolved: #98117
Approved by: https://github.com/SherlockNoMad
  • Loading branch information
suo authored and pytorchmergebot committed Apr 4, 2023
1 parent 1fae179 commit 8f2f1a0
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 8f2f1a0

Please sign in to comment.