 a small decrease in speed.  set_attn_processor  < source > ( processor: Union  )   Parameters   processor (dict of AttentionProcessor or only AttentionProcessor) —
The instantiated processor class or a dictionary of processor classes that will be set as the processor
for all Attention layers.
If processor is a dict, the key needs to define the path to the corresponding cross attention
processor. This is strongly recommended when setting traina