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): #2081 [skip ci]

Alpamys1cff0ae45418
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index a83bed0d..3b1cd9a0 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -254,6 +254,7 @@ Listed by first contribution. PR numbers link the work.
- The gate `soup ci init` writes ran `soup data validate` with its permissive default, so a file with one valid row and nine broken ones passed the data step. It now passes `--min-valid-fraction 1.0`, while the validator's own default stays as #811 decided. **The tests take the command out of the rendered YAML and run the real CLI** on 1/10, 9/10 and 10/10 valid files, a quoted file name and a skipped-record file; removing the flag fails 6 of the 10 new tests and the other 4 are controls ([#2055](https://github.com/MakazhanAlpamys/Soup/issues/2055), [#2079](https://github.com/MakazhanAlpamys/Soup/pull/2079))
- Closed #2090, which found that a preference file with a `messages` prompt was auto-detected as ChatML, silently dropped `chosen` and `rejected`, passed `soup train --dry-run`, and failed only after the model loaded with `KeyError('chosen')`. They made `format: auto` resolve to the pair converter for the preference tasks in `data_config_for_task` and added a guard that refuses converted train or validation rows without `prompt`, `chosen` and `rejected` before any trainer is built, for both `--dry-run` and a real run, with a message naming the loaded format and `data.format: dpo`. **The part worth copying is that the tests were written for the spellings, not the example**: string and message-list answers, a system turn or none, `prompt` and `messages` together, a mixed file, all seven tasks, `auto` written and omitted, plus the SFT and KTO controls. 118 new tests; five mutations (task-blind pick, dry-run guard, real-train guard, validation split, all-rows-dropped branch) each fail named tests ([#2090](https://github.com/MakazhanAlpamys/Soup/issues/2090), [#2093](https://github.com/MakazhanAlpamys/Soup/pull/2093))
- Made the CLI work with both a standalone Click and the Click newer Typer releases vendor: one compatibility layer for the command, exception and `ParameterSource` lookups, a nightly-only `typer-vendored` CI job pinned to Typer 0.27.3 / Click 8.4.2, and floor-job cases. **The part worth copying is the CI shape**: the new lane runs on schedule and dispatch only, so pull requests pay nothing for it, and its gate is pinned by a test that four mutations of the condition fail; the one macOS failure (`/var` -> `/private/var`) came back with a test that reproduces it on POSIX ([#1803](https://github.com/MakazhanAlpamys/Soup/issues/1803), [#2013](https://github.com/MakazhanAlpamys/Soup/pull/2013))
+ - Added the RunPod cloud-training controller behind `soup train --cloud runpod` (#264's remaining code slice): plan-only stub, closed GPU table, token-gated submit, and a delete that only counts once a GET returns 404, run as an isolated controller (`python -I`, allow-listed environment that keeps the proxy, temporary-directory, Windows and SSH-agent settings, per-run known-hosts file, output that replaces unencodable characters). **The part worth copying is the mutation table in the description**: after the first review every unguarded check got a test that fails when it is removed, the hardening items came in the same push, and the last round pinned each forwarded variable with its own parametrized case. 73 tests in `test_runpod_hardening.py`; the 44 one-line mutations of the controller and 23 of 25 new ones fail a named test (the other two are an equivalent Windows default and an untested `hasattr` guard) ([#264](https://github.com/MakazhanAlpamys/Soup/issues/264), [#2081](https://github.com/MakazhanAlpamys/Soup/pull/2081))
- **AmixDigital** ([@Amix29](https://github.com/Amix29))
- Added native Sesame CSM fine-tuning for transcript/audio pairs, training the backbone and depth decoder while keeping the Mimi codec frozen; documented supported inputs, refusals and the scoped Apple Silicon evidence ([#265](https://github.com/MakazhanAlpamys/Soup/issues/265), [#1769](https://github.com/MakazhanAlpamys/Soup/pull/1769)).