code: def initialize():
      from modules import initialize_util
  
      initialize_util.fix_torch_version()
      initialize_util.fix_asyncio_event_loop_policy()
      initialize_util.validate_tls_options()
      initialize_util.configure_sigint_handler()
      initialize_util.configure_opts_onchange()
  
      from modules import modelloader
  
      modelloader.cleanup_models()
  
      from modules import sd_models
  
      sd_models.setup_model()
      startup_timer.record("setup SD model")
  
      from modules.shared_cmd_options import cmd_opts
  
      from modules import codeformer_model
  
      warnings.filterwarnings(
          action="ignore",
          category=UserWarning,
          module="torchvision.transforms.functional_tensor",
      )
      codeformer_model.setup_model(cmd_opts.codeformer_models_path)
      startup_timer.record("setup codeformer")
  
      from modules import gfpgan_model
  
      gfpgan_model.setup_model(cmd_opts.gfpgan_models_path)
      startup_timer.record("setup gfpgan")
  
      initialize_rest(reload_script_modules=False)
  
file_path: stable-diffusion-webui/modules/initialize.py
imports: import importlib
  import logging
  import sys
  import warnings
  from threading import Thread
  from modules.timer import startup_timer
label_desc: Use image node_id 3 for calling a global function with example usage: initialize() without return types