aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hypernetworks
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-13 06:30:33 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-13 06:30:33 +0000
commitac4ccfa1369e74492b467294eab96c3f558b297b (patch)
tree357cc16bc3a82c2c4a07c410e3cd4e83e5e3b6f9 /modules/hypernetworks
parentb717eb7e56a4e620e77a2225e80223c89cb4f0d1 (diff)
downloadstable-diffusion-webui-gfx803-ac4ccfa1369e74492b467294eab96c3f558b297b.tar.gz
stable-diffusion-webui-gfx803-ac4ccfa1369e74492b467294eab96c3f558b297b.tar.bz2
stable-diffusion-webui-gfx803-ac4ccfa1369e74492b467294eab96c3f558b297b.zip
get attention optimizations to work
Diffstat (limited to 'modules/hypernetworks')
-rw-r--r--modules/hypernetworks/hypernetwork.py2
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)