Skip to content

Commit

Permalink
rm prof.start
Browse files Browse the repository at this point in the history
  • Loading branch information
Priya2698 committed Dec 18, 2024
1 parent 1a1fed0 commit 84bb09c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion benchmarks/python/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def torchprofile_timer(self) -> float:
# Clear the internal profiler object to avoid accumulating function events and then restart the profiler
# See PR: https://github.com/pytorch/pytorch/pull/125510
self.prof.profiler = None
self.prof.start()

return self.current_time

Expand Down

0 comments on commit 84bb09c

Please sign in to comment.