Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
elapsed
Method · 0.45
_time_ms
Function · 0.45
cuda_timer
Function · 0.45
start
Method · 0.45
stop
Method · 0.45
move_key
Function · 0.45
move_back_key
Function · 0.45
move_hp_param
Function · 0.45
move_back_hp_param
Function · 0.45
timed_all_gather
Function · 0.45
_run_repeatedly_for_profile
Function · 0.45
__reduce_and_partition_ipg_grads
Method · 0.45
Calls
no outgoing calls
Tested by
1
run_bandwidth_test
Function · 0.36