Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
docs(contributors): ten merges of 2026-09-27, first entries for Kratos and yi111
Alpamys667393bef4e5
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex bd6e0f8b..c6fe9852 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -184,6 +184,7 @@ Listed by first contribution. PR numbers link the work.- The fast-LoRA single-projection pin did not check that the NF4 path builds a graph or keeps the input dtype; it now asserts both, so the two mutations that had survived review fail on CPU ([#1163](https://github.com/MakazhanAlpamys/Soup/issues/1163), [#1173](https://github.com/MakazhanAlpamys/Soup/pull/1173))- `soup doctor --config` gave vision and audio configs an all-clear while `train_on_responses_only` and `mask_history` were unread there; the backend-support registry is now keyed by modality and reports both, with text output unchanged ([#1156](https://github.com/MakazhanAlpamys/Soup/issues/1156), [#1169](https://github.com/MakazhanAlpamys/Soup/pull/1169))- `soup mcp serve` wrote a child's output through whatever `.soup/mcp-runs` resolved to. So a directory symlink or junction at `.soup` or `.soup/mcp-runs`, or a hard link planted at the log path, sent training output wherever it pointed. Execution now refuses all three before spawn, with a message that names the reason and no path, and nothing is created at the link target. **Three rounds, and each one closed what the last one found.** A hard-link refusal first placed in the shared `open_no_follow` silently cost the audit log and the draft registry their records, so they scoped it to the run log. A directory check copied inline left the shared helper out of reach of every test, so they made it one helper in `utils/paths.py`. The pre-`mkdir` check let a refused execution hold the one-execution slot until restart, so they moved the call inside the slot-freeing `try` and kept the regression test. On Windows and Linux every refused layout frees the slot and a fresh plan runs, and 19 of 20 mutations fail tests ([#1158](https://github.com/MakazhanAlpamys/Soup/issues/1158), [#1171](https://github.com/MakazhanAlpamys/Soup/pull/1171))+ - `training.packing: true` silently trained SFT on the prompt: TRL packs only `input_ids`, so the `labels` mask was discarded and system and user tokens became targets (234 supervised positions where the unpacked run had 81). They carried the mask through `assistant_masks`, the column TRL's packing keeps and its collator always applies, derived once for train and eval, text and pre-tokenised data. The review round added the missing validation-split test and removed a second derivation that had left half of the fix untestable. New tests 6 passed and 5 fail on main; 5 of 6 mutations caught ([#1236](https://github.com/MakazhanAlpamys/Soup/issues/1236), [#1304](https://github.com/MakazhanAlpamys/Soup/pull/1304))- **AmixDigital** ([@Amix29](https://github.com/Amix29))- Gave `soup monitor` a real Apple Silicon path, where it had reported nothing but an NVIDIA-shaped blank since v0.44.1. The security work is the part worth naming: fixed absolute executable paths so `PATH` cannot influence what runs, `sudo -n` that never prompts and never reads a password, stderr pattern-matched for permission markers but never printed, and a parser that returns `[]` against a billion-laughs entity bomb, an XXE `file:///` reference, 5,000-deep nesting and embedded NUL bytes. **Three guards had no test holding them up and they closed all three in twenty minutes** — most importantly the call site that decides which implementation every Linux and Windows user gets, where `if True or detect_apple_silicon()` had left 126 tests passing. Their oversize-payload test had also been asserting on `b"x" * (CAP + 1)`, which is not a valid plist and returns `[]` whether the cap exists or not; they rebuilt it around a valid oversized document. The test file shrank by 18 lines and **every deletion was an upgrade** — membership assertions became adjacency assertions. Asked to confirm the live plist schema, they said plainly that the Mac is not theirs and they cannot authenticate `sudo`, rather than guessing — while confirming the two things they could check against the real binary ([#481](https://github.com/MakazhanAlpamys/Soup/pull/481))@@ -244,6 +245,8 @@ Listed by first contribution. PR numbers link the work.- `mini_tool_call` sat at 1.000 on a capable model once v0.73.2 repaired its scorer, and a suite pinned at the ceiling detects a regression as poorly as one pinned at zero. It is now a 40-row selection-and-abstention suite, 24 tool calls and 16 rows whose correct answer is exactly `NO_TOOL`, scoring 0.850 on Qwen2.5-7B-Instruct against 0.050 on SmolLM2-135M-Instruct. **The scale was chosen by measurement, and the record keeps the option they turned down**: a 32-row candidate at 0.969, still too close to the ceiling. The scorer revision and fingerprint move together, so a baseline taken before the change warns instead of being compared across scales, and the exact-abstention contract is pinned against `startswith`, case-folding and stripped backticks ([#405](https://github.com/MakazhanAlpamys/Soup/issues/405), [#1111](https://github.com/MakazhanAlpamys/Soup/pull/1111))- Made `soup adapters sign --backend sigstore` live: keyless signing through sigstore-python 4.x over the adapter's Merkle root, coded against the real 4.5.0 API rather than the issue's old sketch. **Verification trusts only an out-of-band certificate identity and OIDC issuer, never the identity the bundle carries, and refuses an identity policy on any non-Sigstore record** (the same shape the v0.75.1 `--public-key` fix closed). Browser OIDC is opt-in, so headless runners fail instead of hanging. The Sigstore stack lives in its own `[sigstore]` extra, so air-gapped ed25519 users pull nothing new. Every failure (identity mismatch, sigstore's own errors, a missing extra, bundle text carrying terminal escapes) reaches `adapters verify` as a finding with `--strict` exit 3. The last push also checks the record path before any signer runs, which stops `ed25519 --generate-key` from leaving a private key behind ([#185](https://github.com/MakazhanAlpamys/Soup/issues/185), [#1114](https://github.com/MakazhanAlpamys/Soup/pull/1114))- Made Llasa's XCodec2 live encoding real and replaced Sesame CSM's false install hint with a config-load refusal that says why it cannot be trained; pinned torchaudio in the floor CI job, where pip had paired torch 2.6.0 with an incompatible torchaudio and killed the job before its test ran ([#265](https://github.com/MakazhanAlpamys/Soup/issues/265), [#1112](https://github.com/MakazhanAlpamys/Soup/pull/1112))+ - Made `soup attest emit --sign sigstore` live, where it had printed "infra-blocked" and silently written an UNSIGNED attestation with exit 0. **Every local check runs before the first Fulcio/Rekor request, because a Sigstore signature is a permanent public Rekor entry carrying the signer's identity**: `--output`, paths, `--key` and case variants of `--sign` are all refused first. Verification needs an out-of-band identity and issuer, and a verifier outage now exits 1 instead of being reported as tampering. 19 of 20 mutations of the sign and verify paths were killed at the final head ([#179](https://github.com/MakazhanAlpamys/Soup/issues/179), [#1115](https://github.com/MakazhanAlpamys/Soup/pull/1115))+ - Published the STEP 13 CPU fixture-window probe (`benchmarks/harness/fixture_window_cpu.py`), which answers both questions the scratchpad lost: where the CI fixture sits relative to the fused-kernel window, and whether bitsandbytes' CPU inference packing causes the recorded rounding-scale difference, one `Linear4bit` at a time against Soup's shipped variant 2. The default run fails closed on every axis (control exact on every row, packing present, every packed row different, every difference inside 2%), and each row carries a same-run emulated-bf16 reference, so the envelope is justified by the harness's own output (4.17x the worst emulated row). Its conditional test surfaced the first real AVX512-BF16 run, on a GitHub runner: 12 of 12 rows packed with the native kernel, 0.375-0.572% against variant 2. Final review: 30 tests (63 with the README reader), all 30 failing on main; the three mutations that had left the emulated reference unpinned each fail a test ([#379](https://github.com/MakazhanAlpamys/Soup/issues/379), [#1144](https://github.com/MakazhanAlpamys/Soup/pull/1144))- **Srinivasan R** ([@Srinivasan8888](https://github.com/Srinivasan8888))- Corrected the MCP execution-tool refusal so it gives an actionable `--allow-execute` message instead of claiming shipped tools are unimplemented ([#574](https://github.com/MakazhanAlpamys/Soup/pull/574)).@@ -304,6 +307,7 @@ Listed by first contribution. PR numbers link the work.- `soup data preprocess` skipped any row it could not tokenize with a bare `continue` and exited 0, while live `soup train` stops on the same rows. So a `pre_tokenized` run could train on 3 of 5 rows under a `soup.yaml` whose live run refuses, with nothing naming the two that went. The command now refuses what live training refuses, and **the way that was established is the part worth copying**: the same rows through both paths, case by case. When live pretraining turned out to stop on a text row the tokenizer rejects, they removed the pretrain carve-out and inverted the test that had pinned it, rather than keep a documented exception. The refusal numbers the row as training does, quotes the start of the row, and is terminal-safe down to the role, which they capped, `repr`'d and routed through `for_terminal`. A clean dataset caches the same bytes as before, and 19 of 21 mutations fail tests in both colour modes ([#1180](https://github.com/MakazhanAlpamys/Soup/issues/1180), [#1182](https://github.com/MakazhanAlpamys/Soup/pull/1182))- `training.moe_lora` was accepted and read by nothing on eight tasks; it is now wired into distill, unlearn and the classifier family, and refused at config load wherever no adapter is built (asr, moe_lora_routing, prm, backend: unsloth, SFT vision/audio), with all 19 mutation cases killed ([#1151](https://github.com/MakazhanAlpamys/Soup/issues/1151), [#1179](https://github.com/MakazhanAlpamys/Soup/pull/1179))- A missing torchao now stops an explicitly requested FP8 run (card checked first) instead of falling back silently, and `soup train` refuses before the model loads; running the real CLI also turned up Rich eating the `[qat]` extra from the install hint, fixed in the same PR ([#835](https://github.com/MakazhanAlpamys/Soup/issues/835), [#1154](https://github.com/MakazhanAlpamys/Soup/pull/1154))+ - Added `soup recipes verify`, the check #1116 argued nothing ran: does a shipped config actually reach an adapter? It fetches only `config.json`, builds the architecture on the meta device with the class that config's trainer loads, and runs Soup's own target resolution, the `moe_lora` rescue and the real peft attach with the config's own LoRA settings. So the verdict is the trainer's, not a re-implementation of it. A gated or remote-code repo is reported as unverified rather than broken, and exit codes follow the gate/verdict contract. The design choice worth copying is attaching instead of grepping: before any code, their live run found three MoE-by-architecture recipes (`gpt-oss-20b-sft`, `gpt-oss-120b-sft`, `minimax-m2-sft`) that #1102's flag-based sweep could not see. Six review rounds, each point closed with a measurement: a skeleton that keeps one layer of every kind (26 catalogue rows gained adapted modules, 0 verdicts changed), a broken library that exits 1 instead of turning into a verdict, and a `--json` stdout that stays a document even when the config loader warns. On the final head merged with `main`, 124 tests pass and 7 of 7 source mutations fail a test ([#1116](https://github.com/MakazhanAlpamys/Soup/issues/1116), [#1117](https://github.com/MakazhanAlpamys/Soup/pull/1117))- **Sohaib Kamash** ([@Nick-800](https://github.com/Nick-800))- Added seven validated Qwen2.5-Coder, Qwen2.5-Math, and DeepSeek-R1-Distill-Qwen SFT recipes; synchronized all catalog-count sites and repaired the Mistral Small model identifier. Literal repository IDs and per-recipe learning rates are now load-bearing assertions ([#536](https://github.com/MakazhanAlpamys/Soup/pull/536)).@@ -355,6 +359,7 @@ Listed by first contribution. PR numbers link the work.- Made `soup sweep --dry-run` validate instead of returning before the config loads, and **then reproduced a claim I had publicly said did not reproduce** — which is the part worth recording. Their first version asserted that every real sweep on Python 3.10 died with `issubclass() arg 1 must be a class`; I could not make that happen and blocked on it. They came back with the discriminating variable, and it was never the Python patch level: **pydantic 2.10.6's `ModelMetaclass` does not define `__subclasscheck__` and inherits ABCMeta's, which raises, while 2.13.4 defines a tolerant one**, so the PEP-585 alias never reaches `abc.__subclasscheck__` on a current stack. Confirmed on my own box — the quirk `isinstance(dict[str,float], type) is True` is live there, and `issubclass` returns `False` rather than raising. Both observations were the same fact. They also characterised the trigger rather than leaving it abstract: `training.preference_loss_weights: Optional[dict[str, float]]`, reached through a full `model_dump()`, i.e. *every* config. The guard that replaced the environment-dependent test is the model answer — an ABCMeta stand-in monkeypatched over `pydantic.BaseModel` recreates the pre-override metaclass, so removing the filter dies on any 3.10 box whatever pydantic is installed, verified on the masked stack where every earlier test had passed with the filter gone. Twelve tests became fourteen, all through the real CLI with a clean-config control; zero deleted test lines ([#642](https://github.com/MakazhanAlpamys/Soup/issues/642), [#645](https://github.com/MakazhanAlpamys/Soup/pull/645)).- Settled a disputed bug by measuring it, and **the answer was that my own status note was wrong** — which is the harder thing to deliver than a fix. [#623](https://github.com/MakazhanAlpamys/Soup/issues/623) said `stream_pin: false` was accepted and ignored; they showed the field **did not exist at the v0.73.3 tag** the reporter was running (`grep -c stream_pin` -> 0, against 18 for `stream_layers` as a control), so pydantic's `extra="ignore"` dropped the key, the default pinned path ran, and the reported OOM is what a *correctly pinned* run looks like. The wiring is honoured end to end on `main`. **The PR is still worth merging, and for a reason that is the point of it**: nothing guarded the chain below the layer every existing test stops at. Mutating the deepest hop so the flag is *recorded* and then ignored at allocation (`pin_memory=self.pinned` -> `True`) leaves **169 pre-existing streaming tests green**; this file is the only thing that catches it — because it asserts `is_pinned()` on the real allocation rather than the recorded attribute, which is what an attribute assertion would have missed. Tests only, no source change, correctly no changelog fragment, and a non-empty-store guard so the CUDA test cannot pass while measuring nothing ([#623](https://github.com/MakazhanAlpamys/Soup/issues/623), [#647](https://github.com/MakazhanAlpamys/Soup/pull/647)).- `benchmarks/harness/issue361_nf4_throughput.py` pins the v0.72.2 8B NF4 protocol — batch 1, S=512, 50 steps after 10 warm-up, `PagedAdamW8bit`, a same-session GEMM ceiling — so a post-#331 reading is comparable to the record rather than being a differently-shaped run. **The PR ships no number, deliberately, and is worth more for it.** The original figures were measured on an RTX 3050 Laptop 4 GB; the dev box is now an RTX 5070 Blackwell with twice the VRAM, so a run there would be a change in the INSTRUMENT rather than evidence about repaired code. They built the protocol and left the measurement for the card that can answer the question — which is the distinction the whole `benchmarks/` folder exists to protect. All eight review items closed, seven mutations and seven kills, `Refs #361` confirmed correct via GraphQL rather than assumed. **The conflict resolution is the other half**: rebased across eleven merges, their row inserted in `benchmarks/README.md` without dropping a word of the neighbouring `stream_probe.py` row, and `README.tr.md` re-stamped last as guard #852 requires ([#361](https://github.com/MakazhanAlpamys/Soup/issues/361), [#1014](https://github.com/MakazhanAlpamys/Soup/pull/1014))+ - Measured the post-#331 8B NF4 row on their own RTX 3050 Laptop 4 GB: 208.6 tok/s at 1935 MHz in a 2.40 GB peak. They **published the unflattering reading instead of the headline**: the raw 1.74x over the pre-repair 119.6 tok/s is a 2x clock difference, per unit clock the repaired code is about 14% slower (68% -> 59% of the same-session ceiling), and the record attributes that shortfall to none of the three changes it lists. Four review rounds tightened the provenance. The run date was recovered from the output file's timestamps, and the committed JSON was tied to that file byte for byte. The two laptops behind the two rows are told apart, and an unverifiable console line was removed rather than defended ([#361](https://github.com/MakazhanAlpamys/Soup/issues/361), [#1103](https://github.com/MakazhanAlpamys/Soup/pull/1103))- **Aravind S** ([@ARAVIND281](https://github.com/ARAVIND281))- Measured the layer-streaming VRAM fit on a **second GPU and software stack** — an A10G 23 GB on Ubuntu with torch 2.13 / transformers 5.16.1 / trl 0.29.1, against the RTX 3050 laptop on Windows and torch 2.5.1 that every previous figure came from. All three findings are constraints on an open question rather than extra data points beside it: the v0.73.1 long-sequence under-prediction **does not reproduce** (flat 1.1621-1.1694 across seq 2048-6144 where the RTX series reads 0.787x at 6144), the logits loss term measures **12.000000 exactly** and invariant across vocabulary and torch version — so the shipped 14's `+2` retained copy, which #327 has never identified, demonstrably does not happen here — and the SDPA hypothesis #395 names as leading is **not supported**, with the math backend included as a positive control that IS expensive enough (3.27 GB at seq 6144) to prove the measurement could have found it. **They retracted their own headline figure mid-review** — a back-solved 11.83 B/element — and then enforced the retraction in CI rather than in prose: writing 11.83 back into the constant fails a named test. The discarded first sweep is kept in the record because its failure is silent: `data.max_length` truncates rather than pads, so short rows run at their own length while the prediction keeps climbing, producing a clean-looking over-prediction that is entirely an artifact and would mislead the next person identically ([#395](https://github.com/MakazhanAlpamys/Soup/issues/395), [#610](https://github.com/MakazhanAlpamys/Soup/pull/610))@@ -481,12 +486,14 @@ Listed by first contribution. PR numbers link the work.- **Harsh Raj Singhania** ([@HarshRajSinghania](https://github.com/HarshRajSinghania))- First contribution. With six of seven `[train]` packages installed, `soup doctor` announced `Training stack not installed` and recommended `pip install "soup-cli[train]"` — a command that is a no-op for the six already satisfied. `group_missing` flipped on the first absent member, so **the usual broken install, one missing wheel, was reported as no install at all**. A partial stack now names what is missing. The same patch gates the NVIDIA wheel-tag hint on torch actually being absent: with torch present on a CUDA box that hint explains how to obtain a CUDA build of a package you already have, and it was printing anyway. **What decided this over a competing patch was the test.** The wheel-tag gate had a mutation that survived on the earlier head — dropping `and torch_missing` changed nothing any test could see — and they added `test_doctor_nvidia_partial_stack_with_torch_present`, after which that mutation fails exactly one test and no others. The assertion is `"index-url" not in out` rather than a specific sentence, which catches the hint appearing in either `issues` or `fix_pre`; a sentence match would have missed the duplicate line. They also took a consolidation request seriously when arguing that the original patch already passed its own tests would have been easier ([#875](https://github.com/MakazhanAlpamys/Soup/issues/875), [#884](https://github.com/MakazhanAlpamys/Soup/pull/884))+ - Two `soup shrink` containment tests downloaded a tokenizer from the Hugging Face Hub before asserting a purely local refusal, so a slow runner turned an arbitrary-write guard into a red cell on unrelated PRs. **The diagnosis was the valuable half**: the Hub call lived in the test helper, not in `soup shrink`, so the command needed no reordering. The `--output-dir` test now stubs `_resolve_trc` to raise, which pins the refusal to run before any model load (moving the refusal after the config load fails it). It and the calib test now assert the refusal text rather than `"cwd"` anywhere in the output, which pytest's own temp-directory name had been satisfying. Verified on the merged tree with the network blocked: 3 passed with zero connection attempts, where `main` fails 2 of 3 after 185 s; three of four containment mutations killed, the fourth uncaught on `main` too ([#1076](https://github.com/MakazhanAlpamys/Soup/issues/1076), [#1077](https://github.com/MakazhanAlpamys/Soup/pull/1077))- **Vansh Sharma** ([@VanshSharmaPES](https://github.com/VanshSharmaPES))- First contribution. Six command modules, `utils/ship_verdict.py` and `mcp_server/registry.py` each carried a **byte-identical** private copy of the C0/DEL control-strip table instead of importing v0.75.0's shared `utils/terminal.py:for_terminal` — which is exactly how the config loader's own fix went missing for a whole release. **The find that justifies the ratchet is the ninth copy**, which a grep for `_CONTROL_STRIP_TABLE` would never have located: `commands/serve.py`'s `--auto-spec` pairing message had the same table under a local `_ctrl` name. So the guard walks the whole AST rather than matching an identifier, and catches the name, a renamed module-scope copy and a function-local copy alike. It finds zero offenders today, which makes its own can-it-fail test the load-bearing half — and that test was added after review rather than argued away. Two theoretical spellings and the parse-failure case are recorded as limits rather than chased, which is the right call: a guard that chases every spelling is how guards become unmaintainable ([#896](https://github.com/MakazhanAlpamys/Soup/issues/896), [#907](https://github.com/MakazhanAlpamys/Soup/pull/907))- `proof-4gb.ipynb` pinned an unreleased version, so anyone running the notebook got a different tool than the one the proof was measured with ([#844](https://github.com/MakazhanAlpamys/Soup/issues/844)). They repinned it to a released version **and re-ran it on a real T4** rather than repinning and assuming — the distinction that matters for a notebook whose entire purpose is evidence. A correction they made mid-review was itself correct. ([#910](https://github.com/MakazhanAlpamys/Soup/pull/910))- `benchmarks/run-t4-colab-free-tier.md` forecast 31-46 tok/s for the free-tier T4 from an assumed clock; the card actually runs at a measured **525 MHz**, 33% of its 1590 MHz boost, so the record now carries 20.39 TFLOPS measured and a 288-423 bracket. Every cited figure is traceable into the notebook re-run in [#910](https://github.com/MakazhanAlpamys/Soup/pull/910) and the arithmetic reproduces (`20.39/2.20 = 9.27`, `288/31 = 9.29`, `423/46 = 9.20`). **The detail worth copying is one of the three stale markings**: the `31-46` occurrence sitting inside the captured transcript is left **verbatim**, because that is what the panel printed — rewriting a number inside a recorded transcript turns a record into a reconstruction, and they marked it in place instead. The rebase was the real risk, since #910 edited the same file, and `range-diff` shows both commits `=` with the diff against main still exactly +42/-1. They were also explicit that this publishes a **corrected but still unvalidated** forecast rather than letting a fixed number read as a validated one, and said so in the file itself — which is what turned the maintainer's unmet acceptance criterion into its own tracked issue ([#999](https://github.com/MakazhanAlpamys/Soup/issues/999)) instead of a quietly half-met box ([#714](https://github.com/MakazhanAlpamys/Soup/issues/714), [#967](https://github.com/MakazhanAlpamys/Soup/pull/967))- Removed the two orphaned BitNet helpers (`utils/bitnet.build_bitnet_trainer`, `utils/bitnet.validate_bitnet_compat`) that nothing imported, per the ruling on #1004, and replaced their tests with absence pins: restoring either as a stub, or re-exporting the live wrapper under the old name, fails a test. **When review showed that an extra change to the async disk reader rested on a race that did not exist, they reverted it within minutes and said so plainly**, so the squashed diff touches no streaming file ([#1004](https://github.com/MakazhanAlpamys/Soup/issues/1004), [#1034](https://github.com/MakazhanAlpamys/Soup/pull/1034))+ - On an untied streamed checkpoint, `embed_tokens` and `lm_head` share one device slot, so every step's first lookup waited for a whole head-sized copy that `_prime()` issued with nothing to overlap it. The issue first blamed the disk reader's `_plan_queue`. They showed the cost was the shared slot's ping-pong instead, and retracted a sentence of their own analysis that nobody had challenged. The fix reloads the embedding at the tail of the previous step's backward and keeps `_prime()`'s load as a same-owner fallback: 18.6-22.7 ms of embedding wait became 0.12-0.19 ms per step on an RTX 5070, bit-identical to `main` and to resident (CPU fp32 for SFT, ORPO, SimPO, DPO and KTO; CUDA bf16 for SFT and DPO). **The part worth copying is the guard, not the speedup**: the refill's only GPU-side protection is the `wait_stream` in `LargeLayerBufferPool.load_async`. They committed a pool-level GPU test for it that does not depend on host speed, ran it on their own RTX 3050 (5/5 passing, and 5/5 failing with the guard patched out), and said so when a first mutation attempt had run against unmodified code. A 4-layer test pins that the refill fires once per backward, at layer 0. 10 of 12 mutations fail the tests; the survivors are an equivalent flag check and the GPU-only guard ([#975](https://github.com/MakazhanAlpamys/Soup/issues/975), [#1178](https://github.com/MakazhanAlpamys/Soup/pull/1178))- **fei** ([@feiiiiii5](https://github.com/feiiiiii5))- First contribution, and it fixes the command whose whole job is to report this project's most common defect. `soup doctor --config` printed `Every setting this config writes is read on this backend.` for a `task=sft backend=mlx` config setting `use_liger: true` and `neftune_alpha: 5` — two fields MLX never reads. **The wording was the real defect, not the table.** A seven-entry table produced a sentence about the entire config, so the all-clear was a guarantee built on evidence that did not support it, and the fix scopes it: `None of the N setting(s) known to be unread on task=<task> backend=<backend> is set in this config.` The two repro fields were added to `_MLX_SFT` with matching branches in `trainer/mlx_sft.py::_check_unsupported`, so the trainer reports them too rather than only the doctor. Each entry was grep-checked for zero hits across the three MLX modules **before** being declared unread, which is the step that keeps a declared table honest. Verified here against the issue's exact repro in both directions — on `main` that config prints the all-clear, with this change it prints the two-row table and the scoped count — and confirmed no conflict with the five other open PRs touching `commands/doctor.py`. The narrowing to 2 of the issue's 11 fields was declared rather than hidden, and the follow-up for the remaining nine is filed ([#903](https://github.com/MakazhanAlpamys/Soup/issues/903), [#911](https://github.com/MakazhanAlpamys/Soup/pull/911))@@ -542,6 +549,7 @@ Listed by first contribution. PR numbers link the work.- First contribution, and it closes a silent-wrong-data defect: `data.chat_template` reached NEITHER half of the preprocess cache - the rendering ignored the override and the key did not name it, so two configs differing only in their template shared one cache entry and whichever ran first decided the tokens both of them trained on. Measured on `main` before the fix: a config with an override produced a cache holding the SHIPPED template's markup, and an unregistered template name was accepted with exit 0. **What makes it a good first PR is the second round.** The first head weakened the repo's only positive pin on the cache schema token into a vacuous `!=` - a six-field blob can never equal a five-field one - so forcing the token back to `v2` left 18 tests green; they restored a real `==` pin, and v2, v3 and v5 now each fail. Nine mutations, nine kills, one per half: key, render, training gate, metadata provenance, and both directions of the new refusal message. The fixture for "a cache written before the fix" is a real main-written key rather than a hand-rolled stand-in - I reproduced it byte for byte ([#1067](https://github.com/MakazhanAlpamys/Soup/issues/1067), [#1082](https://github.com/MakazhanAlpamys/Soup/pull/1082))- Took the follow-up named in the merge note of their [#1082](https://github.com/MakazhanAlpamys/Soup/pull/1082): an unregistered `data.chat_template` name escaped as a bare `KeyError` traceback. In `soup train` it only escaped after the model had downloaded and loaded, and `--dry-run` and `--cloud` passed it with exit 0. **They measured where it escaped instead of counting call sites.** That put the `train` check right after the config loads, which covers every `soup train` run, rather than in the two trainer paths where it surfaced. Review then found a terminal-safety gap: the name came from `soup.yaml`, so ESC/BEL bytes and Rich markup in it reached the terminal. They routed the message through the shared `for_terminal`, and then pinned both of its halves. Control bytes and a `x[/]` name that used to raise `MarkupError` each have their own test, and each fails if its half is removed. The final head has 13 mutations and 13 kills, with and without forced colour ([#1175](https://github.com/MakazhanAlpamys/Soup/pull/1175))- `soup data preprocess` keyed its cache on the tokenizer, template and mask mode but not on what decides which rows exist, so configs differing only in `val_split` or the replay settings shared one cache and a second run overwrote the first. **The key now comes from one helper and a declared table covering every `DataConfig` field, with a test that fails on an unlisted one**, and the `pre_tokenized` gate refuses a changed row-set input. They audited past the issue and keyed four more fields the loader really reads, and their hand-written one-field-apart cases caught moves the table walk alone would miss; 15 of 15 mutations fail a test ([#1127](https://github.com/MakazhanAlpamys/Soup/issues/1127), [#1253](https://github.com/MakazhanAlpamys/Soup/pull/1253))+ - Took all four #1272 follow-ups from the #1253 review within an hour of the issue being filed: a refused `pre_tokenized` cache now says why. `metadata.json` records the key generation and the row-set inputs, so a cache from before row-set keying says it predates #1127, and a current cache names the `data.*` fields that changed instead of showing two bare hashes. The seven exclusion reasons now describe the code and are tied to the staged-field and consumer allowlists, and the gate's `task` lost its default. **Review found the oldest-first order unpinned**, because the writer change left the older-cache fixtures carrying the new fields. They added the supplied test and took all three optional points in the same commit, so an unreadable `dataset_key` now names no field. All 15 mutations fail a test at the final head ([#1272](https://github.com/MakazhanAlpamys/Soup/issues/1272), [#1281](https://github.com/MakazhanAlpamys/Soup/pull/1281))- **Rishabh Jangid** ([@rishcx](https://github.com/rishcx))- `lookup_gpu_rate` matched GPU names as SUBSTRINGS, so `A100X`, `A1000` and `RTX A1000 Laptop GPU` were all priced as an A100 and a general row could shadow a specific one. Every pattern is now word-anchored at both ends, the table is ordered most-specific-first, and current hardware (L4, H200, B200, RTX 40/50, RTX PRO 6000) has rates - which also turns the `soup loop` budget gate on for those cards. Two rounds, and the second closed both surviving mutations: the trailing-`\b` case is now pinned twice, by a hygiene test AND by a behavioural fixture, so a variant that keeps a textual `\b` while defeating it is still caught. The four names that become unknown are named in the changelog, because rendering an em dash is the visible change for whoever relied on the wrong number ([#831](https://github.com/MakazhanAlpamys/Soup/issues/831), [#1081](https://github.com/MakazhanAlpamys/Soup/pull/1081))@@ -566,6 +574,12 @@ Listed by first contribution. PR numbers link the work.- First contribution: `--baseline registry://` kept each benchmark's oldest eval score while its provenance warning came from the newest row, so re-measuring a baseline silenced the warning and left the stale score in the gate: a candidate at 0.38 passed against 0.30 instead of regressing against the re-measured 0.45. The score and the provenance now come from the same newest row. Provenance is checked per benchmark, which caught a scorer-revision mismatch `main` missed entirely. Ties on `created_at` resolve by insertion order, and `soup eval gate` escapes the warning now that it carries benchmark names. All 8 mutations tried across two review rounds fail a test ([#1224](https://github.com/MakazhanAlpamys/Soup/issues/1224), [#1260](https://github.com/MakazhanAlpamys/Soup/pull/1260))- `soup data forge --judge-provider` turned every failed judge call into an empty-answer row that no `--uncertainty-threshold` could prune, then exited 0 under a green "synth complete" panel. Failed, malformed and empty replies are now counted and never become rows. A run with no usable row exits 1 and writes nothing, and a partial outage keeps the good rows under a yellow panel that names the provider, the endpoint and the first error with its cause. The failure modes were tested against a real local HTTP server for ollama and vllm. 25 of the 28 new tests fail on `main`, and every mutation of the core fix fails a test ([#1221](https://github.com/MakazhanAlpamys/Soup/issues/1221), [#1261](https://github.com/MakazhanAlpamys/Soup/pull/1261))+- **Kratos** ([@wanjinhao1](https://github.com/wanjinhao1))+ - First contribution: `soup autopilot` turned on FlashAttention and Liger on every Ampere or newer GPU without checking that the packages were installed, so on a standard install `soup train` refused the config autopilot had just written, and the Liger refusal's install hint lost its `[liger]` extra to Rich markup. Both flags are now gated on the same probes `soup train` validates with, the Decisions panel names a missing package and its install command, and the eight validator messages print literally. Verified: 70 passed across the autopilot tests, the 19 new tests fail on `main`, and all 6 mutations of the fix fail a test ([#1212](https://github.com/MakazhanAlpamys/Soup/issues/1212), [#1257](https://github.com/MakazhanAlpamys/Soup/pull/1257))++- **yi111** ([@Yi-111-a](https://github.com/Yi-111-a))+ - First contribution: with torchao actually installed, four FP8-gate tests failed. The `converts` fixture stubbed `torchao` as a bare module that transformers' torchao quantizer could not import, and two "torchao absent" tests left real `torchao.*` submodules cached. The fixture now pre-seeds a package-shaped stub tree, the absent-torchao tests clear cached submodules, and the torchao-contract CI job runs the file against real torchao. **They fixed two failures the issue had not listed.** Those appear only when an earlier test file has already imported torchao, which is the CI job's own order. With torchao 0.18.0, `main` fails 4 of 333 in that job's command and the branch passes all 333; 5 of 7 fixture mutations fail a test ([#1205](https://github.com/MakazhanAlpamys/Soup/issues/1205), [#1284](https://github.com/MakazhanAlpamys/Soup/pull/1284))+---Want to join this list? See [CONTRIBUTING.md](CONTRIBUTING.md) — good first issues are