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

Method stop

lmdeploy/pytorch/engine/executor/mp_executor.py:418–421  ·  view source on GitHub ↗

Stop engine loop.

(self)

Source from the content-addressed store, hash-verified

416 return self.collective_rpc('get_input_processor', receiver_mask=1, return_mask=1)[0]
417
418 def stop(self):
419 """Stop engine loop."""
420 if self._prefetch_task is not None:
421 self._prefetch_task.cancel()
422
423 def release(self):
424 """release."""

Callers 2

signal_handlerMethod · 0.95
_main_loopMethod · 0.45

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected