v0.78.1: MoE targets stay off the routers, cans are checked, sandbox child processes end
v0.78.1 was tagged on 25 November 2026 (its CHANGELOG section is dated 23 November). It is a patch release, a backport cut from v0.78.0: upstream gave it no title, and the release body opens "Soup CLI v0.78.1 is a patch release." It holds three fixes and three security entries. No flag, config key, recipe or dependency bound changed.
python -m pip install --upgrade soup-cli==0.78.1
soup --versionWith pipx, pipx upgrade soup-cli replaces the first line; soup --version prints soup v0.78.1. For Docker, docker pull ghcr.io/makazhanalpamys/soup:0.78.1 (also latest on 30 November 2026).
Who should upgrade first
- You train with
training.moe_lora: trueand peft 0.22.0. peft 0.22.0 was published on 19 November 2026, the day after v0.78.0, and Soup's rangepeft>=0.20.0,<1.0.0admits it, so an environment created or upgraded since then can hold it. See below. - You open or run
.canfiles that other people made. See Cans. - You run model-written code through Soup, with the RLVR
code_execscorer or thesoup servecode tools. See The sandbox ends child processes. - You stream DeepSeek-V3 or Kimi K2. An upgrade of Transformers can now rebuild a layer-stream cache once. See Router weights and the cache rebuild.
A can whose training output leaves the working directory, and a can whose archive is malformed, are refused now. Nothing else in the CHANGELOG is a new refusal.
Re-check a MoE LoRA run on peft 0.22.0
Upstream's words: "a MoE LoRA string target could again adapt the routers, because peft 0.22 keeps a v4 name such as gate as a module target and then matches it too broadly." The release body calls it adapting router modules "unintentionally" (#3150, by @wanjinhao1).
Who to check: a run on v0.78.0 with training.moe_lora: true, a string in training.lora.target_modules (all-linear or a regex; auto is not one), and peft 0.22.0 installed (pip show peft). Upstream lists no affected models and no size for the effect, and none is claimed here. target_modules as a list of names is not the case upstream describes.
How to check: list the tensor names of the adapter and look for a router in them.
from safetensors import safe_open
with safe_open("output/adapter_model.safetensors", framework="np") as f:
print([name for name in f.keys() if ".gate." in name or ".router." in name or "shared_expert_gate" in name])If it prints names and you did not mean to train the router, train again on v0.78.1. Since v0.78.1, when a module target that peft keeps would reach a router, Soup turns the string into an explicit list of targets without it, and the setup line says so.
YAML merge keys follow the installed PyYAML
Soup limits the size, the nesting and the expansion of the YAML files it reads. Through v0.78.0 it did that with its own copy of PyYAML's merge rule (<<), and PyYAML 6.0.4 (20 November 2026) changed that rule: upstream says a repeated key merged from a list or from two << keys resolved "the way 6.0.3 does, which safe_load no longer does". Since v0.78.1 a config loads as yaml.safe_load loads it on the installed PyYAML, and the limits are unchanged (#3156, reported by @abdumutalipabay0 as #3154).
If your config merges the same key from two sources, check the value Soup now reads. A config that does not repeat a merged key loads as before.
Router weights and the cache rebuild
Resident Kimi K2 and layer-streamed DeepSeek-V3 (Kimi K2 streams as DeepSeek-V3) now keep router weights in FP32 when the installed Transformers model requires it (#3183, #3175).
- One rebuild. Layer streaming rebuilds a cache whose router precision differs. In upstream's words, moving to a stricter Transformers "re-shards existing DeepSeek-V3 and Kimi K2 BF16 or FP16 streaming caches once, including NF4 runs". The old index is moved aside before the new files are written. For a large base, plan the disk and the time.
- A shared cache. Upstream's advice: use separate cache directories when weights are shared between older Soup releases and releases with FP32 router support.
- Inference. The inference SDK reads the router precision stored in a cache you pass to it, so it can use the same weights as training.
No speed, memory or quality figure comes with this change, and nothing was run on a real DeepSeek-V3 or K2 checkpoint for this page. More on Streaming a Mixture-of-Experts base.
Cans
Two changes, both from #3185.
soup can run keeps training output inside the working directory. A can whose output, with experiment_name appended by the trainers that use it, resolves outside the directory you start in is refused with exit 1 and a message that names the value. That covers an absolute path elsewhere, .., a symlink that leads out, another drive, a network share and a device; a leading ~ is also read as the home directory. Such a can used to run and write its checkpoints and logs there.
this can's config sets output to '../x', which resolves outside the working directory
(...), and soup can run does not write training output there. Run it from a directory
that contains both the can and the output path, or take config.yaml out of the can
(a .tar.gz), set output to a path under your working directory and run soup train on itThe panel that soup can run prints without --yes now lists the can's output and its training data. An output that would be refused gets the line warning: outside the working directory - soup can run will refuse this can. A local data path outside the working directory gets a warning line too, and that one does not stop the run. soup can inspect and soup can verify do not check the output path: both exit 0 on a can that soup can run refuses.
A can holds one regular file or directory per name. Every command that reads a can (soup can inspect, verify, run, fork and publish, and soup loop replay --extract) refuses an archive that holds one name twice in any spelling (config.yaml and ./Config.yaml count as one), a link, a device, a member below a file, or more than 10,000 members. The message names the members, or the limit when there are too many. The exit code is 1, or 2 for soup loop replay --extract. soup can pack and soup can fork never write such an archive, so a can made by Soup is unaffected; rebuild any other can with one member per name.
soup can run still fetches data and trains on your machine: read a can before you run it.
The sandbox ends child processes
The code-execution sandbox (the RLVR code_exec scorer, the soup serve python and bash tools, the agent-eval and recipe runners) now ends the processes the checked code started, and not only the direct child, when a run times out, floods its output or exits: a process group on Linux and macOS, a job object on Windows. A sandbox directory that cannot be removed no longer aborts the caller. Results and exit codes of runs that finish normally are unchanged (#3186).
The limits, in upstream's words: the sandbox "stays best-effort and is not a security boundary: a process that deliberately leaves its process group is not reached on Linux and macOS, and a Windows host that refuses job objects ends only the direct child."
Printed commands are quoted
Modal download retries, training follow-ups and layer-streaming cache pruning print a command to copy when its arguments can be quoted portably. A path with spaces or punctuation is double-quoted when that is supported, and Windows separators are written as forward slashes. A path that needs shell-specific quoting gets instructions in prose and a separate path display instead. The soup train --cloud run command also quotes its stub file name (#3184).
Security
The release body says "Three security fixes (#3184, #3185, #3186)" and no more; the CHANGELOG text of the three is what the sections above describe.
Three advisories about older releases were published on 19 November 2026, the day after v0.78.0. All three affect releases up to 0.77.2 and name 0.78.0 as the fixed version, so v0.78.1 has the fixes. An upgrade does not undo what an older release already wrote or published, so each has something to check:
| Advisory | Affected | What to do, in short |
|---|---|---|
GHSA-wmxg-px3w-f825, medium: the .crash bundle of soup train did not redact URL credentials, query-string tokens and GitHub tokens | 0.34.0 to 0.77.2 | If you shared a crash bundle, rotate the credentials its configuration or error text held. |
GHSA-7934-7p2w-8fg6, low: soup can pack and soup can fork wrote the configuration into the can as it was stored, credentials included | 0.26.0 to 0.77.2 | If you published or sent a can whose configuration held a credential, rotate it, and pack the can again before you share it. |
GHSA-j8wx-w55h-8r75, low: soup train --push-as created its Hub repository public | 0.29.0 to 0.77.2 | If Soup created the repository for you, check its visibility on the Hub. v0.78.0 does not change a repository that already exists. |
Redaction is pattern-based and best-effort: read a crash bundle or a can before you share it. The advisories credit Magurin for the first two reports and baurvtm-stack for the third.
Supported versions are unchanged: 0.78.x is supported, and 0.77.x gets security fixes only until v0.79.0 is released.
What did not change
The catalog holds 181 recipes, as at v0.78.0. Test files go from 1493 to 1501, counted at the tag. The measurement records, the notebooks and the preprint are the same files. The known limitations of v0.78.0 still apply.
What was checked, and what was not
Run on the v0.78.1 binary (a light install with no Torch): the soup can refusals for a duplicate name, a link, an output of ../x and an experiment_name that climbs out, and the panel of soup can run. Read in the code and not run: the MoE target change, the router precision and the cache rebuild, and the sandbox change. Taken from upstream's CHANGELOG: the rest. Not measured, and not claimed: any figure.
Credit
The release notes print no pull-request count. Of the six pull requests they list, #3150 is by @wanjinhao1 and the other five are by the maintainer; @abdumutalipabay0 reported the merge-key difference.
See also
- v0.78.0: a continual-learning loop and a per-row ship audit
- Soup Cans and Soup Cans v2
- Streaming a Mixture-of-Experts base
- What's new across v0.71 to v0.78
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.