code: def _load_gpu_mapping(auppath=DEFAULT_AUPTIMIZER_PATH):
      """
      loads GPU mapping based on environment and config
      """
      config = load_default_env(auppath=auppath)
      check_missing_key(
          config,
          "gpu_mapping",
          "Missing gpu_mapping parameter in aup config file",
          log=logger,
      )
      # need to reverse the type for GPU mapping
      d = json.loads(config["gpu_mapping"])
      return {int(k): str(d[k]) for k in d}
  
file_path: auptimizer/src/aup/EE/Resource/GPUResourceManager.py
imports: import json
  import logging
  import os
  from .CPUResourceManager import CPUResourceManager
  from ...utils import check_missing_key, load_default_env, DEFAULT_AUPTIMIZER_PATH
label_desc: Use image node_id 1 for calling a global function with example usage: _load_gpu_mapping(auppath) and returns: unknown