+ pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True) This is the same as explicitly setting the attention processor to use AttnAddedKVProcessor2_0:   Copied from diffusers.models.attention_processor import AttnAddedKVProcessor2_0