code: def write_csv_on_master(path, *rows):
      if dist.get_rank() == 0:
          with open(path, "a", newline="") as fileobj:
              writer = csv.writer(fileobj)
              for row in rows:
                  writer.writerow(row)
  
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 6 for calling a global function with example usage: write_csv_on_master(path) without return types