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