code: def try_import_rapids_cuml():
      try:
          import cuml
      except ImportError:
          raise ImportError(
              "`import cuml` failed.\n"
              "Ensure that you have a GPU and CUDA installation, and then install RAPIDS.\n"
              "You will likely need to create a fresh conda environment based off of a RAPIDS install, and then install AutoGluon on it.\n"
              "RAPIDS is highly experimental within AutoGluon, and we recommend to only use RAPIDS if you are an advanced user / developer.\n"
              "Please refer to RAPIDS install instructions for more information: https://rapids.ai/start.html#get-rapids"
          )
  
file_path: autogluon/common/src/autogluon/common/utils/try_import.py
imports: import logging
  import platform
  import sys
  from types import ModuleType
  from ..version import __version__
label_desc: Use image node_id 11 for calling a global function with example usage: try_import_rapids_cuml() without return types