code: def restore_base_vae(model):
      global loaded_vae_file
      if (
          base_vae is not None
          and checkpoint_info == model.sd_checkpoint_info
      ):
          print("Restoring base VAE")
          _load_vae_dict(model, base_vae)
          loaded_vae_file = None
      delete_base_vae()
  
imports: import os
  import collections
  from dataclasses import dataclass
  from modules import paths, shared, devices, script_callbacks, sd_models, extra_networks, lowvram, sd_hijack, hashes
  import glob
  from copy import deepcopy
label_desc: Use image node_id 6 for calling a global function with example usage: restore_base_vae(model) without return types