Fix issue.

This commit is contained in:
comfyanonymous 2024-08-14 02:51:47 -04:00
parent 50bf66e5c4
commit 33fb282d5c
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ def attention_xformers(q, k, v, heads, mask=None, attn_precision=None, skip_resh
disabled_xformers = True
if disabled_xformers:
return attention_pytorch(q, k, v, heads, mask)
return attention_pytorch(q, k, v, heads, mask, skip_reshape=skip_reshape)
if skip_reshape:
q, k, v = map(