-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bugfix] Renames in 0.15.0 diffusers #3184
Conversation
Imports: `diffusers.models.cross_attention -> diffusers.models.attention_processor` Unions: `AttnProcessor -> AttentionProcessor` Classes: | Old name | New name| | --- | --- | | CrossAttention | Attention | | CrossAttnProcessor | AttnProcessor | | XFormersCrossAttnProcessor | XFormersAttnProcessor | | CrossAttnAddedKVProcessor | AttnAddedKVProcessor | | LoRACrossAttnProcessor | LoRAAttnProcessor | | LoRAXFormersCrossAttnProcessor | LoRAXFormersAttnProcessor | Same names in this class: `SlicedAttnProcessor, SlicedAttnAddedKVProcessor`
@lstein, @blessedcoolant Looks like i'm done with it. |
Great and thanks! As I noted in Discord, I'm going to do a hotfix
2.3.4.post1 release with pinned 0.14 today, and then a 2.3.5 release with
your PR merged to allow time for a pre-release and end-user testing.
Lincoln
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I committed a couple of small fixes, and have a question about the use of self.config
above. Otherwise looks great and passed a bit of testing.
- This is a port of #3184 to the main branch
@damian0815 , @blessedcoolant We'll need a codeowner review on this. Thanks! |
@damian0815 @blessedcoolant We need a codeowner review on this PR. Thanks! |
- Change diffusers dependency to `diffusers~=0.15.0` which *should* enforce non-breaking changes.
- This is a port of #3184 to the main branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. And thanks for the clear explanation of class renaming etc in the PR message!
Link to PR in diffusers repository:
huggingface/diffusers#2691
Imports:
diffusers.models.cross_attention -> diffusers.models.attention_processor
Unions:
AttnProcessor -> AttentionProcessor
Classes:
Also config values no longer sets as attributes of object:
huggingface/diffusers#2849