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): Faisal Fayaz's 12th merge (#1756) (#2028)
Alpamys Makazhand52de8d52546
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex 83314412..0ac80695 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -130,6 +130,7 @@ Listed by first contribution. PR numbers link the work.- `stream_layers` accepted `use_liger` and `use_flash_attn`, trained, and ignored both, because only the resident setup reads them. They claimed the issue, refused both at config load in the existing conflict list, resolved the issue's second box by pinning the task gate that already covers the streamed preference tasks rather than adding a dead branch, and added a scan test that fails when the streamed setup starts reading either field. When the review showed their "byte-identical" control asserted on pydantic's multi-line rendering and could not fail, they rebuilt it on the raw message (it now fails 6 mutants), fixed the trailing space it had hidden, and took the optional suggestion of naming only the switches that are set. 33 tests (7 of the first 32 fail on `main`), 9 validator mutations killed ([#1692](https://github.com/MakazhanAlpamys/Soup/issues/1692), [#1716](https://github.com/MakazhanAlpamys/Soup/pull/1716))- A first QuEST resume from a format-v1 checkpoint read and hashed the whole local base three times, because the resume check re-resolved the `base:` string the run had just hashed. They passed the identity already held instead, and **when review showed their first version compared the metadata's own `base_model` with itself (which can never refuse, and would have accepted a continuation-path resume that `main` refuses), they said so plainly, switched to the identity of `config.base` resolved before the load, and added the continuation-path test that fails on the wrong source**. They also corrected their own earlier evidence, re-measured against a real `main` worktree: 11 of 13 new tests fail there. A `_hash_local_file` call count pins one fewer read per path, and six mutations each fail a named test ([#1199](https://github.com/MakazhanAlpamys/Soup/issues/1199), [#1728](https://github.com/MakazhanAlpamys/Soup/pull/1728))- Exposed `registry.call_tool` and `sanitize` for direct MCP callers, sharing the server's stdout protection, result sanitization and error handling while retaining an explicit mutating-tool opt-in per call ([#1761](https://github.com/MakazhanAlpamys/Soup/issues/1761), [#1770](https://github.com/MakazhanAlpamys/Soup/pull/1770)).+ - Distinguished JSON booleans from numbers in both tool-call scorers while preserving numeric equivalence, NaN and partial-credit rules; made comparison iterative for deep arguments and added public-path regressions, documentation and a credited fragment ([#1755](https://github.com/MakazhanAlpamys/Soup/issues/1755), [#1756](https://github.com/MakazhanAlpamys/Soup/pull/1756)).- **Shutaru** ([@Shutaru](https://github.com/Shutaru))- Kept the Transformers SFT import off the MLX dispatch route, so `backend: mlx` cannot reach the PyTorch/TRL stack even if `sft.py` stops being import-light later — and, told the PR did not fix the defect its title claimed, retitled it to match reality rather than defending the framing, leaving [#394](https://github.com/MakazhanAlpamys/Soup/issues/394) open for the unexplained hang. The `mlx-smoke` job it adds asserts mlx is *present*, not merely that torch is absent: the earlier shape went green having executed nothing ([#431](https://github.com/MakazhanAlpamys/Soup/pull/431))- Found and fixed a silent data-corruption bug in assistant-only loss masking: `BatchEncoding` is not a `dict`, so the guard missed and the mask was built from the mapping's **key strings** — no exception, normal loss curve. Split it out of #426 on request, then decided the case the issue asked to be decided rather than inherited: an all-zero mask with assistant messages present is rejected rather than honoured (measured: 0 trained tokens before, 2 after) ([#439](https://github.com/MakazhanAlpamys/Soup/pull/439))