code: def save_on_master(path, obj):
      if dist.get_rank() == 0:
          _LG.info("Saving %s", path)
          torch.save(obj, path)
  
file_path: audio/examples/source_separation/utils/dist_utils.py
imports: import csv
  import logging
  import os
  import types
  import torch
  import torch.distributed
label_desc: Use image node_id 5 for calling a global function with example usage: save_on_master(path, obj) without return types