code: def parse_instance_resources(instance: str) -> Tuple[int, int]:
      """Parse (GCP) instance strings to resources"""
      # Assumes that GPU instances have already been parsed
      num_cpus = int(instance.split("-")[-1])
      num_gpus = 0
      return num_cpus, num_gpus
  
file_path: ray/release/ray_release/buildkite/concurrency.py
imports: import csv
  from collections import namedtuple
  from typing import Tuple, Optional, Dict
  from ray_release.bazel import bazel_runfile
  from ray_release.test import Test
  from ray_release.template import load_test_cluster_compute
  from ray_release.logger import logger
label_desc: Use image node_id 2 for calling a global function with example usage: parse_instance_resources(instance) and returns: num_cpus,  num_gpus