wcde / sd-webui-kohya-hiresfix

224 stars 9 forks source link

RAM usage is extremely high #7

Closed michael-imbeault closed 7 months ago

michael-imbeault commented 8 months ago

Works fine, but for some reason at the very late stages of finishing the image the VRAM usage blows up (SDXL, 2048x2048) and overflows my 24GB VRAM into RAM, something to the order of 60+ GB. Is this expected behavior?

michael-imbeault commented 8 months ago

Tracking it down, seems it is due to a weird interaction with a set of extensions, trying to find which one(s)

michael-imbeault commented 7 months ago

So this happens only if I try to do 2048x2048, no extensions enabled

michael-imbeault commented 7 months ago

The big shootup in RAM happens at 98% of the image being finished, weirdly

wogam commented 7 months ago

It's not related to this script. This will happen if you create any image at that resolution due to A1111's implementation.