Soup: Fine-Tune LLMs from a Single YAML File
Soup is an open-source LLM fine-tuning toolkit that configures an entire training run from one YAML file. Its layer-streaming engine trains an 8B model on a 4 GB laptop GPU at 119.6 tok/s.

π Want to deploy Soup yourself?
Docker configs, system requirements, and installation guides β all on one page.
View Soup Tool Page βWhat is Soup?
Soup is an open-source toolkit that turns LLM fine-tuning into a one-command workflow. You describe the whole training run β model, data, hyperparameters, LoRA adapters, quantization β in a single YAML file, then run soup train. No SSH sessions, no brittle shell scripts, no config sprawl.
Layer Streaming: The Killer Feature
Fine-tuning a large model normally requires the full base model to fit in VRAM. Soup's layer-streaming engine instead feeds the GPU one frozen decoder layer at a time. Measured on an RTX 3050 Laptop (4 GB), Llama-3.1-8B-Instruct fine-tunes at 119.6 tokens/s with a 3.32 GB peak β bit-exact against a regular resident run, and independently reproduced on an H100 at 113.00 tok/s in the same 3.32 GB footprint.
Everything in One YAML
Model registry, adapters, quantization (NF4/FP8), datasets, and evaluation are all declared in soup.yaml. Configs can be loaded from local files or remote URLs, so a team can share one canonical training config.
Key Features
- Single YAML config β model, data, hyperparameters, everything
- Layer streaming β train 8B models on 4 GB laptop GPUs
- Opt-in stacks β light CLI, train, serve, UI, and data tools
- Chat UI & model registry β inspect and serve fine-tuned models
- Apache-2.0 β fully open source, self-hosted
Fast facts: 2,790+ GitHub stars Β· Apache-2.0 Β· pip install soup-cli Β· Docker image: ghcr.io/makazhanalpamys/soup:latest
Soup is ideal for indie hackers, students, and small teams who want full control over fine-tuning without a GPU cluster budget.
π Want to deploy Soup yourself?
Docker configs, system requirements, and installation guides β all on one page.
View Soup Tool Page β