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

Function _proxy_server

python/tvm/rpc/proxy.py:481–502  ·  view source on GitHub ↗
(
    listen_sock,
    listen_port,
    web_port,
    timeout_client,
    timeout_server,
    tracker_addr,
    index_page,
    resource_files,
)

Source from the content-addressed store, hash-verified

479
480
481def _proxy_server(
482 listen_sock,
483 listen_port,
484 web_port,
485 timeout_client,
486 timeout_server,
487 tracker_addr,
488 index_page,
489 resource_files,
490):
491 asyncio.set_event_loop(asyncio.new_event_loop())
492 handler = ProxyServerHandler(
493 listen_sock,
494 listen_port,
495 web_port,
496 timeout_client,
497 timeout_server,
498 tracker_addr,
499 index_page,
500 resource_files,
501 )
502 handler.run()
503
504
505class PopenProxyServerState:

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
ProxyServerHandlerClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…