code: def test_cv2_cuda_ops(self):
      print_config()
      ngpus_per_node = torch.cuda.device_count()
      port = np.random.randint(10000, 20000)
      torch.multiprocessing.spawn(
          main_worker,
          nprocs=ngpus_per_node,
          args=(ngpus_per_node, port),
      )
  
file_path: MONAI/tests/test_cv2_dist.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  import torch.distributed
  from torch.cuda.amp import autocast
  from monai.config.deviceconfig import print_config
  from tests.utils import skip_if_no_cuda
label_desc: Use image node_id 1 for calling the TestCV2Dist obj's underlying member method code with example usage: obj.test_cv2_cuda_ops() without return types