code: def apply(sd_model):
      enable = is_needed(sd_model)
      shared.parallel_processing_allowed = not enable
  
      if enable:
          setup_for_low_vram(sd_model, not shared.cmd_opts.lowvram)
      else:
          sd_model.lowvram = False
  
imports: import torch
  from modules import devices, shared
label_desc: Use image node_id 3 for calling a global function with example usage: apply(sd_model) without return types