SlicedAttnProcessor  
Processor for implementing sliced attention.  
Args:
slice_size (`int`, *optional*):
The number of steps to compute attention. Uses as many slices as `attention_head_dim // slice_size`, and
`attention_head_dim` must be a multiple of the `slice_size`.  
SlicedAttnAddedKVProcessor  
Processor for implementing sliced attention with extra learnable key and value matrices for the text encoder.  
Args:
slice_size (`int`, *optional*):
The number of steps to compute attention. Uses as many slices as `attention_head_dim // slice_size`, and
`attention_head_dim` must be a multiple of the `slice_size`.
/Users/nielsrogge/Documents/python_projecten/diffusers/docs/source/en/api/attnprocessor.md