code: def test_check_idist_parallel_torch_launch_n_procs_native(
      init_method, dirname, exec_filepath, backend
  ):
      if init_method == "FILE":
          init_method = f"file://{dirname}/shared"
  
      np = torch.cuda.device_count() if torch.cuda.is_available() else 4
      _test_check_idist_parallel_torch_launch(
          init_method, exec_filepath, backend, np
      )
  
imports: import os
  import subprocess
  import sys
  from pathlib import Path
  import pytest
  import torch
  from packaging.version import Version
  import ignite.distributed
  from ignite.distributed.utils import has_hvd_support, has_native_dist_support, has_xla_support
label_desc: Use image node_id 6 for calling a global function with example usage: test_check_idist_parallel_torch_launch_n_procs_native(init_method, dirname, exec_filepath, backend) without return types