code: def test_object_list_p2p():
      spawn(check_layer, 2)
  
file_path: ColossalAI/tests/test_legacy/test_comm/test_object_list_p2p.py
imports: import pytest
  import torch
  from colossalai.legacy.communication.p2p import recv_backward, recv_forward, send_backward, send_backward_recv_forward, send_forward, send_forward_recv_backward
  from colossalai.legacy.context import ParallelMode
  from colossalai.legacy.core import global_context
  from colossalai.legacy.initialize import launch
  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_object_list_p2p() without return types