MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / __call__

Method __call__

deepspeed/utils/timer.py:130–133  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

128 return self.timers
129
130 def __call__(self, name):
131 if name not in self.timers:
132 self.timers[name] = self.Timer(name)
133 return self.timers[name]
134
135 @staticmethod
136 def memory_usage():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected