Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
elapsed
Method · 0.45
_time_ms
Function · 0.45
cuda_timer
Function · 0.45
_graph_time
Function · 0.45
run_bandwidth_test
Function · 0.45
swap
Method · 0.45
offload
Method · 0.45
reload
Method · 0.45
reduceGrad
Method · 0.45
allgatherParam
Method · 0.45
prefetchParamsFused
Method · 0.45
offloadTensor
Method · 0.45
Calls
no outgoing calls
Tested by
1
run_bandwidth_test
Function · 0.36