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
- Layer streaming builds the streamed model from transformers' own class, even under
--trust-remote-code. The flag still reaches the tokenizer, which is where a repo like Moonlight-16B (remote-code tokenizer only) needs it; its remote modelling code lays the experts out differently from the stacked shards and could not be streamed. The dated 2026-10-15 Moonlight-16B LoRA run on an 8 GB card is recorded inbenchmarks/probe-rtx5070-moonlight-16b.md. (#1933)