code: def cyclic_iter(iter):
      while True:
          for x in iter:
              yield x
  
file_path: colossalai/examples/tutorial/sequence_parallel/data/__init__.py
imports: import torch
  from colossalai.legacy.context import ParallelMode
  from colossalai.legacy.context.parallel_context import ParallelContext
  from colossalai.legacy.core import global_context
  from colossalai.logging import get_dist_logger
  from .datasets.builder import build_train_valid_test_datasets
  from .datasets.data_samplers import build_pretraining_data_loader
label_desc: Use image node_id 1 for calling a global function with example usage: cyclic_iter(iter) without return types