code: def auto_select_device():
      r"""Auto select device for the current experiment."""
      if cfg.accelerator == "auto":
          if torch.cuda.is_available():
              cfg.accelerator = "cuda"
              cfg.devices = 1
          else:
              cfg.accelerator = "cpu"
              cfg.devices = None
  
imports: import os
  import subprocess
  import numpy
  import torch
  from torch_geometric.graphgym.config import cfg
label_desc: Use image node_id 3 for calling a global function with example usage: auto_select_device() without return types