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
- Honor
training.gradient_checkpointingin the TRL/HF arguments for GRPO, IPO, BCO, reward-model, online-DPO, pretrain and embedding, including unquantized runs. Preserve the full-checkpointing fallback for enabled tiers. Behaviour change: with the defaultgradient_checkpointing: false, GRPO, IPO, BCO, reward-model and online-DPO now train with checkpointing off, where TRL's own default (true) used to apply; setgradient_checkpointing: trueto keep it. (#797 by @Amix29 in #1778)