dvruette/sd-webui-fabric

Negative weights not passed to weighted attention

Closed this issue · 1 comments

ssitu commented

I was looking through the code and saw that the negative weights ws are not passed to the weighted attention function. Is this correct?

out_uncond = weighted_attention(attn1, attn1._fabric_old_forward, x_uncond, ctx_uncond, **kwargs) # (n_uncond, seq, dim)

You're absolutely right, nice catch!