code: def _test__xla_dist_model_create_from_context_in_child_proc(index):
      model = _XlaDistModel.create_from_context()
  
      assert model.backend() == "xla-tpu"
  
      import torch_xla.core.xla_model as xm
  
      _assert_model(
          model,
          {
              "device": xm.xla_device(),
              "local_rank": index,
              "rank": xm.get_ordinal(),
              "world_size": xm.xrt_world_size(),
              "node_index": 0,
              "nnodes": 1,
              "nproc_per_node": xm.xrt_world_size(),
          },
      )
  
file_path: ignite/tests/ignite/distributed/comp_models/test_xla.py
imports: import os
  import pytest
  import torch
  from ignite.distributed.comp_models import has_xla_support
label_desc: Use image node_id 8 for calling a global function with example usage: _test__xla_dist_model_create_from_context_in_child_proc(index) without return types