Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

docs(contributors): first entries for Suyog Verma (#1292), Jamal Kamaladdinoglu (#1254) and Y.B. (#1256); Kratos (#1259)

Alpamys4fa385b51c25
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 0fba4cbf..94d6667f 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -576,6 +576,7 @@ Listed by first contribution. PR numbers link the work.
- **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))
+ - `soup data doctor` could not mirror `data.mask_history: true`: its report and `--show-mask` preview trained every assistant turn, while such a run trains only the last. A new `--mask-history` flag is threaded through every label builder the doctor uses, and it is refused with `--no-train-on-responses-only` or `--train-on-messages-with-train-field`, exactly as `soup.yaml` refuses them. Verified: 16 passed in the new test file (14 failed on `main`), and all 10 mutations of the fix fail a test ([#1251](https://github.com/MakazhanAlpamys/Soup/issues/1251), [#1259](https://github.com/MakazhanAlpamys/Soup/pull/1259))
- **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))
@@ -586,6 +587,15 @@ Listed by first contribution. PR numbers link the work.
- **Krishna** ([@Ru0k3](https://github.com/Ru0k3))
- First contribution: `soup registry diff`, `soup eval compare` and `soup eval leaderboard` kept the oldest eval score per benchmark. They overwrote rows in the tracker's newest-first order, so a re-measurement was ignored: on the issue's example both commands reported +0.20 and no regression, where comparing the newest scores gives a -0.05 regression. **They found that the leaderboard had the same bug, which the issue did not name**, and routed all three commands and the eval gate's `registry://` baseline through one helper that picks the newest `created_at` and then the latest insert. Their tests list rows newest first, as the tracker returns them, so restoring the old code at any call site fails a test. The second round added a two-model leaderboard test for the one mutation that had survived, and skips empty benchmark names as #1260 did. 13 of 15 mutations fail a test, and the other two would need a NULL value that the schema forbids ([#1270](https://github.com/MakazhanAlpamys/Soup/issues/1270), [#1291](https://github.com/MakazhanAlpamys/Soup/pull/1291))
+- **Suyog Verma** ([@commit-msuyog](https://github.com/commit-msuyog))
+ - First contribution: A local `.parquet` dataset with list columns loaded 0 training rows for eight formats, because pandas handed every list cell to the converters as a numpy array, and `soup data validate` / `inspect` crashed on the same file. The loader now reads parquet with pyarrow, so rows match the same data in JSONL, and it drops pandas' hidden `__index_level_N__` index column while keeping a named index. The new tests fail 15 of 24 on `main`, and all 5 mutations of the fix fail a test ([#1218](https://github.com/MakazhanAlpamys/Soup/issues/1218), [#1292](https://github.com/MakazhanAlpamys/Soup/pull/1292))
+
+- **Jamal Kamaladdinoglu** ([@jamalkamaladdin](https://github.com/jamalkamaladdin))
+ - First contribution: `soup migrate --from axolotl` turned `rl: orpo`, `ipo` and `simpo` into `task: sft` with no warning, so those preference configs migrated as SFT or failed at load on a `data.format` error that never named `rl`. They now map to Soup's `orpo`, `ipo` and `simpo` tasks with `data.format: dpo`. Any other `rl` value, such as axolotl's `ebft`, stops the migration with exit 1 and names the value and the supported list, printed through `for_terminal` so a YAML value cannot restyle or hijack the terminal. On `main` all 11 new tests fail; 12 of 12 mutations in the last round fail a test ([#1214](https://github.com/MakazhanAlpamys/Soup/issues/1214), [#1254](https://github.com/MakazhanAlpamys/Soup/pull/1254))
+
+- **Y.B.** ([@drakeo338](https://github.com/drakeo338))
+ - First contribution: `soup shrink` scored the layers of a Qwen2, Qwen3, Qwen2-MoE or SmolLM3 model, then died at save, because the prune left `layer_types` (and SmolLM3's `no_rope_layers`) at the old length. The lists are now sliced by the same kept indices as the layers. When review showed that MoE layouts naming layers by NUMBER (`mlp_only_layers`, `decoder_sparse_step`, `moe_layers`, `interleave_moe_layer_step`) would now reload with their expert and dense MLPs on the wrong layers, they took the guard on in the same PR. It refuses a non-default layout from `config.json` before the weights load, so `--plan-only` agrees with the real run, and it keeps a default layout valid, so a shrunk Llama4-text model shrinks again. On `main` 42 of the new file's 51 tests fail; 9 of 10 mutations in the last round fail a test ([#1241](https://github.com/MakazhanAlpamys/Soup/issues/1241), [#1256](https://github.com/MakazhanAlpamys/Soup/pull/1256))
+
---
Want to join this list? See [CONTRIBUTING.md](CONTRIBUTING.md) — good first issues are