code: def scaled_dot_product_no_mem_attention_forward(
      self, x, context=None, mask=None, **kwargs
  ):
      with torch.backends.cuda.sdp_kernel(
          enable_flash=True,
          enable_math=True,
          enable_mem_efficient=False,
      ):
          return scaled_dot_product_attention_forward(
              self, x, context, mask
          )
  
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 19 for calling a global function with example usage: scaled_dot_product_no_mem_attention_forward(x, context, mask) and returns: scaled_dot_product_attention_forward