stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

Here’s a better solution(?) to preloading models before generation.

Open softtaco1 opened this issue 1 year ago • 5 comments

Forge recently changed how models are loaded, which was a sensical thing to do as selecting a flux model will take forever to load in the background. My idea is simple.

If it’s possible, make it so the model only loads on “generate” for the first generation, then stores the loaded model for future generations until a different model is used to generate an image— at which point it loads that model instead.

This would speed up Forge significantly in my workflow!

softtaco1 avatar Aug 15 '24 20:08 softtaco1

please ;_;

andy8992 avatar Aug 16 '24 02:08 andy8992

I guess this is what destroyed performance for me, +20-30 sec per generation after update. I don't even care about flux.

rec32 avatar Aug 16 '24 04:08 rec32

I guess this is what destroyed performance for me, +20-30 sec per generation after update. I don't even care about flux.

Why?

xCentral avatar Aug 16 '24 20:08 xCentral

I guess this is what destroyed performance for me, +20-30 sec per generation after update. I don't even care about flux.

Why?

it's not been finetuned to impress me enough for realism etc

it's only benefit in my eyes is the prompt adherence but its so slow for me that it's not worth it, I'll revisit it soon im sure once it's been looked at by others for a while

andy8992 avatar Aug 19 '24 01:08 andy8992

SDXL fits in my 6 gb vram with --unet/clip-in-fp8-e5m2, Flux does not. Also it's slower and not finetuned yet.

rec32 avatar Aug 19 '24 22:08 rec32