SDXL LoRA: RunchatToys
This is a LoRA (Low-Rank Adaptation) model for Stable Diffusion XL fine-tuned on images with the trigger word RunchatToys.
Files
pytorch_lora_weights.safetensors: Diffusers format (use with diffusers library)pytorch_lora_weights_webui.safetensors: Kohya format (use with AUTOMATIC1111, ComfyUI, etc.)
Usage
Diffusers Library
from diffusers import StableDiffusionXLPipeline
import torch
# Load base model
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16
)
# Load LoRA weights (diffusers format)
pipe.load_lora_weights("runchat/lora-533d7b31-63fd-42a0-be75-b68de7db171f-RunchatToys", weight_name="pytorch_lora_weights.safetensors")
pipe = pipe.to("cuda")
# Generate image
prompt = "a photo of RunchatToys style"
image = pipe(prompt, num_inference_steps=25, guidance_scale=7.5).images[0]
image.save("output.png")
WebUI (AUTOMATIC1111, ComfyUI, etc.)
Download the pytorch_lora_weights_webui.safetensors file and place it in your WebUI's LoRA directory.
Use the trigger word RunchatToys in your prompts.
Training Details
- Base model: stabilityai/stable-diffusion-xl-base-1.0
- Training steps: 1000
- Learning rate: 0.0001
- Batch size: 1
- LoRA rank: 32
- Trigger word:
RunchatToys
- Downloads last month
- 2
Model tree for runchat/lora-533d7b31-63fd-42a0-be75-b68de7db171f-RunchatToys
Base model
stabilityai/stable-diffusion-xl-base-1.0