mory-efficient scaled
dot-product attention.  CustomDiffusionXFormersAttnProcessor  class diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor  < source > ( train_kv: bool = True train_q_out: bool = False hidden_size: Optional = None cross_attention_dim: Optional = None out_bias: bool = True dropout: float = 0.0 attention_op: Optional = None  )   Parameters   train_kv (bool, defaults to True) —
Whether to newly train the ke