code: def test__native_dist_model_create_dist_nccl_1(
      init_method, get_fixed_dirname, local_rank, world_size
  ):
      if init_method == "FILE":
          init_method = f"file://{get_fixed_dirname('native_dist_model_create_dist_nccl_1')}/shared"
  
      _test__native_dist_model_create_from_backend_dist(
          init_method,
          local_rank,
          local_rank,
          world_size,
          "nccl",
          f"cuda:{local_rank}",
      )
  
      if init_method is None:
          _test__native_dist_model_create_from_backend_slurm(
              local_rank,
              local_rank,
              world_size,
              "nccl",
              f"cuda:{local_rank}",
          )
  
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 20 for calling a global function with example usage: test__native_dist_model_create_dist_nccl_1(init_method, get_fixed_dirname, local_rank, world_size) without return types