Skip to main content
Training & Fine-tuningProduction

kohya_ss

bmaltais / kohya_ss

A training GUI and script collection for Stable Diffusion models: LoRA, DreamBooth, fine-tuning, dataset tagging and utilities across SD1, SDXL and FLUX.

12.7k stars 1610 forks Python Language Apache-2.0 License Last push 2026-08-01

Why choose it

  • Covers several fine-tuning methods in one toolkit.
  • Dataset tagging utilities reduce manual work.
  • Supports SD1, SDXL and FLUX lines.

Not for

You need a hosted training service.
You cannot curate and license a training dataset.
The GUI hides details; when something breaks you still need the logs and scripts.

Minimum setup

  1. Train a small LoRA on 10 licensed images.
  2. Compare the same seed before and after training.
  3. Check overfitting on a held-out prompt.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Diffusers — Production,A Python library for diffusion models: pipelines, schedulers, training and quantisation, built for code rather than a UI.
  • Stable Diffusion WebUI — Start here,The classic Stable Diffusion web UI: text-to-image, image-to-image, LoRA and ControlNet on one page.
  • SD.Next — Production,A modern fork of Stable Diffusion WebUI supporting new models, Diffusers/ONNX/OpenVINO backends and AMD or Intel hardware.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.