code: def test__hvd_dist_model_spawn_cuda():
      num_workers_per_machine = torch.cuda.device_count()
      _HorovodDistModel.spawn(
          _test_dist_spawn_fn,
          args=("horovod", num_workers_per_machine, "cuda"),
          kwargs_dict={},
          nproc_per_node=num_workers_per_machine,
          use_gloo=True,
      )
  
file_path: ignite/tests/ignite/distributed/comp_models/test_horovod.py
imports: import pytest
  import torch
  from ignite.distributed.comp_models import has_hvd_support
label_desc: Use image node_id 17 for calling a global function with example usage: test__hvd_dist_model_spawn_cuda() without return types