Hi, I appreciate the clever structure of the inference script!
I notice that you only change the forward method in CrossAttention but not in other AttentionBlock when uising the xformers, which is difference from the diffusers. code. And it seems works better than diffusers too.
Hi, I appreciate the clever structure of the inference script!
I notice that you only change the forward method in CrossAttention but not in other AttentionBlock when uising the xformers, which is difference from the diffusers. code. And it seems works better than diffusers too.
Why it works better? Thanks a lot!