Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
- 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)