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

Method start

deepspeed/utils/timer.py:255–263  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

253 get_accelerator().synchronize()
254
255 def start(self):
256 if not self.config.enabled:
257 return
258 self._init_timer()
259 self.started = True
260 if self.global_step_count >= self.start_step:
261 if self.config.synchronized:
262 self._synchronize()
263 self.start_time = time.time()
264
265 def _is_report_boundary(self):
266 if self.steps_per_output is None:

Callers

nothing calls this directly

Calls 2

_init_timerMethod · 0.95
_synchronizeMethod · 0.95

Tested by

no test coverage detected