Skip to content

Commit

Permalink
remove size_bounds arg from Timer
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JKSenthil authored and facebook-github-bot committed Mar 21, 2024
1 parent a5eccfb commit e6b7933
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions torchtnt/utils/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ def __init__(
Args:
cuda_sync: whether to call torch.cuda.synchronize() before and after timing. Defaults to True if CUDA is available.
verbose: whether to enable verbose logging.
size_bounds: defines the range of samples that should be kept in the timer. The lower bound should be smaller than
the upper bound. When the number of samples reaches the upper bound, the oldest (upper-lower) bound samples will
be removed. This range is applied per action.
Note:
Enabling cuda_sync will incur a performance hit, but will ensure accurate timings on GPUs.
Expand Down

0 comments on commit e6b7933

Please sign in to comment.