FAQ
General
What models does Soup support?
Any HuggingFace-compatible model. Popular choices include Llama, Mistral, Qwen, Phi, and Gemma families. Vision models (LLaMA-3.2-Vision, Qwen2-VL) and audio models (Qwen2-Audio) are also supported.
Do I need a GPU?
A CUDA-compatible GPU is strongly recommended, and 4-bit quantization is what makes a small card usable. As a QLoRA rule of thumb: 8 GB reaches about 7B, 16 GB about 14B, 24 GB about 34B, 48 GB about 70B, and 80 GB and up covers 70B QLoRA with headroom or a MoE. Full fine-tuning is a different budget: in our H100 measurement an 8B full fine-tune did not fit on one 80 GB card even at batch 1 (see LISA). For a card too small for that rule of thumb, layer streaming changes the arithmetic entirely: it bounds peak VRAM by one decoder layer rather than by the model, which is how an 8B trains on a 4 GB card.
How is Soup different from other fine-tuning tools?
Soup is CLI-first and opinionated. One command to train, one YAML to configure. It wraps common practice (an optional Unsloth backend, FlashAttention on the transformers backend, tested defaults) so you have less to research. 23 training methods (text / vision / audio / ASR / TTS / classifier / distill / preference / MoLE routing / online DPO), 17 quantization values (bitnet_1.58 is refused at load: BitNet training is not implemented), multimodal support, full pipeline from training to deployment. Plus, you can migrate from LLaMA-Factory, Axolotl, or Unsloth in one command.
What version is current?
Soup CLI v0.78.1, tagged 25 November 2026, a backport patch on v0.78.0 with no title and no codename: three fixes (MoE LoRA string targets stay off the routers on peft 0.22.0, YAML merge keys follow the installed PyYAML, and DeepSeek-V3 and Kimi K2 router weights stay in FP32 when the installed Transformers requires it) and three security entries (quoted commands, stricter .can files, a code sandbox that ends child processes). See the release.
Before it, v0.78.0, tagged 18 November 2026, with no codename: upstream titled it with a sentence again, "a continual-learning loop, soup ship per-row audit, native MLX chat and merge", and that sentence is the release. It is a cut of main, not a backport, and in the release body's words, "218 of the 271 pull requests in this release came from 48 people outside the maintainer." By upstream's CHANGELOG count it is 60 additions, 20 changes, 2 deprecations, 171 fixes and 3 security entries, so it is not a fixes-only release, and it refuses some input v0.77.2 accepted. Read its upgrade notes before you upgrade a config or a script: a boolean in a numeric training or training.lora field (lr: true, lora.r: false) is refused, and so are training.vllm_sleep_mode: true on task: grpo, an enabled eval gate on backend: mlx and on task: prm, unlearn and moe_lora_routing, and training.eval_gate.baseline: previous; soup train --push-as creates a private repository unless you add --push-public; one Ctrl+C no longer stops a Hugging Face Trainer run (the first saves and continues, the second saves and stops, the third interrupts); soup serve --trace-log, --record-thumbs and --feedback-log are refused on the vLLM, SGLang and MII backends (exit 2 once the [serve] extra is installed, where they were ignored); some exit codes moved (what v0.78.0 adds); and soup ship --emit-evidence can write an evidence file with schema_version: 2, which v0.77.x refuses to read. The headline is a continual-learning loop: soup serve gives each answer an id and can record feedback on it, and soup loop trains on thumbs, ratings and edits, checks the candidate with soup ship --gate loop-v2, runs it as a canary on 5% of keyed traffic and withdraws it on a significant rating regression; with the default settings a canary that never collects 30 ratings on each side is promoted on request errors alone. What upstream did not exercise by hand before the release, and the quality limits it records, are on the soup loop page. The release also makes soup ship print what its number is made of (a per-task breakdown and a per-row audit file), adds native MLX chat and merge, takes layer streaming to seven tasks (bco and ipo join the five, and task: preference streams with one loss), and adds soup eval retention, soup data leakage, soup docs search and soup prune-layer-cache. Several results can change without an error, and six items concern a file or a run that already exists, wrong, possibly lost or never checked: Re-run this. It is not a security release: no advisory is published with it. Its release body says that a security review of the code merged for it recorded 9 findings (0 critical, 1 high, 1 medium, 7 low), of which 5 are fixed in the release and 4 are listed under its known limitations. SECURITY.md lists 0.78.x as supported, 0.77.x as receiving security fixes until v0.79.0 is released, and the 0.76.x line, which is where Python 3.10 stays (pip install "soup-cli[train]<0.77"), as getting none after this release. Coming from v0.77.2, run soup doctor --config soup.yaml before you train; coming from v0.76 or older, read the v0.77.0 paragraph below first.
Before it, v0.77.2, tagged 5 November 2026, with no codename: upstream titled it with a sentence again, "a cut of main: explicit refusals, MLX preference and GRPO, corrected VRAM estimates and server replies", and that sentence is the release. It is a cut of main, not a backport, and in the release body's words, "153 of the 159 pull requests in this release came from 30 people outside the maintainer." Read its upgrade notes before you upgrade: soup serve --tool-auth-token (or SOUP_TOOL_AUTH_TOKEN) must now be 16 to 128 characters from A-Z, a-z, 0-9, _ and -, or the command exits 2 before the model loads; task: sft refuses reasoning_effort, train_on_eot, use_flash_attn and use_liger on the vision, audio, MLX, Unsloth, RAFT and pre-tokenized paths that never applied them; some exit codes moved (what v0.77.2 adds); and a shell completion script written before v0.77.2 no longer completes, so run soup completions bash, zsh or fish again. It also lets Apple Silicon run task: preference (dpo, orpo and simpo) and GRPO on a 4-bit mlx-community base, both covered upstream only by its hosted macOS test job; adds soup profile --model, which answers whether a model fits without a soup.yaml; and corrects several VRAM estimates, server replies and silent overwrites. Two finished-run items: an MLX run with training.optimizer: adafactor did not apply your learning rate or schedule through v0.77.1, and soup data from-traces --signal thumbs_up and the trace-log harvest stage of soup loop could write a pair whose chosen and rejected were identical, so the number of pairs from the same logs can change. It is not a security release: no advisory is published with it, and at that release SECURITY.md listed 0.77.x as supported and 0.76.x as receiving security fixes only until 0.78.0 (since v0.78.0: 0.77.x receives them until v0.79.0 is released, and 0.76.x gets none after v0.78.0). Coming from v0.76 or older, read the v0.77.0 paragraph below and run soup doctor --config soup.yaml before you train.
Before it, v0.77.1, tagged 28 October 2026, with no codename: upstream titled it with a sentence again, "data commands keep their input; plan and apply refuse what train refuses", and that sentence is the release. It is a cut of main, not a backport, and in the release body's words, "22 of the 28 pull requests in this release came from 11 people outside the maintainer." Nothing in v0.77.0 is taken back. The release body leads with three fixes. Upstream counts eighteen soup data commands that wrote their result over one of their own inputs when --output named it, and each now refuses before the data is read (exit 1; lint exits 3, augment and evolve exit 2); soup plan and soup apply now refuse the configs soup train refuses (exit 1, no plan written); and the README's Docker example works again. It also lets task: grpo train natively on Apple Silicon through Soup's own MLX loop (the built-in accuracy or format reward, on an unquantized base; since v0.77.2 a 4-bit mlx-community base trains too), adds soup infer --backend mlx and soup ship --progress jsonl, prices a run with one peak-VRAM estimate in the soup train pre-flight, soup profile, the MCP profile tool and soup plan, and starts external programs by an absolute path found on PATH, so a tool that is only in the current directory is no longer found. One finished-run item: soup ingest --source langfuse --logs dropped Langfuse scores of 0, 0.0 and false through v0.77.0, so re-run an ingest of such an export (Re-run this). It is not a security release: no advisory is published with it, at that release the supported line for security fixes was still 0.77.x, and 0.76.x was to receive them only until 0.78.0. Coming from v0.76 or older, read the v0.77.0 paragraph below and run soup doctor --config soup.yaml before you train.
Before it, v0.77.0, tagged 26 October 2026, with no codename: upstream titled it with a sentence, "what v0.76 warned about is now refused", and that sentence is the release. It is a cut of main, and in the release body's words, "151 of the 226 pull requests in this release came from 44 people outside the maintainer." Since v0.77.0 the 31 staged fields (validated, read by nothing) stop the load when set away from their default, each with a line ending refused as of v0.77. Delete the line.; so do data.remove_unused_columns: true and training.quantization: 4bit or 8bit (or load_in_8bit: true) on a task that never quantizes, and so do fourteen of the fifteen settings that, in upstream's list, v0.76 accepted without a word and never applied (the fifteenth, a KTO row with a malformed label, is dropped at data load with a reason). soup train exits 1 with Config validation error:, soup doctor --config exits 2, and soup ab --beta exits 2, so run soup doctor --config soup.yaml before you train an existing config. It also needs Python 3.11 to 3.13 (on Python 3.10 pip keeps installing v0.76.x), removes AWQ and GPTQ export, trains DPO, ORPO, SimPO and KTO natively on Apple Silicon, takes layer streaming to an eleventh architecture (deepseek_v3), adds soup train --cloud runpod (plan-only by default, and not yet run against a real RunPod account, tracked as #2098; Which cloud GPU providers work? has what the controller does and does not do), and makes the soup serve Python and Bash tool routes need --tool-auth-token on every bind. Some finished runs need a second look: Re-run this. No security advisory is published with it; at that release the supported line for security fixes was 0.77.x, and 0.76.x was to receive them only until 0.78.0.
Before it, v0.76.1, tagged 14 October 2026, a patch on the v0.76.0 line with no codename. It is a backport cut off the v0.76.0 tag, as v0.75.1 and v0.75.2 were cut off v0.75.0, and all seven of its changes are maintainer pull requests. In upstream's words it "makes the bundled DPO examples train again" (the release): on v0.76.0, task: dpo, ipo, bco and preference failed inside trl, after the model had loaded, on a string prompt beside chosen / rejected message lists that repeat the user turn (the shape of the bundled examples), and the dpo and kto converters now hand the trainer every preference row in one layout, dropping at load, with a reason that names the field, a row that cannot be written that way. Every YAML file Soup reads now goes through one loader with nesting and expansion limits and a size cap per reader, so a soup.yaml over 1 MiB or nested deeper than 100 levels fails to load with one line naming the limit. The declared Typer floor is typer>=0.15.4, a single-string data.train that names a Hub dataset with a dot in it (teknium/OpenHermes-2.5) loads from the Hub, and the audit log masks the values of --slack-url and --discord-url. One fix concerns runs that finished: on those same rows, reward_model "no longer trains on a text with the question in it twice", so re-train such a reward model if it matters to you; the release page gives the scope (verified on v0.76.0, with the code unchanged at every earlier tag this site's audit read, back to v0.40.0). It is not accompanied by a security advisory, and everything in v0.76.0 is unchanged. Before it, v0.76.0, tagged 12 October 2026, also with no codename: upstream titled it with a sentence, "settings Soup accepted and never applied now stop the load", and that sentence is the release. 490 pull requests were merged between 12 September, the day v0.75.0 shipped, and the tag, and 418 of them came from 80 people outside the maintainer. What they found is settings that Soup validated, documented and accepted and then read nowhere on the path they claimed to configure, so a soup.yaml could ask for one thing and train another. This release refuses a long list of those settings at load, warns about 29 more and names v0.77 as the release that will refuse them (since closed in v0.77.0: refused at load), evaluates the validation split Soup held out and never used (on the tasks that still hold one out), and applies the grpo_beta KL penalty to every GRPO variant. It also adds soup adapters check, soup bench train, soup data clean, soup recipes verify and soup rewind, Sigstore keyless signing, multi-node soup train, and a layer-streaming disk tier that reads on a background thread and can stripe across NVMe drives. A config that loaded on v0.75 can stop loading: run soup doctor --config soup.yaml before you train, and the exit codes of the gate commands moved to 0 / 2 / 3, so a CI step that tests for exit 1 as "the gate failed" now passes a failing gate. There is no new security advisory in it, and at that release the supported line for security fixes was 0.76.x. Before it, v0.75.2, tagged 1 October 2026, a security patch with one change in it: the outbound endpoint checks (soup data generate --api-base, the vLLM provider, judge URLs, eval-gate suites, soup ship --judge-model, training.online_dpo_judge and the Web UI chat proxy) now refuse a private, link-local or reserved IP address on https as well as http. It fixes advisory GHSA-9f49-hqpf-c849, rated medium, reported by an outside contributor and written by the maintainer alone, and there is nothing to re-run and nothing to rotate: a config that names a private, link-local or reserved IP address now fails loudly and should name a hostname. Before it, v0.75.1, tagged 21 September 2026, a security and correctness backport (the v0.75.0 tree plus 25 cherry-picks, also written entirely by the maintainer) that carries advisory GHSA-63h4-gvp4-r26g, rated high and covering eight issues, with three credentials to rotate, and four fixes that mean something you already ran was lost, deleted or left billing. The one to check first: a layer-streamed adapter saved on peft 0.21 or newer holds zero tensors and cannot be recovered. Before it, v0.75.0, tagged 12 September 2026, which also had no codename: upstream titled it with a sentence, "MLX honours its config; unknown config keys refuse the load", and that sentence is the release. The headline is still that you can fine-tune Llama-3.1-8B on a 4 GB laptop GPU, and since v0.72.4 align on the same card. All 60 of v0.75.0's pull requests came from outside the maintainer, by 22 people, and what they found is training settings that backend: mlx validated, documented, accepted and read by nothing (upstream counts six options; its fix entries name eight settings), so the same config trained a different recipe on Apple Silicon than on a CUDA box. The same release makes an unknown config key refuse the load rather than warn, records validation loss for the first time on any backend (since corrected in v0.76.0: that held for the MLX backend, and the transformers backend evaluated no validation split at all until v0.76.0, #1223 and #1313), and raises the torch floor to 2.6.0, which closes the known limitation v0.74.0 published. Before it, v0.74.0, tagged 4 September 2026, where 116 of 120 merged pull requests came from somebody other than the maintainer, by 25 people, and what they found is that a LoRA run's frozen base, the one part that never receives an optimizer step, was being materialised at twice its checkpoint's precision on every supervised path and in twelve more trainers: measured on an H100 with Llama-3.1-8B and LoRA, peak memory falls from 48,241 MiB to 18,658 MiB, 2.59x on an unchanged config. It also moved the stack to Transformers 5.16.1, TRL 0.29 and PEFT 0.20, repaired the free notebook tier a second time, took layer streaming to a tenth architecture, and gave soup mcp serve bearer-gated sse and http transports. Before it, the v0.73 line: v0.73.1 fixed the free notebook tier, where bf16 was assumed on every CUDA card in fourteen places, and caught the streaming VRAM pre-flight under-predicting at long sequence; v0.73.2 stopped the SHIP verdict ranking by the wrong thing and added soup ship --noise-floor; and v0.73.3 was the first release the maintainer did not write, all 24 of its pull requests coming from other people, who found four flags the schema validated, the docs described and nothing read. Underneath them, v0.73.0 is the release that took the method to hardware this project does not own: three borrowed days on an 8x H100 box, which confirmed it against a real resident reference up to 72B and found a silent gradient defect above 32B in NF4 that is repaired here. Set training.stream_layers: true and the frozen base is never loaded resident; it streams from CPU RAM one decoder layer at a time into a small pool of VRAM buffers while only the LoRA adapters stay resident, so peak VRAM is bounded by one layer instead of the whole model. Add quantization: 4bit (v0.72.2) and that RAM store shrinks about fourfold, which is what puts 8B within reach of a card that cannot hold a quarter of it. Measured on a 4 GB RTX 3050 Laptop at batch 1: Llama-3.1-8B at 119.6 tok/s in 3.32 GB (measured on v0.72.2 at 952 MHz, before the NF4 gradient repair; a post-repair row from another RTX 3050 Laptop, taken at a different clock, is recorded, and the two are not directly comparable: see the measured numbers), Qwen2.5-3B at 264.2 tok/s in 1.76 GB, and on the bf16 path 3B at 143.1 tok/s in 2.15 GB, 1.5B at 525.0 tok/s and 0.5B at 978.6 tok/s. The honest cost is 1.43x slower than resident (measured at 0.5B), a streamed NF4 run is bit-exact against a resident NF4 run and that is a CI test rather than a one-off, and it ships BETA. Nothing above 8B has been measured on that 4 GB card, so there is no 14B claim for it; the larger sizes were measured on the borrowed H100 box instead.
v0.72.3 is the breadth release, and it is what turns streaming from a demonstration into something you can plan a run on. Nine architectures streamed instead of three after it (Llama, Qwen, Mistral, Gemma, Phi; v0.74.0 later took it to ten, and v0.77.0 to eleven with deepseek_v3), with the six new families each verified bit-exact against the same checkpoint loaded resident under both bf16 and NF4, though no throughput was measured for them so none is claimed. Batches above 1 and gradient accumulation both work, and at the same effective batch raising batch_size measured about 2.52x faster than accumulating. A pre-flight now predicts peak VRAM and refuses a run that will not fit, which matters because streaming bounds the weights but not the logits: on a 151,936-token vocabulary at batch 8 the logits tensor alone measured 8.71 GB, 146x the whole layer-buffer pool. --resume and --hf-resume work. And an NVMe disk overflow tier takes a base too large even for RAM, holding nothing resident, bit-exact against the RAM tier, with its speed deliberately left unmeasured at that release. Since v0.76.0 the disk tier reads on a background thread through direct I/O and can stripe across NVMe drives (SOUP_LAYER_STREAM_STRIPE_DIRS). On one RTX 5070 Laptop 8 GB with a synthetic 70B-shaped NF4 store of 36 GB (random weights), a cold step took 110.5 s on the previous synchronous reader and 16.2 to 17.3 s on the direct-I/O reader; across two NVMe drives a 17.4 s step fell to 9.97 s. A sustained-load probe measured 1.28x and 1.41x in two rounds and reached no formal verdict. A store that fits RAM is still faster on the RAM tier, which stream_source: auto picks. The disk tier has the caveats.
v0.72.4 opened it to the preference losses. dpo, orpo, simpo and kto run against a streamed base now, so alignment stops being the step that forces a bigger card (since v0.78.0 bco, ipo and task: preference with one loss stream too: seven tasks, listed at the end of this paragraph). DPO's reference model is not a second copy of the base (v0.72.4 described it as the same streamed base with its adapters switched off; the code at v0.78.0 keeps a frozen ref adapter beside the policy adapter on that base, IPO does the same, and KTO and BCO switch adapters off): on a 365M-parameter synthetic fixture run on trl 0.19.1, streamed DPO peaked at 0.914x the streamed SFT peak with a byte-identical RAM store, and the control that forced a real second instance moved the peak by 730.44 MB against 730.44 MB of weights, exactly one copy. All four are bit-exact against a resident run of the same loss. Read that 0.914x as "no second copy" rather than as a saving, and note the cost that is not free: DPO reads the layer stack 1.52x as often per step. KTO is not reference-free however it is usually described, and it needs batch_size of 2 or more. No throughput figure is claimed for any preference loss, because none was measured. What remained scoped at v0.72.4: task in sft, dpo, orpo, simpo, kto, transformers, text, plain LoRA. (Since closed in v0.78.0: seven tasks stream, sft, dpo, orpo, simpo, kto, bco and ipo, and task: preference streams with one preference_loss; a preference_loss_weights blend is refused, tracked as #2766; no throughput or peak figure exists for bco or ipo, the streaming page has what was measured.) GRPO and PPO are permanently excluded, not pending, and that refusal names no release. The measurement records behind all of it are published in full, and the work has a preprint: 10.5281/zenodo.21771064.
v0.72.0 also made soup adapters arithmetic exact across mixed ranks instead of refusing them, and added --rank N.
v0.72.1 is an out-of-band correctness release, and it matters if you already used streaming: an adapter saved by a v0.72.0 streamed run is inert outside the streaming path, because its keys carried an extra .inner. segment and PEFT reports missing keys as a warning rather than an error, so soup merge, soup serve and soup chat all silently returned the untuned base. The training was correct and the bit-exactness results stand; only the saved file was wrong. Re-run that adapter. The same release also closed a hole where --hf-resume slipped around the --resume guard; both were then refused until v0.72.3 fixed the load side and unblocked them.
Underneath it, the v0.71 line is two stories plus a run of capstones: v0.71.0 split the install (pip install soup-cli is now a light, PyTorch-free CLI; pip install "soup-cli[train]" adds the training stack) and raised the floor to Python 3.10+, and v0.71.1 → v0.71.14 wired the entire schema-first roadmap live — the reward-hack / echo-trap detectors, ULD + MiniLLM distillation, mid-epoch RL checkpoints, soup iterative-dpo, RAFT span-mask training + soup ra-dit, CAA/ITI/RepE steering, ROME/MEMIT/AlphaEdit edits + GRACE, NPO/SimNPO/RMU unlearning, the SAE / sleeper / truth / harm / interference probes, the live eval / advise / tunability / diagnose runners, the soup build dbt-DAG materialiser, the Magpie generator, the soup compile / distill-prompt / compile-tools / local-rl train prompt family, VeRA/VB-LoRA multi-tenant serving, MoLE routing, FSDP shard consolidation, and serve-side KV-cache typing now all run end-to-end. Genuinely new in v0.71: ed25519 adapter/attestation signing with supply-chain merge gates, codecarbon energy/CO2 tracking, PDF Annex XI/XII docs, Soup Can v3 attestations, and a local audit log. v0.71.15 → v0.71.23 then closed the stub tail and added native Spectrum targeted training (soup spectrum scan + training.unfrozen_parameters), serve-time MoLE (soup serve --mole), soup agent eval --sandbox, soup train --cloud modal, GPT-2 + Mixtral knowledge editing, and live TTS and MoE-quant trainers (plus a BitNet trainer wrapper that does not run: Modality II has the detail). v0.71.24 grew the recipe catalog from 116 to 133 with 17 new SFT recipes for the 2026 open-weight families (Qwen 3.5 / 3.6, DeepSeek-V4, GLM-5.1, Kimi K2.5 / K2.6, MiniMax M3, Mistral Large 3 (that recipe was removed in v0.76.0)), v0.71.25 added soup ship, the one-command SHIP / DON'T-SHIP verdict, v0.71.26 closed the RL loop with reward-hacking auto-mitigation (the trainer self-corrects mid-run instead of only halting; soup train --help still describes these flags as GRPO/PPO, but since v0.76.0 task: ppo refuses reward_hack_detector, reward_hack_mitigation and echo_trap_enabled (#1514) because its trainer cannot feed them, so only GRPO takes them), plus a new qwen2.5-coder-7b-sft recipe (catalog 133 → 134). v0.71.27 "Fine-tune Doctor" added a pure-CPU pre-flight — soup data doctor (8 chat-template checks incl. the "never stops generating" EOS bug) and soup data lint (DPO length-bias as a Cohen's d effect size) — v0.71.28 shipped the soup mcp serve MCP server so any coding agent (Claude Code, Cursor, Cline, Continue) can drive Soup over stdio, v0.71.29 added soup shrink, one-command depth pruning with an optional distill-heal and a SHIP / DON'T-SHIP perplexity verdict, v0.71.30 let a Process Reward Model drive GRPO (PRM-guided GRPO), v0.71.31 shipped the judge-in-the-loop suite (Online DPO, best-of-N & Evol-Instruct, plus a pairwise judge win-rate for soup ship), v0.71.32 added ASR fine-tuning (task: asr fine-tunes Whisper on your own audio, soup infer --task asr reports WER/CER, whisper-tiny/base train on a 4 GB GPU), v0.71.33 shipped soup draft (train and, above all, measure a speculative-decoding draft: the measured verdict on our own validated pair was that it does not pay off, so the speedup pitch was withdrawn rather than shipped), v0.71.34 added adapter algebra (soup adapters arithmetic "coder + 0.5*math - toxic") and LISA (full fine-tune quality without a full fine-tune), and v0.71.35 shipped the compliance pack: regulation-shaped soup init --template hipaa|soc2|eu-ai-act|sr-11-7 configs, soup card model-card autogen from a registry entry, a soup ci init PR gate (validate to expect to ship, exit 2 blocks the merge; since v0.76.0 exit 2 blocks it in each of the three steps, and any other non-zero such as a usage error, 3, also fails the job and is labelled as a configuration error), and GGUF export validated end-to-end on Windows for the first time. v0.71.36 "Data Moat II" added a semantic layer over your training data (soup data dedup --semantic, soup data topics) plus two tools for what a fine-tune forgets and leaks (soup data canary, soup train --replay), and v0.71.37 made every pip install "soup-cli[extra]" hint work on Windows cmd.exe and fixed eval-gate benchmark tasks. The v0.71 line closed with the eval-gate wedge: v0.71.38 gave the soup ship regression leg real teeth (answer-extraction scoring over seven bundled offline suites instead of substring-matched trivia), v0.71.39 closed the evidence loop (soup ship --emit-evidence + a committed ShipConfig + --push owner/repo#N, provenance-bound so the gate is CI for weights on every PR), and v0.71.40 + v0.71.41 shipped Reward Forge (soup reward synth auto-generates a deterministic reward verifier from your gold outputs and refuses a degenerate one, soup reward stress attacks a verifier with empty, padded, repetitive and sentinel-spam junk to prove it cannot be gamed). Counts at the current release (v0.78.1): 1501 test files, 23 training tasks, 20 data formats (that count includes auto), 17 quantization values (bitnet_1.58 is refused at load: BitNet training is not implemented), 181 recipes, 21 built-in templates. Apache-2.0 license since v0.29.0. Check with soup version --full.
Will my v0.77.2 soup.yaml still load on v0.78.0?
Yes, unless it sets one of the values the release's upgrade notes list first; each refusal names the field and what to change, soup train exits 1 with Config validation error: and soup doctor --config exits 2. A boolean in a numeric field of training or training.lora (lr: true, batch_size: true, lora.r: false) is refused with <field> must be a number, not a bool (or an int); v0.77.2 read false as 0 and true as 1 in the fields it did not already check (training.seed, for one, already refused a boolean), so lora.r: false used to mean a full fine-tune, and YAML's yes, no, on and off, which YAML reads as booleans, count too. Write the number you meant; the check does not cover data.*, and upstream counts 38 training fields whose wrong-typed values are now config errors. training.vllm_sleep_mode: true on task: grpo is refused (it never reached a vLLM engine: delete the line). training.eval_gate.enabled: true on backend: mlx and on task: prm, unlearn and moe_lora_routing is refused, because those paths never attached a gate and trained without one; set enabled: false or remove the block and run soup eval or soup ship after training. training.eval_gate.baseline: previous is refused too, even with enabled: false: use a path to a baseline results file. A gate suite that cannot be loaded now stops soup train and soup train --dry-run with exit 1 instead of training without a gate, but soup doctor --config does not read the suite, so run soup train --config soup.yaml --dry-run to check it. An unknown key with no close match now ends its message with a next step. Two keys that loaded silently now load with a warning: training.warmup_auto: true and a training.forgetting_threshold set away from 0.1 do nothing, and upstream says v0.79.0 refuses them. Not every change is a refusal: training.curriculum: true now trains in sorted order, resident 4-bit and 8-bit runs on a card with bf16 keep the embeddings, norms and untied head that loaded as bf16 in bf16 (a tensor that loaded as fp16 or fp32 keeps fp32), and soup adapters merge weights changed, so some results are not comparable with v0.77.2 runs (Numbers that moved). soup doctor --config still prints one cross-field refusal per run, and unknown keys together. Settings Soup refuses at load has the messages.
Will my v0.76 soup.yaml still load on v0.77.0?
Not necessarily. Since v0.77.0 the 31 staged fields (validated, read by nothing) stop the load when set away from their default, each with a line ending refused as of v0.77. Delete the line.; so do data.remove_unused_columns: true and training.quantization: 4bit or 8bit (or load_in_8bit: true) on a task that never quantizes (distill, classifier, reranker, cross_encoder, prm, moe_lora_routing, unlearn, asr). soup train exits 1 with Config validation error: and soup doctor --config exits 2. soup ab --beta exits 2. On top of those, upstream lists fifteen settings that v0.76 accepted without a word and never applied. Fourteen of them now stop the load (among them training.neftune_alpha on the tasks that never apply it, training.use_mod: true on a route with no Mixture-of-Depths router, a non-default training.moe_aux_loss_coeff on backend: unsloth or with stream_layers, quantization: 8bit with backend: unsloth and relora_steps on a loss with a frozen reference); the fifteenth, a KTO row with a malformed label, is dropped at data load with a reason, and the load goes on (exit 0 while some rows are valid). Run soup doctor --config soup.yaml after you upgrade and before you train; since v0.77.0 it no longer prints All checks passed! above a refusal (its tables still print first). Unknown keys are reported together, but a refusal that spans several fields prints only the first one it hits, so fix that setting and run it again until it prints no error. Deleting a refused key is the fix, and for a staged field it changes no result. Since v0.77.1 (#2242) soup plan and soup apply run the validation soup train runs and print the same Config validation error: lines: a staged field, a refused deprecated value or any other schema error exits 1, writes no plan and leaves an existing state file unchanged. At v0.77.0 they did not, and soup plan --config wrote a plan for a config that soup train refused. soup recipes verify --config and soup ship --config exit 3 on such a config. v0.77.1 takes none of these refusals back; the one family of configs it newly accepts is task: grpo on backend: mlx. From v0.77.1 to v0.77.2 a valid soup.yaml loads unless it is a task: sft config with reasoning_effort, train_on_eot, use_flash_attn or use_liger set on a path that never applied it (vision, audio, backend: mlx, backend: unsloth, data.format: raft or pre_tokenized, a different subset of the four on each, #2278; leave the key out: a boolean one, use_flash_attn, use_liger or train_on_eot, also loads when set to false, and reasoning_effort loads when it is null), and v0.77.2 newly accepts task: preference with preference_loss dpo, orpo or simpo on backend: mlx, and newly trains task: grpo on a 4-bit mlx-community base (that config already loaded on v0.77.1; the trainer refused it right after the model loaded). Both MLX changes are covered only by upstream's hosted macOS MLX test job. Since v0.77.1 an unknown-key message names the Soup field when you wrote the name another library uses (learning_rate gets use training.lr, num_train_epochs gets use training.epochs), and warmup_steps, per_device_eval_batch_size, per_gpu_eval_batch_size and eval_batch_size get a sentence saying Soup has no such setting (the hints are diagnostics: the schema decides what loads). Settings refused at load groups the refusals with the start of each message and what to change, the v0.77.0 release page has the re-run table, and Upgrading from v0.76 or earlier has the install side.
Will my v0.75 or v0.76.0 soup.yaml still load?
On v0.76.1: from v0.76.0, yes, unless it is over one of the new read limits. v0.76.1 changes no config key and no validator; what can newly stop a soup.yaml from loading is the read step in front of them. Since v0.76.1 every YAML file Soup reads goes through one loader: nesting is limited to 100 levels (the document's top-level mapping counts as the first, so 99 levels of brackets under a top-level key is the deepest structure that loads), expansion through anchors, aliases and merge keys to one node per source byte plus 10,000, and a soup.yaml to 1 MiB. A soup.yaml that is over a limit, cannot be read or is not valid YAML stops the load with one line naming the file and the problem: soup train exits 1 and soup doctor --config exits 2. These are new refusals, so run soup doctor --config soup.yaml after you upgrade, as for v0.76.0. Configuration has the caps of the other readers. Separately, a preference dataset can shrink at load, with a warning, by the rows that cannot be written in one layout (see What data formats are supported? below).
From v0.75, not necessarily. v0.76.0 refuses, at load, settings that Soup accepted on v0.75 and never applied (three of them, use_longlora, ebft_variant and quantization_aware: true, were applied wrongly): dozens of combinations that loaded on v0.75 are now refused, each with a message that names the field and what to change (unknown keys have refused the load since v0.75.0). Run soup doctor --config soup.yaml after you upgrade and before you train. A refusal prints the error and Config could not be loaded (see above). and exits 2; a missing file also exits 2, and warnings alone exit 0. Unknown keys are reported together, but doctor stops at the first cross-field refusal, so fix that setting and run it again until it prints no error.
Among the settings now refused: training.quantization_aware: true (it never ran quantization-aware training), training.use_longlora: true, any non-null training.ebft_variant, every non-null training.gdpo_variant, training.rope_scaling_type on a task that does not apply it, training.freeze_layers and freeze_ratio outside the text sft and tts path on the transformers backend, training.auto_mixed_precision outside sft and tts, backend: unsloth on seven further tasks, a Sesame CSM text-to-speech config (since closed in v0.77.0: it trains through a native trainer), quantization: bitnet_1.58 for training, a relora_steps config that does not also set quantization: none, task: kto with batch_size: 1, and the optimizer names that transformers 5 rejects (adam_mini, adamw_apex_fused, ao_adamw_fp8, ao_adamw_4bit, ao_adamw_8bit, badam, came_pytorch and dion everywhere; muon and adamw_hf off the MLX backend). Deleting a refused key is the fix. Three of the refused keys, training.use_longlora, training.ebft_variant and training.quantization_aware: true, were applied wrongly rather than ignored, so a run that finished on v0.75 with one of them did not do what its config said: see the Re-run this table.
On v0.76, twenty-nine further fields were accepted but read by nothing and only warned, for example Warning: training.lr_groups is accepted but read by nothing; v0.77 will refuse it, and two deprecated config values (data.remove_unused_columns: true and an explicit training.quantization: 4bit or 8bit on a task whose trainer never quantizes) and the soup ab --beta flag warned and were ignored. (Since closed in v0.77.0: the staged fields and the two values are refused at load, and --beta exits 2, see the answer above.) A few other keys, for example training.warmup_auto and training.forgetting_threshold, are not in the staged table: the schema accepts them and nothing in v0.78.0 reads them (eval.ship.forgetting_threshold, which soup ship reads, is a different field). Through v0.77.2 they loaded in silence and upstream named no release for refusing them; since v0.78.0 warmup_auto: true and a forgetting_threshold away from 0.1 load with a warning, and upstream says v0.79.0 refuses them.
Some behaviour changes even when the config still loads. data.val_split is now evaluated (at the end of each epoch, or every N steps with the new training.eval_steps) and the validation loss is recorded, so runs take a few percent longer; grpo, ppo and online_dpo evaluate by generating, so by default they ignore data.val_split with a note and train on every row. Every non-standard grpo_variant now applies the grpo_beta KL penalty it used to validate and drop, so an existing variant config will not reproduce a prior run. training.loraplus_lr_ratio now applies on every LoRA task, and an FP8 request that cannot run stops the run instead of training in bf16.
Do not read doctor's Config check as an all-clear. At v0.78.0 its table covers eleven combinations of task, backend and modality (sft, dpo, orpo, simpo, kto and grpo on mlx, where task: preference with preference_loss dpo, orpo or simpo resolves to the matching native task and adds no twelfth, sft on mlx with vision or with audio, which had their own rows added in v0.78.0, sft on unsloth, which has no entries left because its unread settings are refused at load, and sft on transformers with vision or with audio; v0.77.2 had nine); for anything else it prints None of the 0 setting(s) known to be unread ... is switched on in this config., which means "not reviewed". A config that must load on both v0.75 and v0.76.0 needs the refused key removed, not renamed. Settings refused at load groups the refusals with the start of each message and what to change, and lists the staged fields, and Upgrading from v0.75 or earlier has the install side.
What changed in exit codes?
Eleven gate and verdict commands share one taxonomy since v0.76.0 (v0.78.0 puts two new commands, soup eval retention and soup data leakage, on the same scheme, and upstream's own list still names the eleven), and v0.77.0 kept it with no code moved: 0 pass, 2 gate failure, regression or drift, 3 usage or input error, and a mistyped flag on one of them is 3. They are soup ship, soup expect, soup data validate, soup data lint, soup eval gate, soup eval quant-check, soup eval against, soup eval behavior, soup eval checklist, soup lock check and soup recipes verify. What moved: a failed soup eval gate is 2 (was 1), soup lock check drift is 2 (was 3), soup expect suite failure is 2 (was 3) and its rejected input is 3 (was 2), and soup data validate exits 3 (was 1) for a missing file, an unknown or undetectable format and a bad --min-valid-fraction. soup eval behavior (with neither --evidence nor --base-model) and soup eval checklist without the --evidence flag exit 3 where they used to print a neutral OK report and exit 0, and soup diagnose has a new NOT_RUN verdict that exits 3.
The silent-pass risk: a CI step that tests for exit 1 as "the gate failed" now passes a failing gate. The other commands keep their own schemes, and a mistyped flag on those is still 2, but a few individual codes moved as well (soup plugins install now exits 2, soup eval benchmark exits 1 when nothing was measured, soup doctor exits 1 for an installed package beyond its declared ceiling, soup attest emit --sign sigstore exits 2 without the extra): the table has them all. Exit codes lists the commands and their codes, and what moved in v0.76.0 has the before-and-after table. v0.77.0 adds new conditions under the existing codes (what v0.77.0 adds): for example soup eval gate exits 3 on a suite with no tasks, which passed through v0.76.1, soup drift-alarm exits 1, with no verdict panel, when it reads no usable live or reference row, and soup train exits 3 when standard input is a pipe or a redirected file and neither --yes nor --dry-run is given, so pass --yes in scripts.
v0.76.1 moves none of these codes. Its YAML read limits refuse under codes the commands already used: soup train 1, soup doctor --config 2, soup plan and soup apply 2 (1 for a YAML syntax error), soup eval gate --suite 3 (1 for a syntax error; soup train --gate exits 1 on either) and soup ship --config 3. (Since changed in v0.77.1: a soup eval gate suite that is not valid YAML now exits 3 too, and soup train --gate with such a suite still exits 1. Since changed in v0.77.2: soup plan and soup apply exit 2 on a YAML syntax error too, as on an unreadable config, naming the config and the YAML location, #2323.)
v0.77.1 moves one code inside the eleven-command scheme: a soup eval gate suite that is not valid YAML, or whose top level is a non-empty list or a scalar, now exits 3 instead of 1 (an empty root such as [] already exited 3), with Cannot load suite: and the file name. The rest are refusals under codes already in use: soup plan and soup apply exit 1 on a config soup train refuses (they exited 0), the soup data output refusals exit 1 (lint 3, augment and evolve 2), soup adapters bisect exits 2 before the first probe when its --eval-command program is not on PATH, and soup profile exits 1 when it cannot estimate a run. What v0.77.1 adds has the table.
v0.77.2 moves one code inside the eleven-command scheme (soup eval quant-check), moves soup ship --progress jsonl on Ctrl+C to 130, which the scheme does not define, and moves several outside it. soup eval quant-check exits 3 (it was 1, after loading both models) on a --tasks file it cannot parse, before any model loads (#2185). soup plan and soup apply exit 2 (was 1) on malformed YAML or a config that cannot be read, naming the config and the YAML location (#2323). soup distill-prompt with no usable prompt in any trace exits 3 and leaves the output untouched, and soup data evolve and gen-magpie exit 1 and keep the output when no row was produced and a provider call failed; the v0.77.2 notes describe the old results as "empty output written" and "output emptied", both under exit 0 (#2209, #2348). soup data filter --perplexity or --score-only without torch or transformers, and soup data dedup --field <key> with the key absent from every row, exit 1 where they exited 0 (#2377, #2336). soup registry push --run-id on a run that is not completed exits 1, soup quantize --to "[/]" exits 2, soup loop status exits 2 on a stored spend of NaN or Infinity, and soup ship --progress jsonl exits 130 on Ctrl+C (it was 1; upstream did not exercise that path by hand before the release). A CI step that tests one of these commands for a specific code needs a second look: What v0.77.2 adds has the table.
v0.78.0 keeps the 0 / 2 / 3 scheme of the eleven commands upstream lists (soup eval retention and soup data leakage follow it too) and moves a code inside it only for an input it now reads as unusable: soup expect exits 3 (was 1) on a suite or dataset that exists but cannot be opened, so exit 1 now means the judge was unreachable; soup data validate --min-valid-fraction nan exits 3 (the gate was off); soup eval gate exits 3 on a suite with a non-string key, a boolean threshold, a repeated key in a task mapping or a --write-baseline that names the suite itself; and soup lock show and soup lock check exit 3 on a directory where the lock file should be. Most other changes turn something that used to pass, print nothing or crash into a refusal, so a CI step that passed on v0.77.2 can fail on v0.78.0: soup ship exits 3 when --output or --emit-evidence is the same file as one of its inputs (it used to replace the input with the verdict) and on a pickle adapter, soup data mix --apply exits 2 (was 1) on YAML that does not parse or weights that are not numbers (a negative, zero, NaN or inf weight is still accepted), soup adapters merge exits 2 on adapters it cannot merge (it used to write an adapter with no weights and exit 0), soup airgap-bundle exits 1 on a missing folder, soup drift-alarm exits 1 on rows that hold no tokens, soup train --resume or --hf-resume on task: ppo exits 1, and soup train --cloud exits 2 on a config that names local files. What v0.78.0 adds has the table with each row's earlier code.
Is there a paper?
Yes. Layer streaming is written up as a preprint on Zenodo, CC-BY-4.0, cited by a concept DOI so a revision never strands a reference:
Exact Layer Streaming: LoRA Fine-Tuning of an 8B Model on a 4 GB Laptop GPU. Makazhan, A. (2026). Zenodo. 10.5281/zenodo.21771064.
The paper page is the short version, with the BibTeX entry. The result it defends hardest is not the throughput but the correctness protocol: a streamed trainer whose autograd graph has been severed still produces a falling loss, so the only meaningful evidence is bit-exactness against a resident reference of the same numerics, resident NF4 for a streamed NF4 run and never resident bf16. That discipline caught a dispatch path producing a 0.94 logit divergence with byte-identical weights and adapters, no crash and a healthy-looking loss curve. It is not on arXiv, so cite the Zenodo DOI above rather than an arXiv identifier. The preprint is unchanged at v0.78.0, but two things around it moved: the pre-flight memory estimate changed in that release (#2749, #2871, #2934), so the preprint's validation describes the estimator of v0.77.x, and the record behind its DeepSpeed comparison was re-measured under a pre-registered protocol (External validation has the result and its scope).
Can I migrate from LLaMA-Factory / Axolotl / Unsloth?
Yes: soup migrate --from llamafactory config.yaml converts your existing config automatically. Supports LLaMA-Factory YAML, Axolotl YAML, and Unsloth Jupyter notebooks. Use --dry-run to preview without writing.
Are there ready-made configs?
Yes. Soup ships 181 recipes spanning Llama 3.1/3.2/4 (Scout), Qwen 2.5/3 (incl. the 30B-A3B MoE), the 2026 families (Qwen 3.5/3.6, DeepSeek-V4 Flash/Pro, GLM-5.1, Kimi K2.5/K2.6, MiniMax M3 — v0.71.24, with DPO and GRPO additions for several of them in v0.76.0), QwQ-32B, QVQ-72B, Gemma 3, Mistral, Phi-4, DeepSeek R1/V3 + all 6 R1-Distill sizes, plus v0.51 additions (GPT-OSS 20B/120B, GLM 4.6/5, Kimi K2 / K2-Thinking, MiniMax M2, Granite 4, LFM2, Mistral Small 3 / Medium 3.5, Magistral / Devstral / Ministral, Baichuan 2), vision (Pixtral, Qwen2-VL, InternVL 3.5, LLaVA-Next, MiniCPM-V, Qwen-Image, DeepSeek-OCR, Paddle-OCR-VL), audio (Qwen2-Audio, Whisper-large-v3, Voxtral, SeamlessM4T-v2), ASR fine-tuning (whisper-tiny-asr / whisper-base-asr / whisper-large-v3-asr — v0.71.32), TTS (Orpheus, Llasa, Oute — v0.52; the recipe catalog says which of them run end to end), edge (SmolLM2 135M-1.7B, Phi-3.5-mini, LFM2), domain specialists (BioMistral, Meditron, CodeLlama, Magicoder, Mathstral, MedGemma, EmbeddingGemma), plus v0.62 RAG (raft-llama3-8b, ra-dit-retriever, ra-dit-llama3-8b), MLX-native, and multi-GPU (llama3-70b-fsdp2, qwen3-32b-zeropp, deepseek-v3-pipeline). Six recipes were removed in v0.76.0 (cogito-v2-sft, falcon-e-bitnet-sft, gemma3-9b-sft, mistral-large-3-sft, sesame-csm-tts, spark-tts); soup recipes use on one of those names exits 1 with Recipe not found. v0.77.0 adds qwen3.5-4b-dpo and qwen3.5-2b-dpo (no result is claimed for either) and drops pixtral-dpo, and it marked the two resident Kimi K2 recipes, kimi-k2-sft and kimi-k2-thinking-grpo, unavailable: soup recipes use on them exits 3 and writes nothing, and it still does at v0.78.0 (Kimi-K2-Base and -Instruct have a guarded layer-streaming route, see Streaming a Mixture-of-Experts base; since v0.78.0 a guarded resident route admits them too, on sft and grpo at quantization: none, on tiny-checkpoint evidence only, with nothing trained on K2, while Kimi-K2-Thinking and Instruct-0905 have no supported route). v0.78.0 adds eight recipes and drops none: qwen3.5-4b-grpo, qwen3.5-27b-grpo, qwen3.5-122b-a10b-dpo, qwen3.5-122b-a10b-grpo, qwen3.5-397b-a17b-grpo, minimax-m3-dpo, qwen3.5-9b-pretrain and qwen3.5-2b-pretrain. Upstream says they use inherited settings and are not tuned or measured (tracked as #275), and for the three large MoE recipes that no GPU count or memory fit has been measured. soup doctor --config accepts the config of 179 of the 181 recipes, and the two it refuses are kimi-k2-sft and kimi-k2-thinking-grpo. Run soup recipes list to browse, soup recipes search llama to filter, soup recipes verify to check that a recipe's LoRA adapter can attach before you download the model, and soup recipes use llama3.1-8b-sft to start training instantly.
How do I report a security problem?
Privately, and not as a public issue or in Discord. Open a GitHub Security Advisory, or email team@trysoup.dev if you cannot use GitHub. Upstream aims to acknowledge within 5 business days, offers credit by name in the release notes rather than a bounty, and ships security fixes for the latest release: at v0.78.1 the policy marks 0.78.x as supported, 0.77.x as receiving security fixes only until v0.79.0 is released, and anything below 0.77 as unsupported (0.76.x, the last line that runs on Python 3.10 and exports AWQ or GPTQ, gets no further security fixes after v0.78.0). The full policy, including what is in scope, is under Reporting a vulnerability.
Training
How long does training take?
Depends on model size, dataset size, sequence length and hardware, so no single figure is published here. soup profile --config soup.yaml estimates memory and speed for your own config before you spend GPU hours, and since v0.77.2 soup profile --model <id or directory> --seq 2048 --batch 1 --method qlora answers "will it fit?" without a soup.yaml, reading the model's config.json from a local directory, the Hugging Face cache or the Hub (it exits 1 with the reason when none can be read). With the optional Unsloth backend, Unsloth's own claim is 2-5x; Soup publishes no measurement of it.
Can I resume training from a checkpoint?
Yes: soup train --config soup.yaml --resume auto (latest checkpoint) or --resume ./output/checkpoint-500 (specific checkpoint). When --resume finds nothing to resume, v0.77.2 prints No checkpoint found to resume from: followed by the path it searched and why (the path does not exist, it is not a directory, or no checkpoint-N directory is inside), and exits 1 (#2296, by @EtherealMelon). On backend: mlx, --resume takes an adapter file, and task: grpo on MLX refuses --resume outright. Since v0.78.0 task: ppo refuses --resume and --hf-resume too (exit 1, before the data is read; upstream says --resume used to warn and restart from step 0). To stop a Hugging Face Trainer run without losing it, press Ctrl+C: the first press saves and continues, the second saves and stops, the third interrupts (how a run is stopped and checkpointed).
Does Soup support multi-GPU?
Yes. v0.27.0 added soup train --gpus N (it counts the GPUs per node, detects NVLink vs PCIe and re-launches under accelerate (run by the absolute path Soup finds on PATH since v0.77.1); you choose the sharding with --deepspeed or --fsdp; since v0.76.0 it exits with the launcher's exit code on Windows too), ZeRO++ (quantized weights + grads), FSDP2 + torch.compile, a pipeline-parallelism setting (parallelism: pipeline + pipeline_stages, which is validated but not executed at v0.78.0: the run stays data-parallel), and the DeepSpeed-MII serving backend. v0.76.0 added multi-node launches: soup train --gpus 8 --nodes 2 --node-rank 0 --master-addr <rank-0-host> on each machine, with the same --gpus on every node. See Multi-GPU Mastery.
What training methods are available?
23 methods: SFT, DPO, Online DPO (v0.71.31 — on-policy against an LLM judge or a reward model, wraps TRL OnlineDPOTrainer), GRPO, PPO, KTO, ORPO, SimPO, IPO, BCO (v0.40), Pretrain, Embedding, Reward Model, the unified preference dispatcher (v0.40 — set training.preference_loss: dpo|simpo|orpo|ipo|bco to swap loss without renaming the task), PRM (v0.50 Process Reward Model — also usable as the per-step reward inside GRPO via PRM-guided GRPO, v0.71.30), TTS (v0.52 — Orpheus / Llasa / Spark / Oute, and natively Sesame CSM since v0.77.0: tts_family: sesame_csm was refused at load in v0.76.x and now trains from raw transcript and audio rows with quantization: none; no quality or speed claim is made for it), ASR (v0.71.32 — Whisper fine-tuning with built-in WER/CER), Classifier / Reranker / Cross-Encoder (v0.52), Distill (v0.52 — kl / forward_kl / reverse_kl / js divergences), Unlearn (v0.61 — NPO / SimNPO / RMU), and MoE LoRA Routing (v0.67 — MoLE per-token gating over 2..64 task adapters). Plus soup edit set (v0.61 — ROME / MEMIT / AlphaEdit) and soup steer train (v0.62 — CAA / ITI / RepE) as inference-time / weight-surgery surfaces.
Can I auto-push checkpoints to HuggingFace during training?
Yes — soup train --push-as user/my-model uploads every save_steps checkpoint to HF Hub as a checkpoint-<N> branch. Since v0.78.0 a repository that --push-as creates is private; add --push-public to create a public one (--push-public without --push-as exits 1), and when the Hub refuses to create the private repository the message tells you to pass --push-public. A repository that already exists is used as it is and its visibility is not changed. Pair with --hf-resume to pull the latest branch and keep going after a spot-instance preemption. Set HF_ENDPOINT=https://hf.internal.example.com to target a self-hosted Hub. See HF Hub integration.
Can I train faster on large-vocab models?
Yes — v0.28.0 adds Cut Cross-Entropy (use_cut_ce: true), which avoids materialising the full [seq × vocab] logits tensor. Best on Llama 3 / Qwen 3 (vocab ≥ 128k). Install with pip install "soup-cli[cce]". It only takes effect when that optional package imports: the trainer prints whether it did, and the one measurement on record could not make it engage (see Cut Cross-Entropy). v0.28 also added an FP8 training option, a gradient-checkpointing tier setting and CPU/disk activation offloading, and a kernel auto-composition benchmark. Since v0.76.0 FP8 needs a card of compute capability 8.9 or higher (Ada or newer, not only Hopper) and a request that cannot run stops the run with the reason instead of training on in bf16 (FP8 training); the checkpointing tiers differ from each other on SFT (tiered checkpointing); and kernel_auto_compose: true is refused at load, so choose use_liger or use_flash_attn explicitly. See Training speed & memory.
Which cloud GPU providers work?
Modal, Lambda Cloud and, since v0.77.0, RunPod: soup train --config soup.yaml --cloud modal, --cloud lambda or --cloud runpod. All three are plan-only until you add --cloud-submit. For RunPod, plan-only writes a stub and contacts nothing; --cloud-submit needs RUNPOD_API_KEY and RUNPOD_SSH_PRIVATE_KEY (a path to the private key, with its .pub beside it) and otherwise exits 1, and --gpu takes a100 (the default), h100, a40, rtx3090 or rtx4090. It has not been run against a real RunPod account yet (tracked as #2098). Since v0.77.1 the RunPod and Lambda controllers stop with exit 2, before they request anything, when OpenSSH ssh and scp are not on PATH. Upstream states that the controller makes one attempt, copies the results back once, with a 15-minute limit, into a new directory, deletes the Pod afterwards, and does not upload local files, so the base model and the data must be reachable from the Pod. Since v0.78.0 the plan refuses a config that names local input files (a data.train path, for example: use a Hugging Face Hub dataset id and Hub model ids, or run locally) with exit 2 and Cloud plan failed:, and --push-as or --gate together with --cloud exits 2 with <flag> is not supported with --cloud (both used to be dropped without a word); the stub carries the config with your command-line overrides applied. The RunPod controller uses REST API v2 since v0.78.0 (upstream states that RunPod announced the retirement of REST API v1 for 2026-11-15); that rests on the published API reference, and it still has not been run against a real RunPod account (#2098). Any other value is an Invalid --cloud error. See serverless cloud training.
Data
What data formats are supported?
20 formats (that count includes Auto): Alpaca, ShareGPT, ChatML, DPO, KTO, LLaVA, ShareGPT4V, Plaintext, Embedding, Audio, Tool-calling, Auto, PRM, Pre-tokenized, Input-output, Video, Multimodal (v0.42), RAFT (v0.62 Retrieval-Augmented Fine-Tuning — query + golden_doc + distractors + answer), ASR (v0.71.32 Whisper fine-tuning — {"audio": path, "text": transcript}), and Cross-encoder (v0.76.0, valid only with task: cross_encoder). Format is auto-detected from up to the first 100 rows (from the first row alone before v0.76.0). data.train takes a local path, a remote URI (s3 / gs / az / abfs / oci) or a Hugging Face Hub dataset name. Since v0.76.1 a single string with a dot in the name, such as teknium/OpenHermes-2.5, goes to the Hub as the same name already did inside a data.train list (through v0.76.0 it failed with Data file not found). The other side of that: a path with an unsupported suffix that does not exist, such as the typo data/train.jsnol, is now looked up on the Hub too (offline, upstream says, it reports a connection error), while an existing file with an unsupported suffix, such as data.tsv, still gets Unsupported file format. Also since v0.76.1, the dpo and kto converters hand the trainer every preference row in one layout, all strings or all message lists with the prompt turns in prompt only; a row that cannot be written that way is dropped at load with a reason that names the field, so a dataset can shrink, with a warning, and one that mixes text rows with conversational ones loads as conversations, with a note. soup data validate data.jsonl --format dpo reports how many rows would be dropped and names the first three, but it exits 0 while at least one row is valid unless you pass --min-valid-fraction. See Data formats. Use soup data convert to switch between formats. v0.69 adds soup build (dbt-shaped DAG of dataset transforms with incremental materialisation), soup expect (Great Expectations suite for chat data), and soup data brain-rot (AI-slop detector — refuses to train on clickbait).
How much data do I need?
For SFT, 1K-10K high-quality samples is a good starting point. Quality matters more than quantity. Use soup data filter to check data quality.
Can I generate synthetic data?
Yes: soup data generate --prompt "Create math problems" --count 100. Supports OpenAI, Ollama, Anthropic Claude, vLLM, and custom servers. Includes domain templates (code, conversation, QA, preference, reasoning) and a full quality pipeline. Since v0.78.0 the command asks again until it has --count rows, and after three requests in a row with no valid row it saves what it has and exits 1 (#2418); a script that relied on a short file and exit 0 needs a look.
Deployment
How do I serve my model?
soup serve --model ./output --backend vllm for production. The API is OpenAI-compatible. No backend puts a token check on the generation routes, so a non-loopback bind publishes the model to whoever can reach the port: put an authenticating proxy in front of it. Since v0.77.2 the --tool-auth-token value (or SOUP_TOOL_AUTH_TOKEN), which covers the tool, thumbs, feedback and adapter routes (since v0.78.0 POST /v1/adapters/load needs it on every bind, loopback included), must be 16 to 128 characters from A-Z, a-z, 0-9, _ and -, or soup serve exits 2 before the model loads, on every bind. On the transformers backend, a streamed request (stream: true) has streamed while the model generates since v0.78.0, except a request served with --reasoning-parser, a draft model, n-gram lookup or MoLE routing, or by a model whose generation config sets beam search or several return sequences, which is generated in full and then sent; stop and stop_sequences are honoured, and every answer carries a response_id; --trace-log, --record-thumbs and --feedback-log, which the continual-learning loop reads, are refused on the vLLM, SGLang and MII backends. Serving says what the bearer token and the Origin and Host checks cover, which differs by backend.
Can I export to llama.cpp / Ollama?
Yes: soup export --model ./output --format gguf --quant q4_k_m. Since v0.78.0 the llama.cpp checkout Soup clones is pinned to tag b12423 (it was b5270); an existing checkout under ~/.soup/llama.cpp is reused as it is, so delete that folder to have the next export clone the pinned tag.
My model is deployed to Ollama but missing from soup deploy ollama --list
--list only shows Ollama models whose name starts with soup-. A model deployed with --name my-model is in Ollama (ollama list shows it) but not in that listing; deploy it as --name soup-my-model if you want it listed. soup export --deploy ollama already names the model soup-<model-name> unless you pass --deploy-name. See Model export.
What export formats are supported?
Seven: GGUF and GGUF-UD (llama.cpp / Ollama, the second being the Unsloth Dynamic ladder), ONNX (cross-platform), TensorRT-LLM (NVIDIA optimized), BitNet and tq1_0 (1.58-bit), and torchao. AWQ and GPTQ export were removed in v0.77.0: soup export --format awq or gptq exits 1 and names the formats that remain, --bits, --group-size and --calibration-samples are gone (exit 2), and the [awq] and [gptq] extras no longer exist. AWQ and GPTQ export need v0.76.x and its [awq] or [gptq] extra, for example pip install "soup-cli[awq]<0.77"; upstream notes that both projects are archived and incompatible with [train]. Training on a base that is already AWQ- or GPTQ-quantized (training.quantization: awq or gptq) is unchanged. Since v0.78.0 soup export --format torchao on a LoRA adapter merges the adapter into its base first (pass the adapter as --model and, if it cannot be detected, the base with --base), and soup export --format onnx --validate-onnx compares the ONNX graph's logits with its source model.
Troubleshooting
How do I see full error messages?
Use soup --verbose <command> for full tracebacks.
How do I check my environment?
Run soup doctor to check Python version, GPU availability (since v0.76.0 with each card's compute capability and architecture, a red warning when your PyTorch build has no code for it, and a precision block for BF16, FP8 and NVFP4), the MLX backend on Apple Silicon, dependency versions, and get fix suggestions. soup doctor --config soup.yaml also loads a config under the current rules; see Installation.
ImportError: DLL load failed while importing _C on Windows
That is PyTorch, not Soup: the installed wheel does not match your CUDA runtime. Reinstall torch from the index for your CUDA version, for example pip install torch --index-url https://download.pytorch.org/whl/cu126. Pick an index that still carries torch 2.6.0 or newer: Soup's [train] extra requires torch>=2.6.0, and the cu121 index stops at 2.5.1.
Every soup command fails with Type not yet supported: int | None
That is an old typer already installed in the environment, not a Soup defect: below Typer 0.12.4 no command can start, and Typer 0.12.4 to 0.15.3 start the CLI only next to Click 8.1 or older. Soup declares typer>=0.15.4 since v0.76.1, so upgrading Soup now upgrades such a Typer, or names the conflict, at install time, and soup doctor, wherever it can start, reports it as outdated (an advisory: the exit code does not change). Through v0.76.0 Soup declared typer>=0.9.0, and pip install -U soup-cli left an older typer in place; there, fix it with pip install -U "typer>=0.15.4,<0.21" (on v0.77.0 and v0.77.1, whose ceiling is <0.28, pip install -U "typer>=0.15.4,<0.28"). A fresh install was never affected. See Installation.
soup <command> --help shows ADAPTER TEXT [required] with no description
click 8.5.0 drops the description of every positional argument from --help. Soup declares click>=8.0.0,<8.5 since v0.76.0; on an earlier release, or in an environment where another package forced click 8.5, install click below 8.5 or install Soup in its own environment (pipx does this).
soup version disagrees with pip show soup-cli
You have more than one Python installation and they are not the one you think. Use a virtual environment. This is worth taking seriously rather than ignoring, because the two commands read different things: soup version reads the source that is actually going to run.
My environment used to work and now something is off
soup env check audits your installed packages against the version bounds Soup itself declares and exits 3 when one is violated. That audit needs no lock file, but without one the command otherwise exits 1 (No lock file at soup-env.lock; run soup env lock first). The usual cause is a later pip install of a serving stack into a training environment. soup env fix then prints a reproducible install plan from your lock file.
Where does Soup keep its files, and how do I move them?
Most of it lives under ~/.soup/ (the experiments and registry databases, the audit log, caches), plus a few directories in the folder you run from (.soup-loops/, .soup-crashes/, .soup_hub_cache/). Thirteen SOUP_* environment variables move individual files; nine of them are only honoured if the new path is under your home directory, the working directory or the system temp directory, and an out-of-bounds value is ignored without an error. The other four are used exactly as given. Every soup command, --help included, appends a line to the audit log unless you set SOUP_NO_AUDIT_LOG=1. See Environment variables and state files for the full list.
Soup is free and Apache-2.0. If it saved you a training run, starring the repo costs nothing and helps most. You can also fund the GPU time behind the work a 4 GB laptop cannot reach.