code: def get_node_rank():
      return dist.get_rank()
  
file_path: ml-cvnets/utils/ddp_utils.py
imports: import socket
  from typing import Optional
  import torch
  import torch.distributed
  from utils import logger
label_desc: Use image node_id 6 for calling a global function with example usage: get_node_rank() and returns: dist