LinFusion: 1 GPU, 1 Minute, 16K Image
Paper • 2409.02097 • Published • 34
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Yuanshi/LinFusion-XL", 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 has been pushed to the Hub using the Diffusers library: