MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / get_mm_server_addr

Function get_mm_server_addr

imperative/python/megengine/distributed/group.py:228–231  ·  view source on GitHub ↗

r"""Get master_ip and port of C++ mm_server.

()

Source from the content-addressed store, hash-verified

226
227
228def get_mm_server_addr() -> Tuple[str, int]:
229 r"""Get master_ip and port of C++ mm_server."""
230 assert _sd is not None, "please call init_process_group first"
231 return _sd.master_ip, _sd.mm_server_port
232
233
234def get_client() -> Client:

Callers 6

collective_commFunction · 0.85
remote_sendFunction · 0.85
remote_recvFunction · 0.85
_remote_send_nobackwardFunction · 0.85
_remote_recv_nobackwardFunction · 0.85
compileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected