code: def test_idist_collective_ops_no_dist():
      _test_distrib_all_reduce("cpu")
      _test_distrib_all_gather("cpu")
      _test_distrib_barrier("cpu")
      _test_distrib_broadcast("cpu")
      _test_distrib_new_group("cpu")
  
      if torch.cuda.device_count() > 1:
          _test_distrib_all_reduce("cuda")
          _test_distrib_all_gather("cuda")
          _test_distrib_barrier("cuda")
          _test_distrib_broadcast("cuda")
          _test_distrib_new_group("cuda")
  
file_path: ignite/tests/ignite/distributed/utils/test_serial.py
imports: import torch
  import ignite.distributed
  from ignite.distributed.comp_models.base import _torch_version_le_112
  from tests.ignite.distributed.utils import _sanity_check, _test_distrib__get_max_length, _test_distrib_all_gather, _test_distrib_all_reduce, _test_distrib_barrier, _test_distrib_broadcast, _test_distrib_new_group, _test_sync
label_desc: Use image node_id 5 for calling a global function with example usage: test_idist_collective_ops_no_dist() without return types