MCPcopy Create free account
hub / github.com/InternLM/lmdeploy / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

37class CounterEvent(asyncio.Event):
38
39 def __init__(self):
40 super().__init__()
41 self._counter = 0
42
43 def set(self):
44 if self._counter > 0:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected