code: def list_optimizers(res):
      res.extend(
          [
              SdOptimizationXformers(),
              SdOptimizationSdpNoMem(),
              SdOptimizationSdp(),
              SdOptimizationSubQuad(),
              SdOptimizationV1(),
              SdOptimizationInvokeAI(),
              SdOptimizationDoggettx(),
          ]
      )
  
imports: from __future__ import annotations
  import math
  import psutil
  import platform
  import torch
  from torch import einsum
  from ldm.util import default
  from einops import rearrange
  from modules import shared, errors, devices, sub_quadratic_attention
  from modules.hypernetworks import hypernetwork
  import ldm.modules.attention
  import ldm.modules.diffusionmodules.model
  import sgm.modules.attention
  import sgm.modules.diffusionmodules.model
label_desc: Use image node_id 1 for calling a global function with example usage: list_optimizers(res) without return types