Soup
trysoup.dev
Open-source CLI that fine-tunes and post-trains LLMs from one YAML file; opt-in layer streaming fits an 8B model on a 4 GB laptop GPU.
- GitHub stars
- 10,721
- License
- Apache-2.0
- Language
- Python
- Pricing
- Open source
- Published
- Nov 4, 2026
Next steps
- Poros
Both tools are listed under Large Language Models (LLMs), AI Developer Tools, fine-tuning, and lora.
- nanochat
Both tools are listed under Large Language Models (LLMs) and AI Developer Tools.
- llmfit
Both tools are listed under Large Language Models (LLMs), AI Developer Tools, and mlx.
- CodeGraph
- Diagram Design
- Agent Skills (Addy Osmani)
What it does
Soup is an Apache-2.0 open-source tool that turns LLM fine-tuning into one config and one command: pip install "soup-cli[train]", soup init --template chat, then soup train. A single YAML file describes the job, and Soup handles batch size, GPU detection and quantization automatically, so you can train locally on your own GPU with QLoRA without SSH-ing into remote machines. Its opt-in layer streaming (stream_layers: true, still beta) keeps the frozen base model out of VRAM and feeds it to the GPU one decoder layer at a time; the README reports Llama-3.1-8B-Instruct with NF4 LoRA training in about 3.3 GB peak memory on an RTX 3050 Laptop 4 GB, with a Colab notebook to check it yourself. Recent releases add soup data commands (dedup, filter, convert, merge, PII and toxicity checks), soup plan/apply, and GRPO training on Apple Silicon through an MLX backend. There is also a Web UI and documentation at trysoup.dev. About 10k GitHub stars.

Use cases
- Fine-tune an 8B open model with LoRA on a laptop GPU
- Keep LLM training jobs reproducible as a single YAML config
- Clean and deduplicate a fine-tuning dataset before training
Frequently asked questions
- How do I start?
- pip install "soup-cli[train]", then soup init --template chat and soup train.
- Can it really train an 8B model on 4 GB of VRAM?
- With the opt-in layer streaming (beta), the README reports Llama-3.1-8B-Instruct NF4 LoRA at about 3.3 GB peak on an RTX 3050 Laptop 4 GB, with a Colab notebook to reproduce it.
- Does it run on a Mac?
- Yes, GRPO training runs natively on Apple Silicon through the MLX backend.
- What is the license?
- Apache-2.0.