blessedcoolant
|
f46bbaf8c4
|
fix: make ip-adapter weights not be optional
|
2024-04-16 21:12:45 +05:30 |
|
blessedcoolant
|
d27907cc6d
|
fix: entire reshaping block needs to be skipped
|
2024-04-16 04:29:53 +05:30 |
|
blessedcoolant
|
a148c4322c
|
fix: IP Adapter weights being incorrectly applied
They were being overwritten rather than being appended
|
2024-04-16 04:10:41 +05:30 |
|
blessedcoolant
|
5f6c6abf9c
|
chore: change IPAdapterAttentionWeights to a dataclass
|
2024-04-15 23:38:55 +05:30 |
|
blessedcoolant
|
8426f1e7b2
|
fix(experimental): Possible fix for conflict with regional embed length mismatch
Pushing this so people can test it out and see if this needs to be handled in a different way.
|
2024-04-14 12:19:19 +05:30 |
|
blessedcoolant
|
9cb0f63c44
|
refactor: fix a bunch of type issues in custom_attention
|
2024-04-13 14:17:25 +05:30 |
|
blessedcoolant
|
d4393e4170
|
chore: linter fixes
|
2024-04-13 12:14:45 +05:30 |
|
blessedcoolant
|
6ea183f0d4
|
wip: Initial Implementation IP Adapter Style & Comp Modes
|
2024-04-13 11:09:45 +05:30 |
|
Ryan Dick
|
0c6dd32ece
|
(minor) Fix IP-Adapter conditional logic in CustomAttnProcessor2_0.
|
2024-04-09 15:06:51 -04:00 |
|
Ryan Dick
|
0bdbfd4d1d
|
Add support for IP-Adapter masks.
|
2024-04-09 15:06:51 -04:00 |
|
Ryan Dick
|
2e27ed5f3d
|
Pass IP-Adapter scales through the cross_attn_kwargs pathway, since they are the same for all attention layers. This change also helps to prepare for adding IP-Adapter region masks.
|
2024-04-09 15:06:51 -04:00 |
|
Ryan Dick
|
75ef473748
|
Pull the upstream changes from diffusers' AttnProcessor2_0 into CustomAttnProcessor2_0. This fixes a bug in CustomAttnProcessor2_0 that was being triggered when peft was not installed. The bug was present in a block of code that was previously copied from diffusers. The bug seems to have been introduced during diffusers' migration to PEFT for their LoRA handling. The upstream bug was fixed in 531e719163 .
|
2024-04-09 08:12:12 -04:00 |
|
Ryan Dick
|
a78df8123f
|
Update the diffusion logic to use the new regional prompting feature.
|
2024-04-09 08:12:12 -04:00 |
|
Ryan Dick
|
31c456c1e6
|
Update CustomAttention to support both IP-Adapters and regional prompting.
|
2024-04-09 08:12:12 -04:00 |
|
Ryan Dick
|
2ce79b61f5
|
Initialize a RegionalPromptAttnProcessor2_0 class by copying AttnProcessor2_0 from diffusers.
|
2024-04-09 08:12:12 -04:00 |
|