stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

Support SDXL Turbo

Open walking-octopus opened this issue 1 year ago • 4 comments

I'm not aware what changes in the architecture were made, but Stability did release a new model promising significant speed-ups in sampling time..

https://stability.ai/news/stability-ai-sdxl-turbo https://huggingface.co/stabilityai/sdxl-turbo https://stability.ai/research/adversarial-diffusion-distillation

walking-octopus avatar Nov 30 '23 17:11 walking-octopus

@walking-octopus SD-Turbo already works very well: https://huggingface.co/stabilityai/sd-turbo/tree/main Just tried it with CFG 1 and one sample step. Img2Img works very well, too (had the best results with around 5 sample steps and CFG 1). https://github.com/leejet/stable-diffusion.cpp/discussions/112

Jonathhhan avatar Dec 15 '23 00:12 Jonathhhan

@Jonathhhan i think this request is for SDXL-Turbo, not SD-Turbo.

But there is already a pull request in the making: https://github.com/leejet/stable-diffusion.cpp/pull/117

h3ndrik avatar Dec 15 '23 17:12 h3ndrik

@h3ndrik true and I know (maybe my comment was a little off-topic).

To quote from the link I posted:

SDXL-Turbo is currently not supported. The supported version at the moment is SD-Turbo. You can directly download safetensors from https://huggingface.co/stabilityai/sd-turbo and use it. I'm currently in the process of attempting to add support for SDXL. Once SDXL is supported, SDXL-Turbo will also be supported.

Jonathhhan avatar Dec 15 '23 17:12 Jonathhhan

@walking-octopus SDXL Turbo is now supported.

leejet avatar Jan 01 '24 08:01 leejet