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.

353 B
Raw Blame
  • Layer streaming: each streamed decoder layer now calls functional_call with tie_weights=False when none of its substituted weights is tied, skipping a walk over every parameter and buffer on each forward and checkpoint recompute (~0.1 ms per call, ~6.7 ms per 32-layer step on a PEFT Mistral layer); results are unchanged by construction (#1890).