gpustack / stable-diffusion-v2-1-turbo-GGUF

huggingface.co
Total runs: 1.6K
24-hour runs: 0
7-day runs: 51
30-day runs: 597
Model's Last Updated: November 21 2024
text-to-image

Introduction of stable-diffusion-v2-1-turbo-GGUF

Model Details of stable-diffusion-v2-1-turbo-GGUF

stable-diffusion-v2-1-turbo-GGUF

Model creator : Stability AI
Original model : sd-turbo
GGUF quantization : based on stable-diffusion.cpp ac54e that patched by llama-box.


SD-Turbo Model Card

row01 SD-Turbo is a fast generative text-to-image model that can synthesize photorealistic images from a text prompt in a single network evaluation. We release SD-Turbo as a research artifact, and to study small, distilled text-to-image models. For increased quality and prompt understanding, we recommend SDXL-Turbo .

Please note: For commercial use, please refer to https://stability.ai/license .

Model Details
Model Description

SD-Turbo is a distilled version of Stable Diffusion 2.1 , trained for real-time synthesis. SD-Turbo is based on a novel training method called Adversarial Diffusion Distillation (ADD) (see the technical report ), which allows sampling large-scale foundational image diffusion models in 1 to 4 steps at high image quality. This approach uses score distillation to leverage large-scale off-the-shelf image diffusion models as a teacher signal and combines this with an adversarial loss to ensure high image fidelity even in the low-step regime of one or two sampling steps.

  • Developed by: Stability AI
  • Funded by: Stability AI
  • Model type: Generative text-to-image model
  • Finetuned from model: Stable Diffusion 2.1
Model Sources

For research purposes, we recommend our generative-models Github repository ( https://github.com/Stability-AI/generative-models ), which implements the most popular diffusion frameworks (both training and inference).

Evaluation

comparison1 comparison2 The charts above evaluate user preference for SD-Turbo over other single- and multi-step models. SD-Turbo evaluated at a single step is preferred by human voters in terms of image quality and prompt following over LCM-Lora XL and LCM-Lora 1.5.

Note: For increased quality, we recommend the bigger version SDXL-Turbo . For details on the user study, we refer to the research paper .

Uses
Direct Use

The model is intended for both non-commercial and commercial usage. Possible research areas and tasks include

  • Research on generative models.
  • Research on real-time applications of generative models.
  • Research on the impact of real-time generative models.
  • Safe deployment of models which have the potential to generate harmful content.
  • Probing and understanding the limitations and biases of generative models.
  • Generation of artworks and use in design and other artistic processes.
  • Applications in educational or creative tools.

For commercial use, please refer to https://stability.ai/membership .

Excluded uses are described below.

Diffusers
pip install diffusers transformers accelerate --upgrade
  • Text-to-image :

SD-Turbo does not make use of guidance_scale or negative_prompt , we disable it with guidance_scale=0.0 . Preferably, the model generates images of size 512x512 but higher image sizes work as well. A single step is enough to generate high quality images.

from diffusers import AutoPipelineForText2Image
import torch

pipe = AutoPipelineForText2Image.from_pretrained("stabilityai/sd-turbo", torch_dtype=torch.float16, variant="fp16")
pipe.to("cuda")

prompt = "A cinematic shot of a baby racoon wearing an intricate italian priest robe."
image = pipe(prompt=prompt, num_inference_steps=1, guidance_scale=0.0).images[0]
  • Image-to-image :

When using SD-Turbo for image-to-image generation, make sure that num_inference_steps * strength is larger or equal to 1. The image-to-image pipeline will run for int(num_inference_steps * strength) steps, e.g. 0.5 * 2.0 = 1 step in our example below.

from diffusers import AutoPipelineForImage2Image
from diffusers.utils import load_image
import torch

pipe = AutoPipelineForImage2Image.from_pretrained("stabilityai/sd-turbo", torch_dtype=torch.float16, variant="fp16")
pipe.to("cuda")

init_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png").resize((512, 512))
prompt = "cat wizard, gandalf, lord of the rings, detailed, fantasy, cute, adorable, Pixar, Disney, 8k"

image = pipe(prompt, image=init_image, num_inference_steps=2, strength=0.5, guidance_scale=0.0).images[0]
Out-of-Scope Use

The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model. The model should not be used in any way that violates Stability AI's Acceptable Use Policy .

Limitations and Bias
Limitations
  • The quality and prompt alignment is lower than that of SDXL-Turbo .
  • The generated images are of a fixed resolution (512x512 pix), and the model does not achieve perfect photorealism.
  • The model cannot render legible text.
  • Faces and people in general may not be generated properly.
  • The autoencoding part of the model is lossy.
Recommendations

The model is intended for both non-commercial and commercial usage.

How to Get Started with the Model

Check out https://github.com/Stability-AI/generative-models

Runs of gpustack stable-diffusion-v2-1-turbo-GGUF on huggingface.co

1.6K
Total runs
0
24-hour runs
4
3-day runs
51
7-day runs
597
30-day runs

More Information About stable-diffusion-v2-1-turbo-GGUF huggingface.co Model

stable-diffusion-v2-1-turbo-GGUF huggingface.co

stable-diffusion-v2-1-turbo-GGUF huggingface.co is an AI model on huggingface.co that provides stable-diffusion-v2-1-turbo-GGUF's model effect (), which can be used instantly with this gpustack stable-diffusion-v2-1-turbo-GGUF model. huggingface.co supports a free trial of the stable-diffusion-v2-1-turbo-GGUF model, and also provides paid use of the stable-diffusion-v2-1-turbo-GGUF. Support call stable-diffusion-v2-1-turbo-GGUF model through api, including Node.js, Python, http.

stable-diffusion-v2-1-turbo-GGUF huggingface.co Url

https://huggingface.co/gpustack/stable-diffusion-v2-1-turbo-GGUF

gpustack stable-diffusion-v2-1-turbo-GGUF online free

stable-diffusion-v2-1-turbo-GGUF huggingface.co is an online trial and call api platform, which integrates stable-diffusion-v2-1-turbo-GGUF's modeling effects, including api services, and provides a free online trial of stable-diffusion-v2-1-turbo-GGUF, you can try stable-diffusion-v2-1-turbo-GGUF online for free by clicking the link below.

gpustack stable-diffusion-v2-1-turbo-GGUF online free url in huggingface.co:

https://huggingface.co/gpustack/stable-diffusion-v2-1-turbo-GGUF

stable-diffusion-v2-1-turbo-GGUF install

stable-diffusion-v2-1-turbo-GGUF is an open source model from GitHub that offers a free installation service, and any user can find stable-diffusion-v2-1-turbo-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of stable-diffusion-v2-1-turbo-GGUF install, users can directly use stable-diffusion-v2-1-turbo-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

stable-diffusion-v2-1-turbo-GGUF install url in huggingface.co:

https://huggingface.co/gpustack/stable-diffusion-v2-1-turbo-GGUF

Url of stable-diffusion-v2-1-turbo-GGUF

stable-diffusion-v2-1-turbo-GGUF huggingface.co Url

Provider of stable-diffusion-v2-1-turbo-GGUF huggingface.co

gpustack
ORGANIZATIONS

Other API from gpustack

huggingface.co

Total runs: 65.6K
Run Growth: 29.3K
Growth Rate: 44.41%
Updated:October 31 2024
huggingface.co

Total runs: 1.6K
Run Growth: 1.4K
Growth Rate: 95.89%
Updated:September 11 2026