code: def _verify_xformers_memory_efficient_compat():
      try:
          from xformers.ops import (
              memory_efficient_attention,
              LowerTriangularMask,
          )  # noqa
      except ImportError:
          raise ImportError(
              "xformers is not installed. Please install it and try again.\n"
              "To install on AWS and Azure, run \n"
              "FORCE_CUDA=1 TORCH_CUDA_ARCH_LIST='8.0'\\\n"
              "pip install -U git+https://git@github.com/fairinternal/xformers.git#egg=xformers\n"
              "To install on FAIR Cluster, run \n"
              "FORCE_CUDA=1 TORCH_CUDA_ARCH_LIST='6.0;7.0'\\\n"
              "pip install -U git+https://git@github.com/fairinternal/xformers.git#egg=xformers\n"
          )
  
imports: import typing
  from einops import rearrange
  import torch
  import torch.nn
  from torch.nn import functional
  from torch.utils.checkpoint import checkpoint
  from xformers import ops
  from .rope import RotaryEmbedding
  from .streaming import StreamingModule
label_desc: Use image node_id 7 for calling a global function with example usage: _verify_xformers_memory_efficient_compat() without return types