Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

1.2 KB
Raw Blame
  • training.use_mod: true is refused at config load on routes that never install a Mixture-of-Depths router (#1752). The flag was accepted on every task. Only the resident LoRA arm of the transformers SFT setup (which tts reaches) and the transformers pretrain setup (after its LISA/LoRA split, so LISA is included) call the router. Full fine-tuning, LISA and Spectrum on SFT, vision, audio, layer streaming, unsloth and MLX SFT all trained without one. Those requests now fail at load, naming training.use_mod, the task, the settings that leave the applying path, and a valid change or use_mod: false. Transformers SFT LoRA, TTS LoRA, pretrain LoRA and pretrain LISA still apply it. Pretrain does not inherit SFT's modality or streaming restrictions. The MLX SFT trainer keeps its own warning for the field, but a config can no longer reach it, so soup doctor --config lists no row for it. This is a breaking change for configs that set use_mod: true on a route that never applied it — that run was already training a different model than requested. use_mod: false and an omitted flag are unchanged, and an out-of-range mod_capacity_factor is still rejected by its own check (#1752 by @mvanhorn in #1757).