SD-Trainer (lora-scripts) is a local workspace on kohya-ss sd-scripts for LoRA and Dreambooth training, caption editing, and job metrics in one GUI.
Overview
SD-Trainer, also known as lora-scripts, is a local training and dataset workspace built on kohya-ss/sd-scripts. The interface brings training configuration, caption generation, tag editing, job logs, and loss charts into one application instead of scattering tools across the terminal.
You pick a trainer, set model assets and datasets, and review parameter help before starting a job. The catalog covers SD, SDXL, SD3, FLUX.1, Chroma, Lumina, HunyuanImage 2.1, Anima, and MOSS-Image LoRA variants, with experimental trainers marked in the UI.
The Caption workspace scans datasets and generates tags or descriptions using WD taggers, BLIP/GIT-family models, and supported vision-language models, sharing a GPU queue with training. A separate Tag Editor supports batch edits, filtering, replacements, and previews with backups.
Starting the GUI can expose a built-in MCP server over Streamable HTTP so agents can inspect datasets, submit experiments, and read metrics. Portable Windows NVIDIA builds ship with Python and PyTorch; source installs support Linux and Windows with optional Docker images.
Key features
- GUI for kohya-ss diffusion training jobs
- Supports SD, SDXL, SD3, FLUX.1, and related trainers
- Caption and tag editing with GPU-shared queue
- Job history with TensorBoard-compatible loss charts
- Built-in MCP server for agent-driven training
- Portable Windows packages with bundled Python stack
- Docker images with NVIDIA Container Toolkit support
Use cases
- Fine-tune diffusion models with LoRA on a local GPU
- Generate and clean dataset captions before training
- Monitor training loss and learning rate in the GUI
- Let an MCP agent submit or inspect training runs