How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
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("Gurusha/sd-hand-model-lora-sdxl")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

LoRA text2image fine-tuning - Gurusha/sd-hand-model-lora-sdxl

These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. The weights were fine-tuned on the None dataset. You can find some example images in the following.

LoRA for the text encoder was enabled: False.

Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.

Downloads last month
13
Inference Providers NEW

Model tree for Gurusha/sd-hand-model-lora-sdxl

Adapter
(8357)
this model

Space using Gurusha/sd-hand-model-lora-sdxl 1