code: def _get_autoscaling_config_with_overrides() -> dict:
      """Autoscaling config with memory and gpu annotations."""
      config = _get_basic_autoscaling_config()
      config["available_node_types"]["small-group"]["resources"][
          "memory"
      ] = 300000000
      config["available_node_types"]["small-group"]["resources"][
          "GPU"
      ] = 100
      config["available_node_types"]["small-group"]["resources"][
          "CPU"
      ] = 100
      config["available_node_types"]["gpu-group"]["resources"][
          "GPU"
      ] = 100
      return config
  
imports: import copy
  from pathlib import Path
  import requests
  from typing import Any, Dict, Optional
  from unittest import mock
  import platform
  import pytest
  import yaml
  from ray.autoscaler._private.kuberay.autoscaling_config import _derive_autoscaling_config_from_ray_cr, AutoscalingConfigProducer, _round_up_k8s_quantity
label_desc: Use image node_id 6 for calling a global function with example usage: _get_autoscaling_config_with_overrides() and returns: config