def METHOD_NAME() -> core.DistributedContext:
    return core.DistributedContext(
        rank=self.rank,
        size=self.size,
        local_rank=self.local_rank,
        local_size=self.local_size,
        cross_rank=self.cross_rank,
        cross_size=self.cross_size,
        chief_ip="localhost",
    )