code: def run_dist(rank, world_size, port):
      config = {}
      colossalai.launch(
          config=config,
          rank=rank,
          world_size=world_size,
          host="localhost",
          port=port,
          backend="nccl",
      )
      exam_zero_optim_state_dict()
  
file_path: colossalai/tests/test_zero/test_gemini/test_zerooptim_state_dict.py
imports: import pytest
  import torch
  import torch.distributed
  import colossalai
  from colossalai.nn.optimizer import HybridAdam
  from colossalai.testing import parameterize, rerun_if_address_is_in_use, spawn
  from colossalai.utils import set_seed
  from colossalai.zero import GeminiDDP, GeminiOptimizer
  from colossalai.zero.gemini.chunk import search_chunk_configuration
  from tests.kit.model_zoo import model_zoo
label_desc: Use image node_id 2 for calling a global function with example usage: run_dist(rank, world_size, port) without return types