code: def _test__native_dist_model_create_from_context_no_local_rank():
      if "LOCAL_RANK" in os.environ:
          del os.environ["LOCAL_RANK"]
  
      from ignite.distributed.comp_models.base import ComputationModel
  
      if ComputationModel._ext_local_rank is not None:
          ComputationModel._ext_local_rank = None
  
      with pytest.warns(
          UserWarning,
          match=r"Local rank information for native distributed setting will be initialized",
      ):
          _NativeDistModel.create_from_context()
  
imports: import os
  import pytest
  import torch
  import torch.distributed
  from ignite.distributed.comp_models import has_native_dist_support
label_desc: Use image node_id 11 for calling a global function with example usage: _test__native_dist_model_create_from_context_no_local_rank() without return types