import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("hf-internal-testing/lora-trained")
prompt = "a photo of sks dog"
image = pipe(prompt).images[0]LoRA DreamBooth - sayakpaul/lora-trained
These are LoRA adaption weights for runwayml/stable-diffusion-v1-5. The weights were trained on a photo of sks dog using DreamBooth. You can find some example images in the following.
LoRA for the text encoder was enabled: True.
- Downloads last month
- 48



