ljleb / sd-webui-freeu

a1111 implementation of https://github.com/ChenyangSi/FreeU
MIT License
303 stars 16 forks source link

SDXL support #1

Closed lendrick closed 1 year ago

lendrick commented 1 year ago

It doesn't look like it's running for SDXL. Any chance it could support that as well?

lendrick commented 1 year ago

Also, thanks for doing this so quickly! :)

lendrick commented 1 year ago

Here's a quick and dirty patch. It duplicates a ton of code, but it works:

https://pastebin.com/7E57HEZp

ljleb commented 1 year ago

Thanks, working on it. Should push a fix shortly.

ljleb commented 1 year ago

I'm not happy with all that copy pasted code but I guess it's not really practical to monkey patch it either. There may be a better solution but we'll go with that for now