code: def run_dist(
      rank: int,
      world_size: int,
      port: int,
      num_microbatch: int,
      batch_size: int,
  ):
      colossalai.launch(
          config=dict(),
          rank=rank,
          world_size=world_size,
          port=port,
          host="localhost",
      )
      examine_pp(num_microbatch, batch_size)
  
imports: import copy
  from functools import partial
  from types import MethodType
  import pytest
  import torch
  import torch.distributed
  import torch.nn
  import colossalai
  from colossalai.cluster import ProcessGroupMesh
  from colossalai.interface import OptimizerWrapper
  from colossalai.pipeline.schedule.one_f_one_b import OneForwardOneBackwardSchedule
  from colossalai.pipeline.stage_manager import PipelineStageManager
  from colossalai.testing import rerun_if_address_is_in_use, spawn
  from colossalai.testing.random import seed_all
label_desc: Use image node_id 3 for calling a global function with example usage: run_dist(rank, world_size, port, num_microbatch, batch_size) without return types