code: def test_sync_no_dist():
      from ignite.distributed.comp_models import _SerialModel
  
      _test_sync(_SerialModel)
  
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 2 for calling a global function with example usage: test_sync_no_dist() without return types