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): #1378, #1382
Alpamyse8c327dff536
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex 74c9a580..7dc682c3 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -610,6 +610,7 @@ Listed by first contribution. PR numbers link the work.- **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))+ - Second merge. The #361 NF4 throughput harness stamped its rows with `git rev-parse HEAD` of its own checkout. A row from a dirty tree, or from a `soup_cli` imported from somewhere else, therefore named a commit whose code did not run. They moved it onto the #1085 function: the repository is found from `soup_cli.__file__`, a dirty tree is marked `-dirty`, and a package outside any git checkout records `unknown`. Their test answers `--show-toplevel` with a directory that belongs neither to the package nor to the harness, and it pins the `cwd` of every git call, so it fails 2 of 2 against the old function. 5 of 10 mutations fail a test, including all five that read the commit from the wrong tree or drop `-dirty` ([#1327](https://github.com/MakazhanAlpamys/Soup/issues/1327), [#1382](https://github.com/MakazhanAlpamys/Soup/pull/1382))- **sup3dev** ([@sup3dev](https://github.com/sup3dev))- First contribution: `soup` reported any error whose message contained the digits `401` or `403` as "Authentication failed." / "Access denied." and hid the real message. That covered a too-long SFT row 401, a tensor size of 4013, a `checkpoint-4010` path and a hash in a Hub URL. The status is now read from the exception object along its `__cause__`/`__context__` chain, with a text fallback limited to explicit HTTP phrasing, so genuine requests, urllib and huggingface_hub 401/403 errors get the specific hint instead of "HTTP request failed.". **The detail that decided a three-way race for the issue**: `GatedRepoError` and `RepositoryNotFoundError` are declined anywhere in the chain. A missing local adapter directory that peft first looks up on the Hub, which answers an unauthenticated user with 401, therefore keeps its real message; both competing fixes reported "Authentication failed." there. 16 of the 31 new tests fail on `main`, and 21 of 22 mutations fail a test ([#1267](https://github.com/MakazhanAlpamys/Soup/issues/1267), [#1268](https://github.com/MakazhanAlpamys/Soup/pull/1268))@@ -623,6 +624,9 @@ Listed by first contribution. PR numbers link the work.- **dymux** ([@putramkti](https://github.com/putramkti))- First contribution: The eval gate's MCQ scorer and the reward parser read the same `\boxed{...}` differently. After an echoed option list, `\boxed{B.}` and `\boxed{**B**}` scored as C in the eval gate and in `soup ship`, while the reward parser read B. The letter tier now reads boxes through one shared, linear scan in `utils/final_answer.py`, which yields only innermost boxes, so nested boxes stay linear and a double-boxed answer still reads its inner value. On `main` 4 of the 11 new MCQ tests fail and the scan tests cannot import. 7 of 7 mutations of the fix fail a test, and a 20,000-string differential fuzz against `main` found no change in the reward parser ([#1347](https://github.com/MakazhanAlpamys/Soup/issues/1347), [#1365](https://github.com/MakazhanAlpamys/Soup/pull/1365))+- **qwist1233-cpu** ([@qwist1233-cpu](https://github.com/qwist1233-cpu))+ - First contribution: `soup ab` accepted `--alpha` + `--beta` at or above 1. There the reject and accept boundaries cross and every LLR between them rejects, so two identical arms were reported as a significant regression. A huge `--effect-size`, or a near-constant column at the default, ended on a bare `OverflowError` that named no flag. They refuse the pair in `MsprtConfig`, naming both values, and bound the standardised effect at sqrt(float max) before it is squared. The bound is exact: sqrt(max) squared is finite, and the next float up overflows. It also closes a silent-NaN `continue` at `--effect-size 1e308` that the issue never listed. Their 15 tests include 5 deliberate controls that pass on main, 10 fail on main, and six mutations of the fix were each caught ([#1339](https://github.com/MakazhanAlpamys/Soup/issues/1339), [#1378](https://github.com/MakazhanAlpamys/Soup/pull/1378))+---Want to join this list? See [CONTRIBUTING.md](CONTRIBUTING.md) — good first issues are