llm.timer
Performance timer.
Timer
¶
Timer(synchronize: bool = False)
Performance timer.
Parameters:
-
synchronize
(bool
, default:False
) –Synchronize CUDA workers before and after the timer.
Performance timer.
Timer
¶Timer(synchronize: bool = False)
Performance timer.
Parameters:
synchronize
(bool
, default:
False
)
–
Synchronize CUDA workers before and after the timer.
llm/timer.py