shuttleai / shuttle-3-diffusion-fp8

huggingface.co
Total runs: 316
24-hour runs: 0
7-day runs: 12
30-day runs: 12
Model's Last Updated: Novembro 13 2024
text-to-image

Introduction of shuttle-3-diffusion-fp8

Model Details of shuttle-3-diffusion-fp8

Shuttle 3 Diffusion

Model Variants

These model variants provide different precision levels and formats optimized for diverse hardware capabilities and use cases

Shuttle 3 Diffusion is a text-to-image AI model designed to create detailed and diverse images from textual prompts in just 4 steps. It offers enhanced performance in image quality, typography, understanding complex prompts, and resource efficiency.

image/png

You can try out the model through a website at https://chat.shuttleai.com/images

Using the model via API

You can use Shuttle 3 Diffusion via API through ShuttleAI

Using the model with 🧨 Diffusers

Install or upgrade diffusers

pip install -U diffusers

Then you can use DiffusionPipeline to run the model

import torch
from diffusers import DiffusionPipeline

# Load the diffusion pipeline from a pretrained model, using bfloat16 for tensor types.
pipe = DiffusionPipeline.from_pretrained(
    "shuttleai/shuttle-3-diffusion", torch_dtype=torch.bfloat16
).to("cuda")

# Uncomment the following line to save VRAM by offloading the model to CPU if needed.
# pipe.enable_model_cpu_offload()

# Uncomment the lines below to enable torch.compile for potential performance boosts on compatible GPUs.
# Note that this can increase loading times considerably.
# pipe.transformer.to(memory_format=torch.channels_last)
# pipe.transformer = torch.compile(
#     pipe.transformer, mode="max-autotune", fullgraph=True
# )

# Set your prompt for image generation.
prompt = "A cat holding a sign that says hello world"

# Generate the image using the diffusion pipeline.
image = pipe(
    prompt,
    height=1024,
    width=1024,
    guidance_scale=3.5,
    num_inference_steps=4,
    max_sequence_length=256,
    # Uncomment the line below to use a manual seed for reproducible results.
    # generator=torch.Generator("cpu").manual_seed(0)
).images[0]

# Save the generated image.
image.save("shuttle.png")

To learn more check out the diffusers documentation

Using the model with ComfyUI

To run local inference with Shuttle 3 Diffusion using ComfyUI , you can use this safetensors file .

Comparison to other models

Shuttle 3 Diffusion can produce images better images than Flux Dev in just four steps, while being licensed under Apache 2. image/png More examples

Training Details

Shuttle 3 Diffusion uses Flux.1 Schnell as its base. It can produce images similar to Flux Dev or Pro in just 4 steps, and it is licensed under Apache 2. The model was partially de-distilled during training. When used beyond 10 steps, it enters "refiner mode," enhancing image details without altering the composition. We overcame the limitations of the Schnell-series models by employing a special training method, resulting in improved details and colors.

Runs of shuttleai shuttle-3-diffusion-fp8 on huggingface.co

316
Total runs
0
24-hour runs
7
3-day runs
12
7-day runs
12
30-day runs

More Information About shuttle-3-diffusion-fp8 huggingface.co Model

More shuttle-3-diffusion-fp8 license Visit here:

https://choosealicense.com/licenses/apache-2.0

shuttle-3-diffusion-fp8 huggingface.co

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

shuttle-3-diffusion-fp8 huggingface.co Url

https://huggingface.co/shuttleai/shuttle-3-diffusion-fp8

shuttleai shuttle-3-diffusion-fp8 online free

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

shuttleai shuttle-3-diffusion-fp8 online free url in huggingface.co:

https://huggingface.co/shuttleai/shuttle-3-diffusion-fp8

shuttle-3-diffusion-fp8 install

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

shuttle-3-diffusion-fp8 install url in huggingface.co:

https://huggingface.co/shuttleai/shuttle-3-diffusion-fp8

Url of shuttle-3-diffusion-fp8

shuttle-3-diffusion-fp8 huggingface.co Url

Provider of shuttle-3-diffusion-fp8 huggingface.co

shuttleai
ORGANIZATIONS

Other API from shuttleai

huggingface.co

Total runs: 150
Run Growth: 0
Growth Rate: 0.00%
Updated:Dezembro 23 2024