code: def _get_gpu_info():
      # Once https://github.com/pyvista/pyvista/pull/2250 is merged and PyVista
      # does a release, we can triage based on version > 0.33.2
      proc = subprocess.run(
          [sys.executable, "-c", _gpu_cmd],
          check=False,
          capture_output=True,
      )
      out = proc.stdout.decode().strip().replace("\r", "").split("\n")
      if proc.returncode or len(out) != 2:
          return None, None
      return out
  
imports: import atexit
  import json
  import multiprocessing
  import os
  import os.path
  import platform
  import shutil
  import subprocess
  import sys
  import tempfile
  from functools import lru_cache, partial
  from importlib import import_module
  from pathlib import Path
  from urllib.error import URLError
  from urllib.request import urlopen
  from packaging.version import parse
  from ._logging import logger, warn
  from .check import _check_fname, _check_option, _check_qt_version, _validate_type
  from .docs import fill_doc
  from .misc import _pl
label_desc: Use image node_id 12 for calling a global function with example usage: _get_gpu_info() and returns: out, None,  None