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(eval): clarify auto-eval install extra and trust_remote_code behavior (#1642) (#1659)
Nurkhan Esenbek2ca67252c355
diff --git a/docs/evaluation.md b/docs/evaluation.mdindex 2b34d1ad..713b3d22 100644--- a/docs/evaluation.md+++ b/docs/evaluation.md@@ -863,6 +863,9 @@ baseline scorer stamp covers the bundled suites only and will not warn: re-measubaselines, or compare new runs only with runs made on this version.### Auto-Eval Config (soup.yaml)++Benchmarks need the `eval` extra:+```bashpip install "soup-cli[eval]"```@@ -879,10 +882,10 @@ eval:When `eval.auto_eval: true`, Soup runs the configured evaluation once after `soup train` finishes and the trained model/adapter has been saved. The evaluation uses the output artifact produced by that training run.-- `benchmarks` runs the configured `lm-eval-harness` benchmarks. Install the benchmark dependencies required by your environment before enabling them.+- `benchmarks` runs the configured `lm-eval-harness` benchmarks. Install the `soup-cli[eval]` extra above before enabling them.- `custom_tasks` runs the configured custom evaluation tasks against the trained model.- `judge` is not part of auto-evaluation; configure and run judge evaluation separately.-- Auto-evaluation keeps `trust_remote_code` disabled.+- Auto-evaluation keeps `trust_remote_code` disabled even when `soup train --trust-remote-code` was passed, so for a base that ships custom code the evaluation is skipped with a message (`Auto-eval custom failed: ... Please pass the argument trust_remote_code=True`); run `soup eval custom ... --trust-remote-code` yourself for that case.- If auto-evaluation fails, Soup reports the failure but does not fail an otherwise successful training run.- Auto-evaluation can take a significant amount of time. For example, MMLU evaluates multiple subtasks.diff --git a/docs/performance-and-quantization.md b/docs/performance-and-quantization.mdindex 5d0ee2a4..3fc66960 100644--- a/docs/performance-and-quantization.md+++ b/docs/performance-and-quantization.md@@ -946,7 +946,7 @@ all-masked sequence or saving a non-finite adapter.Every command that loads a model now requires `--trust-remote-code` to execute custom Python from a model repo (`auto_map` in `config.json`). First-party orgs (Meta, Mistral, Qwen, Google, etc.) suppress the warning panel; everything else prints a `REMOTE CODE WARNING` panel before loading. Unknown-org local checkpoints with `auto_map` raise a friendly `ValueError` at construction time instead of silently exec'ing inside `from_pretrained`.Coverage:-- `soup train` (every task — SFT, DPO, GRPO, KTO, ORPO, SimPO, IPO, PPO, Reward Model, Pretrain, Embedding, BCO, and the unified Preference dispatcher)+- `soup train` (every task - SFT, DPO, GRPO, KTO, ORPO, SimPO, IPO, PPO, Reward Model, Pretrain, Embedding, BCO, and the unified Preference dispatcher; automatic evaluation after training keeps the flag disabled, see `docs/evaluation.md`)- `soup chat`, `soup serve`, `soup data download`, `soup eval auto`- `soup diff`, `soup export`, `soup merge`, `soup infer`, `soup data generate`- `soup eval benchmark`, `soup eval custom`, `soup train --find-lr`, `soup draft distill`, `soup shrink`