code: def test_sequence():
      spawn(run_test, 4)
  
file_path: colossalai/tests/test_legacy/test_layers/test_sequence/test_sequence.py
imports: import pytest
  import torch
  import torch.distributed
  import colossalai
  from colossalai.legacy.context import ParallelMode
  from colossalai.legacy.core import global_context
  from colossalai.legacy.nn.layer.parallel_sequence import RingAV, RingQK
  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: test_sequence() without return types