Skip to content
AI Tools Finder

sd-scripts (Kohya)

The underlying scripts powering Kohya & most LoRA trainers.

Open Source 8–12 GB VRAMRuns locally
Actually FreeNo SignupOpen SourceWatermark-Free
Visit sd-scripts (Kohya)Updated 2026-05-06 · Direct link

Hardware requirements

Runs locally · Mid GPU (12 GB)

8–12 GB VRAM
Min VRAM
8 GB
Rec. VRAM
12 GB
Min RAM
16 GB
Rec. RAM
32 GB
Disk
50 GB
GPU class
Mid GPU
11.8+Apple Silicon ✓GPU RequiredQuant: FP16, BF16, FP8

SD 1.5 LoRA fits in 8 GB; SDXL LoRA wants 12 GB; Flux 24 GB.

Screenshot placeholder · sd-scripts (Kohya)

What is sd-scripts (Kohya)?

Kohya's sd-scripts is the canonical reference implementation for Stable Diffusion fine-tuning — DreamBooth, LoRA, LyCORIS, TI, full fine-tune. The GUI projects (Kohya, FluxGym) wrap these scripts. Direct use suits CI, containerised training, and reproducibility.

Pros & cons

Pros

  • Canonical reference impl — what the GUI projects wrap
  • Reproducible: configs as plain JSON/TOML
  • Maintained directly by Kohya

Cons

  • CLI only — no GUI
  • Documentation lives across GitHub issues + community wikis

What's actually free?

Apache 2.0.

✓ Actually FreeNo SignupOpen SourceWatermark-Free

Alternatives

Kohya_ss

The standard SDXL/Flux LoRA training UI.

Open Source 12–24 GB VRAM
Min VRAM
12 GB
GPU class
High-end GPU
Quant
FP16
Actually FreeNo SignupOpen SourceWatermark-Free

AI-Toolkit (Ostris)

Modern training framework — Flux, SDXL, SD3 LoRAs in YAML.

Open Source 16–24 GB VRAM
Min VRAM
16 GB
GPU class
High-end GPU
Quant
BF16
Actually FreeNo SignupOpen SourceWatermark-Free