code: def check_init_from_process_group(rank, world_size, port):
      colossalai.launch(
          config={},
          rank=rank,
          world_size=world_size,
          host="localhost",
          port=port,
          backend="nccl",
      )
  
file_path: ColossalAI/tests/test_device/test_device_mesh.py
imports: import pytest
  import torch
  import torch.distributed
  import colossalai
  from colossalai.device.device_mesh import DeviceMesh
  from colossalai.testing import rerun_if_address_is_in_use, spawn
label_desc: Use image node_id 4 for calling a global function with example usage: check_init_from_process_group(rank, world_size, port) without return types