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.

422 B
Raw Blame
  • Add soup merge --low-memory, which merges a plain LoRA adapter into a safetensors base one tensor at a time instead of loading the whole model into RAM. The tensor values are identical to the regular merge for float32, float16 and bfloat16; adapters it cannot reproduce exactly (DoRA, modules_to_save, rank or alpha patterns, embedding adapters) are refused with a pointer back to the regular merge. (#2006)