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

Function get_client

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

r"""Get client of python XML RPC server.

()

Source from the content-addressed store, hash-verified

232
233
234def get_client() -> Client:
235 r"""Get client of python XML RPC server."""
236 assert _sd is not None, "please call init_process_group first"
237 return _sd.client
238
239
240def new_group(proc_ranks: List[int]) -> Group:

Callers 6

_bcast_has_gradFunction · 0.85
_bcast_shape_dtypeFunction · 0.85
_bcast_tracer_stateFunction · 0.85
backwardMethod · 0.85
backwardMethod · 0.85
GroupClientProxyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected