import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("vladmandic/Qwen-Lightning", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Model Card for Qwen-Lightning
An unofficial merge of Qwen-Image with Qwen-Lightning-LoRA to improve quality and allow for generating in 8-steps
- Downloads last month
- 24