code: def _test_idist_methods_in_xla_context_in_child_proc(index):
      # We explicitly set _model as _SerialModel
      # then call idist.* methods and check that they give correct values
      from ignite.distributed.utils import _SerialModel, _set_model
  
      _set_model(_SerialModel())
  
      import torch_xla.core.xla_model as xm
  
      _test_distrib_config(
          local_rank=index,
          backend="xla-tpu",
          ws=xm.xrt_world_size(),
          true_device="xla",
          rank=xm.get_ordinal(),
      )
  
imports: import os
  import pytest
  import ignite.distributed
  from ignite.distributed.utils import has_xla_support
  from tests.ignite.distributed.utils import _test_distrib_all_gather, _test_distrib_all_gather_group, _test_distrib_all_reduce, _test_distrib_all_reduce_group, _test_distrib_barrier, _test_distrib_broadcast, _test_distrib_config, _test_distrib_new_group, _test_distrib_one_rank_only, _test_distrib_one_rank_only_with_engine, _test_sync
label_desc: Use image node_id 9 for calling a global function with example usage: _test_idist_methods_in_xla_context_in_child_proc(index) without return types