🤗 Hugging Face 来源mit2M 参数10 MBsafetensors✓ 2 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo madebyollin/taesd3 ./model-folder
需要做种者 →

🍰 Tiny AutoEncoder for Stable Diffusion 3

TAESD3 is very tiny autoencoder which uses the same "latent API" as Stable Diffusion 3's VAE. TAESD3 is useful for real-time previewing of the SD3 generation process.

This repo contains .safetensors versions of the TAESD3 weights.

Using in 🧨 diffusers

import torch
from diffusers import StableDiffusion3Pipeline, AutoencoderTiny

pipe = StableDiffusion3Pipeline.from_pretrained(
    "stabilityai/stable-diffusion-3-medium-diffusers", torch_dtype=torch.float16
)
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taesd3", torch_dtype=torch.float16)
pipe.vae.config.shift_factor = 0.0
pipe = pipe.to("cuda")

prompt = "slice of delicious New York-style berry cheesecake"
image = pipe(prompt, num_inference_steps=25).images[0]
image.save("cheesecake.png")