These are basakozsoy/maya_LoRA 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.
You should use a photo of TOK cat to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
1import torch
2from diffusers import DiffusionPipeline, AutoencoderKL
3
4repo_id = 'basakozsoy/maya_LoRA'
5
6vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
7pipe = DiffusionPipeline.from_pretrained(
8 "stabilityai/stable-diffusion-xl-base-1.0",
9 vae=vae,
10 torch_dtype=torch.float16,
11 variant="fp16",
12 use_safetensors=True
13)
14pipe.load_lora_weights(repo_id)
15_ = pipe.to("cuda")
16
17pipe.load_lora_weights(repo_id)