# Fine-tuning

These Launchables train on your own GPU: LoRAs for image and video models with AI Toolkit and kohya_ss, and open LLMs with LlamaFactory.

Updated: 2026-12-02

LoRA Training runs AI Toolkit by Ostris and Kohya's GUI side by side. LlamaFactory's LlamaBoard web UI runs LoRA, QLoRA and full fine-tuning of open LLMs from the browser. A LoRA (low-rank adaptation) is a small file of weight updates that you load on top of a frozen base model.

## Compare

- [LoRA Training (ai-toolkit + kohya_ss)](https://www.9owls.com/launchables/lora-training/): NVIDIA L40S, 48 GB VRAM. [Launch on Brev](https://brev.nvidia.com/launchable/deploy?launchableID=env-3M77hJCDpHkAGNvOR4xmmgsC1KA)
- [LlamaFactory (LlamaBoard)](https://www.9owls.com/launchables/llama-factory/): NVIDIA L40S, 48 GB VRAM. [Launch on Brev](https://brev.nvidia.com/launchable/deploy?launchableID=env-3M7QbAu67oVXAOLqhezAb8g5EVD)

## Which fine-tuning Launchable should I pick?

- LoRA Training: image model LoRAs with AI Toolkit 0.13.42 and Kohya's GUI v26.0.0; default base model black-forest-labs/FLUX.1-dev.
- LlamaFactory (LlamaBoard): LoRA, QLoRA and full fine-tuning of open LLMs with LlamaFactory v0.9.5; default base model Qwen/Qwen3-8B.
- Both start on an NVIDIA L40S 48GB with 256 GiB of disk: AWS g6e.2xlarge for LoRA Training, AWS g6e.xlarge for LlamaFactory.
- Both web UIs stay on the instance; reach them with `brev port-forward` (AI Toolkit 8675, Kohya's GUI 7860, LlamaBoard 7860).

## How do I train a FLUX LoRA?

The guide [train a FLUX LoRA on a cloud GPU](https://www.9owls.com/guides/train-a-flux-lora-on-a-cloud-gpu/) covers the full run: the Hugging Face token for the gated FLUX.1-dev base model, the AI Toolkit job queue, and where datasets and trained LoRAs are kept. To use a trained LoRA for image generation, read [how to run ComfyUI on a cloud GPU](https://www.9owls.com/guides/run-comfyui-on-a-cloud-gpu/).

## What survives a stop and a delete?

- LoRA Training: everything under ~/workspace/lora-training survives a stop and start.
- LlamaFactory: everything under /root/workspace/llamafactory inside the container survives a stop and start.
- Stopped: storage is still billed.
- Delete: removes every file, including datasets, checkpoints, trained LoRAs and exported models. Copy results off first.

The guide [stop, start and delete an NVIDIA Brev instance](https://www.9owls.com/guides/stop-start-and-delete-an-nvidia-brev-instance/) explains each action.

## Launchables

- [LoRA Training (ai-toolkit + kohya_ss)](https://www.9owls.com/launchables/lora-training/)
- [LlamaFactory (LlamaBoard)](https://www.9owls.com/launchables/llama-factory/)

For a step-by-step LLM fine-tuning run, see [how to fine-tune an LLM with LlamaFactory](https://www.9owls.com/guides/fine-tune-an-llm-with-llamafactory/).

## Where do I go next?

- First deploy: read [how to deploy a Launchable on NVIDIA Brev](https://www.9owls.com/guides/deploy-a-launchable-on-nvidia-brev/).
- GPU choice: [NVIDIA L4 vs L40S for LLM inference](https://www.9owls.com/compare/nvidia-l4-vs-l40s-for-llm-inference/) compares the 24 GB and 48 GB cards.
- Serve a model: [serve an OpenAI-compatible API with vLLM](https://www.9owls.com/guides/serve-an-openai-compatible-api-with-vllm/) and the [chat and model serving topic](https://www.9owls.com/topics/chat-and-model-serving/).
- Generate images: the [image and video topic](https://www.9owls.com/topics/image-and-video/) lists ComfyUI Pro and the video studios.
- Basics: the [Brev Launchables FAQ](https://www.9owls.com/faq/brev-launchable-basics/) answers billing, stop, start and GPU questions.

## Have your own fine-tuning stack?

NightKeeper packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running.

Your Brev API key stays in your repository's GitHub secrets. NightKeeper never sees it.

[Create your Launchable](https://www.9owls.com/nightkeeper/start/) or [read about NightKeeper](https://www.9owls.com/nightkeeper/).

## How was this page made?

9owls publishes this page. It summarises the Launchable pages and guides it links; each linked page names its own sources and test dates.

- Spotted an error? [Contact us](https://www.9owls.com/company/#contact).

[All Launchable topics](https://www.9owls.com/topics/)
