code: def launcher_main(cross_rank, chief_ip):
      if cross_rank == 0:
          subprocess.run(
              [
                  "ray",
                  "start",
                  "--head",
                  "--dashboard-host",
                  "0.0.0.0",
                  "--disable-usage-stats",
              ],
              check=True,
          )
      else:
          subprocess.run(
              ["ray", "start", f"--address={chief_ip}:6379"], check=True
          )
      while True:
          time.sleep(1)
  
imports: import logging
  import subprocess
  import sys
  import time
  import determined
label_desc: Use image node_id 1 for calling a global function with example usage: launcher_main(cross_rank, chief_ip) without return types