dvruette / sd-webui-fabric

MIT License
403 stars 23 forks source link

Negative weights not passed to weighted attention #26

Closed ssitu closed 1 year ago

ssitu commented 1 year ago

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

https://github.com/dvruette/sd-webui-fabric/blob/8529e075c7ea3bd081de7f0d456cf6ec5ca1e3e4/scripts/patching.py#L186

dvruette commented 1 year ago

You're absolutely right, nice catch!