ill split the input tensor in slices, to compute attention
in several steps. This is useful to save some memory in exchange for a small speed decrease.

set_attn_processor

<
source
>
(
processor: typing.Union[diffusers.models.cross_attention.CrossAttnProcessor, diffusers.models.cross_attention.XFormersCrossAttnProcessor, diffusers.models.cross_attention.SlicedAttnProcessor, diffusers.models.cross_attention.CrossAttnAddedKVProcessor, diffusers.