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): credit Nariman Abdikarim's CLI path hygiene (#1868) (#2026)
Alpamys Makazhan0498e6224647
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex 6203870f..b26dcb99 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -898,6 +898,7 @@ Listed by first contribution. PR numbers link the work.- Added the default-off `training.fast_lora` switch and compatibility validators for Transformers text SFT with zero LoRA dropout, wiring the existing q/k/v, SwiGLU MLP and single-projection kernels into resident and streamed setup. They added per-kernel counts, patch rollback when no supported module can run, streamed-runtime cleanup on patch failure, float64 CPU gradchecks and float32 forward/backward and streamed parity coverage. CUDA validation, speedup and model-quality claims remain outside the evidence ([#792](https://github.com/MakazhanAlpamys/Soup/issues/792), [#1973](https://github.com/MakazhanAlpamys/Soup/pull/1973)).- **Nariman Abdikarim** ([@Nari-Ab](https://github.com/Nari-Ab))+ - Sanitized model and dataset paths across CLI display sinks and both short-name branches, with 17 portable regressions covering refusals, adapter loading, saved outputs and real Elo/leaderboard table consumers. Independent maintainer validation passed all 17 cases before and after five source undos that caused 1/1/1/3/4 failures; all eight required hosted checks passed ([#1864](https://github.com/MakazhanAlpamys/Soup/issues/1864), [#1868](https://github.com/MakazhanAlpamys/Soup/pull/1868))- First contribution: `soup data generate --template preference` appended every preference row before the dedup check, so rows repeating a `--dedup-with` file and repeats within the same run were all written. They claimed that one item of the #1448 audit, routed preference rows through the shared dedup check, and built an order-independent key from the DPO and KTO fields. **Review found that nothing pinned which fields make up the key: a prompt-only key passed every test and would have dropped every later row for the same prompt. They added the proposed test and the exact duplicate count within minutes.** The new file is 4 failed on `main`, 11 of 11 mutations are caught, and 507 related tests pass ([#1448](https://github.com/MakazhanAlpamys/Soup/issues/1448), [#1605](https://github.com/MakazhanAlpamys/Soup/pull/1605))- First contribution, one slice of the #1448 audit: `soup serve` dropped `--structured-output` / `--json-schema` / `--regex-pattern` and `--reasoning-parser` on streaming chat completions, so `stream: true` returned unconstrained text with the `<think>` block still in it while the same request without streaming was constrained and stripped. They claimed that one item, wired the processors, the n-gram config and the reasoning parser into the streaming path exactly as the non-streaming handler does, and stripped the text before both the SSE chunks and the trace log. **Review found that the first constraint test mocked the builder, so building for `None` (the reported bug) still passed; they added the parity test the review supplied, which drives the same app with and without `stream` and compares what the client sees and what generation receives.** 5 tests fail on `main`, 11 of 11 mutations of the constraint, n-gram and parser hand-offs are caught, and 1231 serve-related tests pass with `main` merged ([#1448](https://github.com/MakazhanAlpamys/Soup/issues/1448), [#1607](https://github.com/MakazhanAlpamys/Soup/pull/1607))- Fourth merge: a bad `SOUP_LAYER_STREAM_STRIPE_DIRS` entry was refused only when the layer-stream setup ran, after the dataset had loaded and a run row existed, and `soup train --dry-run` and `soup doctor` never checked the variable. They split the checks that need no disk probe into one helper shared by the setup path and doctor, so the setup stays the authority and the NVMe probe stays where it was; `soup train` and `--dry-run` now refuse before the prompt and the dataset load, and `soup doctor` lists each entry, sanitised, records an advisory issue for a refused one and applies the NVMe rule under `--disk`. Every gap four review rounds found became a test: 20 pass, the file cannot import on `main`, and 15 of 15 mutations of the new code fail one ([#1613](https://github.com/MakazhanAlpamys/Soup/issues/1613), [#1628](https://github.com/MakazhanAlpamys/Soup/pull/1628))