// guide
Train a FLUX LoRA on a cloud GPU
To train a FLUX LoRA on a cloud GPU, start an NVIDIA Brev instance with enough GPU memory for the base model, run a trainer such as AI Toolkit or Kohya's GUI, and keep your dataset and trained LoRA files in the instance workspace, which survives a stop and start.
Updated
Published
On this page
What is a LoRA?
LoRA (low-rank adaptation) represents the weight updates of a model with two smaller update matrices. The original pre-trained weights stay frozen, so the number of trainable parameters drops sharply. The result is a small, portable LoRA file that you load on top of the base model. Source: the Hugging Face PEFT LoRA guide (external site), read 2026-11-16.
How do I run a FLUX LoRA training job, step by step?
Launch the LoRA Training Launchable on NVIDIA Brev. New to Launchables? Read how to deploy a Launchable on NVIDIA Brev.
Give the Launchable your Hugging Face token, so it can download the gated base model
black-forest-labs/FLUX.1-dev.Forward the AI Toolkit port to your machine with
brev port-forward INSTANCE_NAME --port 8675:8675.In AI Toolkit, add your dataset, queue the training job and watch the sample previews.
Keep datasets and trained LoRAs under
~/workspace/lora-training, which survives a stop and start.Copy your LoRA files off the instance before you delete it.
What do AI Toolkit and Kohya's GUI each do?
AI Toolkit (external site) by Ostris describes itself as a training toolkit for finetuning diffusion models. It is licensed under the MIT License. In the 9owls Launchable it handles datasets, the job queue and sample previews.
Kohya's GUI (kohya_ss) (external site) by bmaltais is a GUI and CLI for training diffusion models. It runs LoRA, LoHa, LoKr, Dreambooth, fine-tuning and Textual Inversion training, and lists Flux.1 among its supported base models. It is licensed under Apache-2.0. Both repositories were read on 2026-11-16.
Which GPU and disk does the LoRA Training Launchable start with?
The LoRA Training Launchable starts with these defaults:
| Item | LoRA Training Launchable |
|---|---|
| GPU | NVIDIA L40S 48GB |
| Instance type | AWS g6e.2xlarge |
| Price | about $2.69/hr (Brev console, 2026-11-15) |
| Disk | 256 GiB |
| Trainers | AI Toolkit 0.13.42 (port 8675), Kohya's GUI v26.0.0 (port 7860) |
| Default base model | black-forest-labs/FLUX.1-dev |
| Kept across stop and start | Everything under ~/workspace/lora-training |
| Removed by delete | All data, including trained LoRAs |
To see which other Launchables run on the NVIDIA L40S, read NVIDIA L4 vs L40S for LLM inference.
How long does a FLUX LoRA take to train?
We have not yet recorded our own fresh-deploy test or a training run of this Launchable, so this page gives no start-up or training time. Before you plan a long run on a paid GPU, queue a short job first and time it yourself.
Why is a Hugging Face token needed?
The default base model, black-forest-labs/FLUX.1-dev, is gated on Hugging Face. The Launchable needs your Hugging Face token to download it.
Where are datasets and trained LoRAs kept across stop and start?
All data sits on the instance under ~/workspace/lora-training. It survives a stop and start of the instance. On NVIDIA Brev, /home/ubuntu/workspace persists on stop and /tmp does not (GPU instances (external site), read 2026-11-16).
Stop: data under
~/workspace/lora-trainingis kept.Start: the same files under
~/workspace/lora-trainingare there again.Stopped: storage is still billed.
Delete: all data, including trained LoRAs, is removed and cannot be undone.
The stop, start and delete guide explains each action on NVIDIA Brev.
How do I open the trainer web UIs?
Each trainer has its own web UI port. Forward a port from the instance to your machine with brev port-forward.
| Trainer | Port | Command |
|---|---|---|
| AI Toolkit | 8675 | brev port-forward INSTANCE_NAME --port 8675:8675 |
| Kohya's GUI | 7860 | brev port-forward INSTANCE_NAME --port 7860:7860 |
Where do I start, and what comes next?
Start training: launch the LoRA Training Launchable on NVIDIA Brev.
Generate images: see how to run ComfyUI on a cloud GPU.
Other training stacks: browse the fine-tuning topic, including LlamaFactory for open LLMs.
Can my own training setup become a Launchable?
NightKeeper packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running. Point it at the repository that holds your training setup, review the pull request it opens, then create the Launchable in the Brev console. Your Brev API key stays in your repository's GitHub secrets; NightKeeper never sees it.
Create your Launchable in a 4-step form, or read how NightKeeper works.
Sources: where do these facts come from?
Hugging Face PEFT LoRA guide (external site), read 2026-11-16.
AI Toolkit on GitHub (external site), read 2026-11-16.
Kohya's GUI on GitHub (external site), read 2026-11-16.
NVIDIA Brev GPU instances (external site), read 2026-11-16.
LoRA Training Launchable README (external site), read 2026-11-28.
Brev console price for AWS
g6e.2xlarge, read 2026-11-15.
How was this page made?
9owls publishes this page. The price comes from a Brev console read on 2026-11-15; the trainer and LoRA facts come from the upstream sources listed above, with read dates.
- What changed on 2026-12-03: removed the trainer start-up time and its 2026-11-14 test table, because we hold no record of that test. The page now states that no start-up or training time has been measured by us.
- What changed on 2026-11-28: added a trainer start-up time, a clear statement that no training time was measured, and a dated hourly price.
- Found an error? Tell us through the contact page.