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

Method record

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

Source from the content-addressed store, hash-verified

89 self.stop = get_accelerator().Event() # noqa: F821
90
91 def record(self):
92 self.start.record()
93
94 def elapsed(self):
95 self.stop.record()

Callers 15

elapsedMethod · 0.45
_time_msFunction · 0.45
cuda_timerFunction · 0.45
_graph_timeFunction · 0.45
run_bandwidth_testFunction · 0.45
swapMethod · 0.45
offloadMethod · 0.45
reloadMethod · 0.45
reduceGradMethod · 0.45
allgatherParamMethod · 0.45
prefetchParamsFusedMethod · 0.45
offloadTensorMethod · 0.45

Calls

no outgoing calls

Tested by 1

run_bandwidth_testFunction · 0.36