Stable Diffusion:Real time prompting with SDXL Turbo and ComfyUI running locally
old.reddit.com
old.reddit.com
Code: https://github.com/discus0434/faster-lcm Blog post (in Japanese): https://zenn.dev/discus0434/articles/12427b887b4082
Have no idea how this can be used but they claim 26fps on a RTX 3090.
I wonder if SDXL Turbo + LCM will be a thing, to get to realtime generation
SDXL Turbo works best (at least from my trials today) with the LCM sampler, producing better results in fewer iterations with it than it does with Euler A.
[0] drop this image on the comfyui canvas: https://comfyanonymous.github.io/ComfyUI_examples/sdturbo/sd...
[1] On a 3080Ti laptop card
The barrier is really being lowered and this is beautiful.
What a great time to be alive.
Someone on Reddit was actually pointing towards a model thats more narrow in scope to SDXL but that was trained by a single guy on an A100, so no reason we can't expect other groups to pop up or maybe a consortium of freelancers from the fine tuning community to maybe get together to start there own base model.
Here's a live demo, but you need to register an account.
Yes, it is "register an account", but it is the lowest friction I know.
Edit: Even thought the UI says sdxl turbo, I notice that the command prompt is saying sdxl.
got prompt
Requested to load SDXLClipModel
Loading 1 new model
Requested to load SDXL
Loading 1 new model
100%|| 1/1 [00:00<00:00, 11.30it/s]
Requested to load AutoencoderKL
Loading 1 new model
Prompt executed in 4.04 seconds
gc collect
Edit 2: More info... I noticed that if I just change the steps, it takes less than a second to generate an image. If I just change the prompt, it takes 3+ seconds. I don't know enough about this to know what that means.(In ComfyUI, this just takes loading all three checkpoints -- turbo, base, and the target one -- and using a ModelMergeSubtract node to subtract base from turbo, to get the "turbocharger" alone, and a ModelMergeAdd to add the turbocharger to the target checkpoint.)
EDIT: When I say "just", I'm not saying this isn't super impressive, just that the change is in quality of low-step-count generations, not making it possible.