MCPcopy
hub / github.com/InternLM/lmdeploy / clear

Method clear

lmdeploy/pytorch/engine/engine_loop.py:49–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 super().set()
48
49 def clear(self):
50 if self._counter == 0 and super().is_set():
51 super().clear()
52 self._counter += 1
53
54
55class RunableEventAsync:

Callers 15

_perform_connMethod · 0.45
setMethod · 0.45
drain_for_sleepMethod · 0.45
migration_loopMethod · 0.45
cancelMethod · 0.45
async_recvMethod · 0.45
prepare_sendMethod · 0.45
wakeupMethod · 0.45
_async_stepMethod · 0.45
stopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected