Skip to content

Commit e6b7933

Browse files
JKSenthilfacebook-github-bot
authored andcommitted
remove size_bounds arg from Timer
Summary: happened across the Timer class which had documentation for arg which it does not have Reviewed By: galrotem Differential Revision: D55167092 fbshipit-source-id: b43209808d5c8ef1667de05780c1fb186b32b69d
1 parent a5eccfb commit e6b7933

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

torchtnt/utils/timer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ def __init__(
107107
Args:
108108
cuda_sync: whether to call torch.cuda.synchronize() before and after timing. Defaults to True if CUDA is available.
109109
verbose: whether to enable verbose logging.
110-
size_bounds: defines the range of samples that should be kept in the timer. The lower bound should be smaller than
111-
the upper bound. When the number of samples reaches the upper bound, the oldest (upper-lower) bound samples will
112-
be removed. This range is applied per action.
113110
114111
Note:
115112
Enabling cuda_sync will incur a performance hit, but will ensure accurate timings on GPUs.

0 commit comments

Comments
 (0)