Fine-tuning

LoRA Training (ai-toolkit + kohya_ss)

AI Toolkit 0.13.42 and Kohya's GUI (kohya_ss) v26.0.0 run side by side in this Launchable on one NVIDIA L40S 48GB; the default base model is FLUX.1-dev.

Updated

What runs

AI Toolkit by Ostris, licensed under the MIT License, handles datasets, the job queue and sample previews.

Kohya's GUI (kohya_ss) by bmaltais, licensed under Apache-2.0, runs sd-scripts training with full control. sd-scripts by kohya-ss is licensed under Apache-2.0.

The default base model is black-forest-labs/FLUX.1-dev. It is gated on Hugging Face, so a Hugging Face token is required.

Pinned components
ComponentPinned version
AI Toolkit0.13.42 (ostris/aitoolkit:0.13.42)
Kohya's GUI (kohya_ss)v26.0.0 (ghcr.io/bmaltais/kohya-ss-gui:v26.0.0)

Smoke test

No fresh-deploy smoke test of this configuration is recorded yet.

A fresh-deploy smoke test checks what a new user gets:

  • The Launchable deploys on a new instance.
  • Its services start and answer.
  • The instance is deleted.

Licences and credits

  • AI Toolkit MIT
  • Kohya's GUI (kohya_ss) Apache-2.0

Public source folder: https://github.com/ashishsalve/gpu-launchables/tree/main/lora-training (external site)

The README there covers quick facts, deploying in three steps, settings, data persistence, stop, start and delete, troubleshooting and an FAQ.

Upstream projects:

Persistence and stop vs delete

  • AI Toolkit listens on port 8675. Kohya's GUI listens on port 7860.
  • Reach a UI from your machine with brev port-forward INSTANCE_NAME --port 8675:8675.
  • All data is on the instance under ~/workspace/lora-training. It survives a stop and start and is removed when the instance is deleted.
  • Storage is still billed while the instance is stopped.
  • Deleting the instance removes all data, including trained LoRAs.

Which guides help you train a LoRA?

Troubleshooting

  • The page does not load yet: the first start pulls container images and model weights. Check in the NVIDIA Brev console that the instance has finished setting up, then retry.
  • After a stop and start: confirm the instance shows as running in the NVIDIA Brev console before you open the app again.
  • Costs while idle: storage is billed while an instance is stopped. Delete the instance when you are finished.
  • Still stuck: email hello@9owls.com with the Launchable name and what you see.