Instructions to use stabilityai/sdxl-turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/sdxl-turbo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
When will a 1024x1024 turbo model will be out?
#8
by lucasjin - opened
Hi, when will a 1024x1024 model out?
where do you add that, sorry, pls give step-by-step, thx.
I just used the python code in this model card here : https://huggingface.co/stabilityai/sdxl-turbo#diffusers, you can replace the last line of code in the "Text-to-image" code.
Whit more generations, i saw that it depend on what you generate, but the model may be better in 512 x 512 for some cases.
this lloks not good enough
I have trid some examples, and i find that in 1024x1024, it always draw two person when i just input "an amine boy in the room".
