code: def _sync_state_for_staged(staged, state):
      state._logged_gpu_mismatch.intersection_update(_run_ids(staged))
      if state._logged_gpu_mismatch:
          log.debug("gpu mismatch: %s", state._logged_gpu_mismatch)
  
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 14 for calling a global function with example usage: _sync_state_for_staged(staged, state) without return types