MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / __call__

Method __call__

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

Source from the content-addressed store, hash-verified

114 return self.timers
115
116 def __call__(self, name):
117 if name not in self.timers:
118 self.timers[name] = self.Timer(name)
119 return self.timers[name]
120
121 @staticmethod
122 def memory_usage():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected