Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ elapsed
Method
elapsed
tests/unit/modeling.py:110–113 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
108
self.start.record()
109
110
def
elapsed(self):
111
self.stop.record()
112
self.stop.synchronize()
113
return
self.start.elapsed_time(self.stop) / 1000.0
114
115
116
class
LinearActivation(Module):
Callers
3
test_compressed_perf.py
File · 0.45
test_mpi_perf.py
File · 0.45
test_nccl_perf.py
File · 0.45
Calls
3
elapsed_time
Method · 0.80
record
Method · 0.45
synchronize
Method · 0.45
Tested by
no test coverage detected