code: def parse_script_args():
      parser = argparse.ArgumentParser()
      parser.add_argument("--cpus-per-actor", type=float, default=0.2)
      parser.add_argument("--total-actors", type=int, default=5000)
      parser.add_argument("--num-masters", type=int, default=50)
      parser.add_argument(
          "--no-report", default=False, action="store_true"
      )
      parser.add_argument("--fail", default=False, action="store_true")
      return parser.parse_known_args()
  
file_path: ray/release/benchmarks/distributed/many_nodes_tests/multi_master_test.py
imports: import argparse
  import os
  from time import sleep, perf_counter
  import json
  import ray
label_desc: Use image node_id 3 for calling a global function with example usage: parse_script_args() and returns: parser