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.
| Component | Pinned version |
|---|---|
| AI Toolkit | 0.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?
- Train a FLUX LoRA on a cloud GPU: a training job step by step, why a Hugging Face token is needed, and where datasets and LoRAs are kept.
- How to deploy a Launchable on NVIDIA Brev: open the link, deploy with the setup values it asks for, and wait until the instance shows Running.
- How to stop and delete an NVIDIA Brev instance: what Stop, Start and Delete change, and how each is billed.
- Run ComfyUI on a cloud GPU: run ComfyUI with a pinned set of custom-node packs in the ComfyUI Pro Launchable.
- Which GPU does each Launchable default to?: GPU memory of the two default cards compared, with the Launchables on each.
- Brev Launchables FAQ: short answers on billing, stop and delete, what persists and how to choose a GPU.
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.