import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("glowforge-dev/stable-diffusion-2-1-base-custom", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Stable Diffusion v2-1 Custom Implementation
Custom implementation of the Stable Diffusion v2.1 base model for Glowforge.
Forked from the Stable Diffusion v2.1 base model developed by Robin Rombach and Patrick Esser.
- Downloads last month
- 41