code: def setup_cluster():
      from ray.cluster_utils import AutoscalingCluster
  
      cluster = AutoscalingCluster(
          head_resources={"CPU": 0},
          worker_node_types={
              "type-1": {
                  "resources": {"CPU": 4},
                  "node_config": {},
                  "min_workers": 0,
                  "max_workers": 10,
              },
          },
          idle_timeout_minutes=1 * 0.1,
      )
  
      cluster.start(_system_config={"enable_autoscaler_v2": True})
      return cluster
  
file_path: ray/release/autoscaling_tests/run.py
imports: import subprocess
  import click
  import json
  import os
  import time
  from logger import logger
label_desc: Use image node_id 1 for calling a global function with example usage: setup_cluster() and returns: cluster