Diffusers How to use ThalisAI/rot-bloom-illustrious with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("ThalisAI/rot-bloom-illustrious")
prompt = "a sparrow lying on weathered wood, delicate mushrooms growing from its feathers, moss spreading across its wings"
image = pipe(prompt).images[0]