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
training.lora.rank_patternandalpha_patternare refused withbackend: mlxinstead of being silently ignored (#1996). The MLX trainer builds every adapter, for SFT, DPO, ORPO and SimPO alike, from the one scalarlora.randlora.alpha, so a config that asked for a per-module rank or alpha loaded, passedsoup train --dry-runand trained a uniform adapter, andsoup doctor --configlisted nothing for it. Now refused at config load, naming each field the config set,backend: mlx, and the two ways out: remove the pattern, or usebackend: transformers, which applies it. A task MLX cannot run,lora.r: 0and MLX DoRA keep their own, earlier refusals. An empty{}ornullsets nothing and still loads, andtransformersconfigs are unchanged. This is a stop-gap: it goes away when the MLX trainer honours the patterns. (#2150)