Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ get_timers
Method
get_timers
deepspeed/utils/timer.py:127–128 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
125
self.timers = {}
126
127
def
get_timers(self):
128
return
self.timers
129
130
def
__call__(self, name):
131
if
name not in self.timers:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected