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): #2040 [skip ci]
Alpamys9162435b7949
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex e6dd0cea..4a2a0783 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -932,6 +932,7 @@ Listed by first contribution. PR numbers link the work.- Added schema descriptions for seven previously undocumented `soup.yaml` fields, including the core training settings ([#1794](https://github.com/MakazhanAlpamys/Soup/issues/1794), [#1831](https://github.com/MakazhanAlpamys/Soup/pull/1831))- Refused invalid benchmark, recipes-verify and CUDA-graph requests before heavy imports or model loading ([#1817](https://github.com/MakazhanAlpamys/Soup/issues/1817), [#1841](https://github.com/MakazhanAlpamys/Soup/pull/1841)).- Fixed loss-spike recovery limits across launches by checking prior attempts before incrementing the persisted count, and handled malformed recovery hints without crashing ([#808](https://github.com/MakazhanAlpamys/Soup/issues/808), [#1971](https://github.com/MakazhanAlpamys/Soup/pull/1971)).+ - Closed #2076, reported by @feloau (split from #1913): on Apple Silicon `soup train` died with no traceback while loading weights, because transformers' threaded loader aborted in `_materialize_copy`. They set `HF_DEACTIVATE_ASYNC_LOAD=1` through one helper, `configure_mps_async_load`, before the model is built for `soup train`, `soup sweep` and `soup bench train`, keep a value the user set (so `0` opts out), leave cuda, cpu and mlx alone, and made `soup doctor` show the variable's state without claiming it is set. Eleven mutation checks each fail a named test, and @feloau verified the branch on an M2 Max ([#2076](https://github.com/MakazhanAlpamys/Soup/issues/2076), [#2040](https://github.com/MakazhanAlpamys/Soup/pull/2040))- **John Coplin** ([@johncoplin](https://github.com/johncoplin))- First contribution: the friendly-error formatter's `HTTP 401`/`HTTP 403` text patterns let two whitespace groups compete for the same run, so an exception message with `HTTP` followed by a long whitespace run and no status took about 13 s to print at 50,000 spaces. Since #1366, that check runs for every exception in the chain. They claimed the issue, rewrote both patterns so the optional whitespace is consumed only after a `:`/`=` separator, and added a timing test that fails on `main`. **The part worth copying is the equivalence test**: all 15 phrasings from the issue run against the old and the new pattern for both 401 and 403, so the speed-up provably changes nothing about what gets classified. 31 tests (1 fails on main), 7 of 7 mutations killed ([#1367](https://github.com/MakazhanAlpamys/Soup/issues/1367), [#1594](https://github.com/MakazhanAlpamys/Soup/pull/1594))