diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-16 12:04:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 12:04:53 +0300 |
commit | 0198eaec455157a7dc1c950708d1ec95bcf4629c (patch) | |
tree | 33d8e22448356c2f7c9455b3af17353ef497bbac /modules/hypernetworks/hypernetwork.py | |
parent | 9d3dd64fe9e95873347710ca1df1f1e88d1908e1 (diff) | |
parent | 14cf434bc36d0ef31f31d4c6cd2bd15d7857d5c8 (diff) |
Merge pull request #11757 from AUTOMATIC1111/sdxl
SD XL support
Diffstat (limited to 'modules/hypernetworks/hypernetwork.py')
-rw-r--r-- | modules/hypernetworks/hypernetwork.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py index 79670b87..c4821d21 100644 --- a/modules/hypernetworks/hypernetwork.py +++ b/modules/hypernetworks/hypernetwork.py @@ -378,7 +378,7 @@ def apply_hypernetworks(hypernetworks, context, layer=None): return context_k, context_v
-def attention_CrossAttention_forward(self, x, context=None, mask=None):
+def attention_CrossAttention_forward(self, x, context=None, mask=None, **kwargs):
h = self.heads
q = self.to_q(x)
|