Run this model with HF Jobs

Run fcsaba/csaba-style-sdxl-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/fcsaba/csaba-style-sdxl-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/fcsaba/csaba-style-sdxl-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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("fcsaba/csaba-style-sdxl-lora")

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

Csaba Style SDXL LoRA

A 2D naive MS Paint style trained on SDXL 1.0.

Local / Colab Usage

import torch
from diffusers import AutoPipelineForText2Image

pipe = AutoPipelineForText2Image.from_pretrained(
    "stabilityai/stable-diffusion-xl-base-1.0", 
    torch_dtype=torch.float16
).to("cuda")

pipe.load_lora_weights("fcsaba/csaba-style-sdxl-lora")

image = pipe(
    prompt="dragon in csaba style",
    cross_attention_kwargs={"scale": 1.1}
).images[0]

image.save("dragon.png")
Downloads last month
50
Inference Providers NEW

Model tree for fcsaba/csaba-style-sdxl-lora

Adapter
(9,869)
this model