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
- A streamed
soup trainon Linux (WSL2 included) now gets theexpandable_segmentsallocator hint (#2149 by @ybai08 in #2156). The hint is set only while CUDA is not yet initialised, andsoup traininitialised CUDA when it detected the device, before the streamed setup set the hint, so every streamed CUDA run printed "expandable_segments allocator hint not enabled: CUDA was already initialised before Soup could set it".soup trainnow setsPYTORCH_CUDA_ALLOC_CONF=expandable_segments:Truebefore it detects the device, for streamed runs on Linux. A value you exported is kept, and if that value is why the hint is not on, the line now saysPYTORCH_CUDA_ALLOC_CONF is set to something else. Runs withoutstream_layers, macOS and Windows are unchanged.