Skip to content

Conversation

@AndPuQing
Copy link

According to the commit huggingface/diffusers@e828232#diff-852d5806e41c100ee99c68c9e1059bfad9c0177e6f4416f0faf5a2f2a6a64067 CrossAttention has renamed to Attention

And some forward parameters have changed.

Related: #2

Note: This PR is provided as a code snippet for reference and is not intended to be merged

@WindVChen WindVChen marked this pull request as ready for review January 17, 2024 15:16
@WindVChen
Copy link
Owner

Hi @AndPuQing,

Thank you for submitting this excellent PR! I've thoroughly tested the code, and it seamlessly integrates with the latest diffusers (0.25.0).

However, during my testing, I observed a significant disparity between the generated adversarial examples before and after, as illustrated below (left represents the original, while the right depicts the adapted version). Could you provide any insight into this observed difference?

Your cooperation is greatly appreciated.

@zhangfeng0617 zhangfeng0617 mentioned this pull request Jul 13, 2024
@AndPuQing AndPuQing closed this by deleting the head repository May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants