class_docstr: dist config
class_docstr_tok: ["dist","config"]
code: def __init__(self, MPI):
      self.comm = MPI.COMM_WORLD
      self.rank = self.comm.Get_rank()
      self.nrank = self.comm.Get_size()
  
file_path: PGL/pgl/distributed/launch.py
imports: import os
  import argparse
  import threading
  import multiprocessing
  import time
  from paddle.distributed.fleet.base.private_helper_function import wait_server_ready
  from pgl.utils.logger import log
  from pgl.distributed.dist_graph import DistGraphServer, DistGraphClient
  from pgl.distributed import helper
label_desc: Use image node_id 1 to create a new Dist object from inherited base classes: object with example: obj = Dist(MPI)