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

Method record

tests/unit/modeling.py:107–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 self.stop = get_accelerator().Event() # noqa: F821
106
107 def record(self):
108 self.start.record()
109
110 def elapsed(self):
111 self.stop.record()

Callers 15

elapsedMethod · 0.45
_time_msFunction · 0.45
cuda_timerFunction · 0.45
startMethod · 0.45
stopMethod · 0.45
move_keyFunction · 0.45
move_back_keyFunction · 0.45
move_hp_paramFunction · 0.45
move_back_hp_paramFunction · 0.45
timed_all_gatherFunction · 0.45

Calls

no outgoing calls

Tested by 1

run_bandwidth_testFunction · 0.36