code: def _log_rank0(msg):
      if dist.get_rank() == 0:
          logger.info(msg)
  
file_path: DeepSpeed/deepspeed/runtime/zero/mics_utils.py
imports: import os
  from dataclasses import dataclass
  from typing import List
  import numpy
  import torch
  from torch import Tensor
  from deepspeed import comm
  from deepspeed.accelerator import get_accelerator
  from deepspeed.utils import logger
label_desc: Use image node_id 1 for calling a global function with example usage: _log_rank0(msg) without return types