mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-08 06:29:48 +00:00
get attention optimizations to work
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user