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.

991 B
Raw Blame
  • training.lora.rank_pattern and alpha_pattern are refused with backend: unsloth instead of being silently ignored (#2153). Every unsloth setup, for SFT, DPO, GRPO, PPO, KTO, ORPO, SimPO, IPO, BCO, preference, pretrain, embedding and TTS alike, goes through one loader that gives FastLanguageModel.get_peft_model a single scalar lora.r and lora.alpha and has no parameter for a pattern, so a config that asked for a per-module rank or alpha loaded, passed soup train --dry-run and trained a uniform adapter. Now refused at config load, naming each field the config set, backend: unsloth, and the two ways out: remove the pattern, or use backend: transformers, which applies it. A task with no unsloth setup, SFT with a vision or audio modality, and lora.r: 0 keep their own 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 unsloth loader honours the patterns. (#2165)