code: def start_ray(conn, address, version=1):
      conn.sudo("rm -rf *.py")
      conn.sudo("rm -rf mesh_transformer")
  
      for i in glob.glob("*.py"):
          conn.put(i, "")
  
      conn.run("mkdir mesh_transformer -p")
  
      for i in glob.glob("mesh_transformer/*.py"):
          conn.put(i, "mesh_transformer/")
  
      conn.sudo("python3 setup.py install", hide=True)
  
      if version == 2:
          conn.put("scripts/init_ray_v2.sh", "/tmp/ray-tpu.sh")
      else:
          conn.put("scripts/init_ray.sh", "/tmp/ray-tpu.sh")
      conn.sudo("chmod +x /tmp/ray-tpu.sh", hide=True)
      conn.sudo("/tmp/ray-tpu.sh", hide=True)
      try:
          conn.run("ray stop -f", hide=True)
      except:
          pass
  
      time.sleep(1)
  
      conn.run(
          f"TCMALLOC_LARGE_ALLOC_REPORT_THRESHOLD={32 * 1024**3} ray start --address={address} --resources='"
          + '{"tpu": 1}\' --include-dashboard False',
          hide=True,
      )
  
file_path: mesh-transformer-jax/ray_tpu.py
imports: import functools
  import os
  import subprocess
  import time
  import glob
  import requests
  from fabric import Connection
label_desc: Use image node_id 8 for calling a global function with example usage: start_ray(conn, address, version) without return types