code: def _gpu_mismatch(run, state):
      if not state.gpus:
          return None
      run_gpus = _run_gpus(run)
      if run_gpus and run_gpus != state.gpus:
          return run_gpus
      return None
  
imports: import logging
  import os
  import signal
  import time
  from guild import lock
  from guild import op_util
  from guild import util
  from guild import var
label_desc: Use image node_id 18 for calling a global function with example usage: _gpu_mismatch(run, state) and returns: None, None, run_gpus