code: def test_multinode_distrib_gloo_cpu_or_gpu(
      distributed_context_multi_node_gloo,
  ):
      device = idist.device()
      _test_distrib_compute(device)
      _test_distrib_integration(device)
  
imports: import os
  from typing import Tuple
  from unittest.mock import patch
  import numpy
  import pytest
  import sklearn
  import torch
  from sklearn.metrics import precision_recall_curve
  import ignite.distributed
  from ignite.contrib.metrics.precision_recall_curve import PrecisionRecallCurve
  from ignite.engine import Engine
  from ignite.metrics.epoch_metric import EpochMetricWarning
label_desc: Use image node_id 12 for calling a global function with example usage: test_multinode_distrib_gloo_cpu_or_gpu(distributed_context_multi_node_gloo) without return types