MCPcopy Index your code
hub / github.com/InternLM/lmdeploy / start

Method start

lmdeploy/profiler.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 return sess
41
42 def start(self):
43 self.t_start = time.perf_counter()
44
45 def finish(self):
46 self.elapsed_time = time.perf_counter() - self.t_start

Callers 7

__init__Method · 0.45
_gather_tasksMethod · 0.45
process_requestMethod · 0.45
process_requestMethod · 0.45
test_zmq_rpcMethod · 0.45
test_embeddingMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_zmq_rpcMethod · 0.36
test_embeddingMethod · 0.36