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: credit loop harvest follow-through (#2020)
Alpamys Makazhan1848048d9c59
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex 80791e3e..deb5ee46 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -395,6 +395,8 @@ Listed by first contribution. PR numbers link the work.- Closed the two mutation survivors left by the review of #1707 with a test-only follow-up: an exact-weight `preference_loss_weights` blend is now pinned to follow its first-listed loss in both the loader pre-flight and the unsloth vision refusal, the way the trainer already breaks the tie; making either site prefer the last-listed loss fails exactly its new test ([#1393](https://github.com/MakazhanAlpamys/Soup/issues/1393), [#1739](https://github.com/MakazhanAlpamys/Soup/pull/1739))- Built the `gpu` marker for #833 and left its fourth item open rather than fake it: they had no CUDA card (an Apple M1, MPS only), so `benchmarks/gpu-test-runs.md` is seeded only from the two runs already published (H100, RTX 5070 Laptop) and says neither was a `-m gpu` run. `tests/conftest.py` now holds the one `cuda_available()` probe and a `pytest_runtest_setup` hook that skips `gpu` tests without CUDA and keeps the marker's `reason=`; `gpu` is registered in `pyproject.toml`; 15 private probes and nine identical `requires_cuda` definitions are gone; `CONTRIBUTING.md` gained a "GPU Tests" section. **The part worth copying is how a GPU criterion is held without a GPU**: `tests/test_issue833_gpu_marker.py` scans every file under `tests/` with the AST and rejects a private `cuda.is_available()` probe, a `skipif` on `cuda_available()` and a `pytest.skip` inside an `if` on it, fed every probe style `main` had and required to see more than 500 modules. They also compared the full suite on `main` and on the branch against `pytest -m gpu --collect-only` (79 CUDA skips on `main`, one not selected: a test they split so its CPU half now passes), found a CUDA skip in `test_v0403_part_a.py` that could never fire once a stub had patched `is_available`, and reported a regression of their own (an import below a module-level MPS skip, caught on the Mac). 22 tests in the new file; 13 mutations, all killed, one only by a setup crash that they say is not an assertion kill; no assertion was removed or weakened across the 157 removed test lines. Not run on a CUDA card, and the optional self-hosted GPU runner job is not included ([#833](https://github.com/MakazhanAlpamys/Soup/issues/833), [#1050](https://github.com/MakazhanAlpamys/Soup/pull/1050))- Bounded `soup expect`'s unknown-key refusals as the follow-up agreed in the #1499 review: a suite with 90,000 unknown top-level keys produced a 900,058-character message, and now names the first ten keys and reports the rest as `and N more` (173 characters). Messages with ten keys or fewer stay byte-identical (22 of 22 compared). When review found that the cap was pinned at 10 and 50 keys but not at 11, they added a 9/10/11 parametrization at both levels that catches the off-by-one mutation. 208 passed on the merged tree; 9 of 9 non-equivalent mutations caught ([#1499](https://github.com/MakazhanAlpamys/Soup/pull/1499), [#1570](https://github.com/MakazhanAlpamys/Soup/pull/1570))+ - Completed the loop-thumbs follow-up: pre-flight and harvest now share the `prompt, response, thumb, ts` column contract, refusing malformed tables before foreground or detached watch starts. Added missing-column controls, removed the dead empty-traces guard and clarified the docs, preserving valid-database, lock and timeout behavior ([#1966](https://github.com/MakazhanAlpamys/Soup/pull/1966)).+ - Kept one- and two-pair loop DPO harvests as training rows with `data.val_split: 0` in generated recipes only. Saved iteration notes now distinguish zero pairs from a missing pairs file, with quoted paths and bounded record length; coverage uses real local harvest, row splitting and persistence while training and deployment are mocked ([#1909](https://github.com/MakazhanAlpamys/Soup/issues/1909), [#1968](https://github.com/MakazhanAlpamys/Soup/pull/1968)).- **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)).