class_docstr: A ProcessGroupInitializer for pipeline parallelism.
  
  Args:
      rank (int): The rank of current process
      world_size (int): Size of whole communication world
      config (Config): Running configuration
      data_parallel_size (int): Size of data parallel
      pipeline_parallel_size (int): Size of pipeline parallel
      tensor_parallel_size (int): Size of tensor parallel
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self.data_group_size = self.world_size // self.data_parallel_size
      self.pipeline_stage_size = (
          self.data_group_size // self.pipeline_parallel_size
      )
  
file_path: ColossalAI/colossalai/legacy/context/process_group_initializer/initializer_pipeline.py
imports: from torch import distributed
  from colossalai.legacy.registry import DIST_GROUP_INITIALIZER
  from ..parallel_mode import ParallelMode
  from .process_group_initializer import ProcessGroupInitializer
label_desc: Use image node_id 1 to create a new Initializer_Pipeline object from inherited base classes: ProcessGroupInitializer with example: obj = Initializer_Pipeline()