code: def test_device_mesh_from_process_group():
      spawn(check_init_from_process_group, 4)
  
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 5 for calling a global function with example usage: test_device_mesh_from_process_group() without return types