Fix image model preloading with --loadall flag
- Fixed bug where image model wasn't actually being loaded when --loadall was specified - The code only printed messages but never loaded the diffusers pipeline - Now actually loads the Stable Diffusion pipeline using diffusers library - Tries StableDiffusionXLPipeline first, falls back to generic DiffusionPipeline - Moves to GPU if CUDA available, enables attention slicing for memory efficiency - Also fixes second location where image model is the only configured model - Debug command line output was already implemented
Showing
Please
register
or
sign in
to comment