ahmetbekcan/syntfusion-256
Viewer • Updated • 5.84k • 10
How to use ahmetbekcan/synthfusion-256 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ahmetbekcan/synthfusion-256", torch_dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This model was trained on a small synthesizer dataset (about 5800 samples) using the Audio Diffusion Pipeline (https://huggingface.co/docs/diffusers/main/en/api/pipelines/audio_diffusion), based on the work of Robert Dargavel Smith (https://github.com/teticio/audio-diffusion). Example outputs and the running script can be found at https://github.com/ahmetbekcan/synthfusion.