MCPcopy Create free account
hub / github.com/apache/tvm / terminate

Method terminate

python/tvm/rpc/proxy.py:653–658  ·  view source on GitHub ↗

Terminate the server process

(self)

Source from the content-addressed store, hash-verified

651 self.host = host
652
653 def terminate(self):
654 """Terminate the server process"""
655 if self.proc:
656 logging.info("Terminating Proxy Server...")
657 self.proc.kill()
658 self.proc = None
659
660 def __del__(self):
661 try:

Callers 5

start_proxy_serverFunction · 0.95
__del__Method · 0.95
check_server_dropFunction · 0.95

Calls 2

infoMethod · 0.80
killMethod · 0.45

Tested by 4

start_proxy_serverFunction · 0.76
check_server_dropFunction · 0.76