import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("linoyts/test_micro")
prompt = "a TOK ad for lego"
image = pipe(prompt).images[0]SDXL LoRA DreamBooth - linoyts/test_micro

- Prompt
- a TOK ad for lego

- Prompt
- a TOK ad for lego

- Prompt
- a TOK ad for lego

- Prompt
- a TOK ad for lego
Model description
These are linoyts/test_micro LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
The weights were trained using DreamBooth.
LoRA for the text encoder was enabled: True.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
Trigger words
You should use a TOK ad to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
- Downloads last month
- 4
Model tree for linoyts/test_micro
Base model
stabilityai/stable-diffusion-xl-base-1.0