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.

856 B
Raw Blame
  • training.lora.rank_pattern and alpha_pattern are refused with backend: mlx instead of being silently ignored (#1996). The MLX trainer builds every adapter, for SFT, DPO, ORPO and SimPO alike, from the one scalar lora.r and lora.alpha, so a config that asked for a per-module rank or alpha loaded, passed soup train --dry-run and trained a uniform adapter, and soup doctor --config listed nothing for it. Now refused at config load, naming each field the config set, backend: mlx, and the two ways out: remove the pattern, or use backend: transformers, which applies it. A task MLX cannot run, lora.r: 0 and MLX DoRA keep their own, earlier refusals. An empty {} or null sets nothing and still loads, and transformers configs are unchanged. This is a stop-gap: it goes away when the MLX trainer honours the patterns. (#2150)