Source code for gigl.distributed.dist_context

from dataclasses import dataclass


@dataclass(frozen=True)
[docs] class DistributedContext: """ GiGL Distributed Context """ # TODO (mkolodner-sc): Investigate adding local rank and local world size # Main Worker's IP Address for RPC communication
[docs] main_worker_ip_address: str
# Rank of machine
[docs] global_rank: int
# Total number of machines
[docs] global_world_size: int