code: def parse_script_args():
      parser = argparse.ArgumentParser()
      parser.add_argument("--cpus-per-actor", type=float, default=0.2)
      parser.add_argument(
          "--total-actors", nargs="+", type=int, required=True
      )
      parser.add_argument(
          "--no-report", default=False, action="store_true"
      )
      parser.add_argument(
          "--no-wait", default=False, action="store_true"
      )
      return parser.parse_known_args()
  
file_path: ray/release/benchmarks/distributed/many_nodes_tests/actor_test.py
imports: import argparse
  import os
  import math
  from time import sleep, perf_counter
  import json
  import ray
  import psutil
label_desc: Use image node_id 2 for calling a global function with example usage: parse_script_args() and returns: parser