MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / shutdown

Method shutdown

tensorrt_llm/executor/rpc_worker.py:101–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 super().setup_engine()
100
101 def shutdown(self):
102 logger_debug(f"[worker] RpcWorker #{mpi_rank()} is shutting down",
103 color="yellow")
104 self.shutdown_event.set()
105 super().shutdown()
106 logger_debug(f"[worker] RpcWorker #{mpi_rank()} is shutdown",
107 color="yellow")
108
109 def start(self):
110 pass

Callers 7

__exit__Method · 0.95
command_harnessMethod · 0.45
commandMethod · 0.45
commandMethod · 0.45
commandMethod · 0.45
commandMethod · 0.45
commandMethod · 0.45

Calls 3

logger_debugFunction · 0.90
mpi_rankFunction · 0.50
setMethod · 0.45

Tested by

no test coverage detected