MCPcopy Index your code
hub / github.com/apache/tvm / terminate

Method terminate

python/tvm/rpc/server.py:549–553  ·  view source on GitHub ↗

Terminate the server process

(self)

Source from the content-addressed store, hash-verified

547 self.host = host
548
549 def terminate(self):
550 """Terminate the server process"""
551 if self.proc:
552 self.proc.kill()
553 self.proc = None
554
555 def __del__(self):
556 try:

Callers 6

__del__Method · 0.95
check_server_dropFunction · 0.95
test_rpc_tracker_requestFunction · 0.95

Calls 1

killMethod · 0.45

Tested by 5

check_server_dropFunction · 0.76
test_rpc_tracker_requestFunction · 0.76