code: def get_gpus_summary():
      info = _get_gpu_info()
  
      def info_to_summary(gpuinfo):
          util = gpuinfo.find("utilization").find("gpu_util").text
          mem = gpuinfo.find("fb_memory_usage").find("used").text
  
          return "util: {}, mem {}".format(util, memstr2int(mem))
  
      return " ".join(
          [
              "gpu {} {}".format(
                  gpuinfo.find("minor_number").text,
                  info_to_summary(gpuinfo),
              )
              for gpuinfo in info
          ]
      )
  
file_path: studio/studio/util/gpu_util.py
imports: import os
  import subprocess
  import xml.etree.ElementTree
  from studio.util.util import sixdecode
label_desc: Use image node_id 4 for calling a global function with example usage: get_gpus_summary() and returns: str, str