code: def all_reduce_min(tensor: torch.Tensor) -> torch.Tensor:
      """
      Wrapper over torch.distributed.all_reduce for performing min
      reduction of tensor over all processes in both distributed /
      non-distributed scenarios.
      """
      return all_reduce_op(tensor, torch.distributed.ReduceOp.MIN)
  
imports: import io
  import tempfile
  from typing import Any, Callable, List, Tuple
  import torch
label_desc: Use image node_id 7 for calling a global function with example usage: all_reduce_min(tensor) and returns: all_reduce_op