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.

732 B
Raw Blame
  • training.expand_layers (LLaMA Pro) is refused at config load together with a LoRA rank (#1326 by @abdulwaarith0 in #1783). The block expansion runs before get_peft_model, which froze the appended blocks again, so only adapters on the original layers trained while the appended blocks stayed the identity. The error names expand_layers, freeze_trainable_layers and lora.r and points to lora.r: 0 with quantization: none; task: pretrain, which has no lora.r: 0, gets the expand_layers scope refusal instead (#1813). The LLaMA Pro examples in docs/peft-and-efficiency.md and docs/training.md now set lora.r: 0, and docs/training.md now says the expansion runs before get_peft_model.