Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

788 B
Raw Blame
  • A streamed soup train on Linux (WSL2 included) now gets the expandable_segments allocator hint (#2149 by @ybai08 in #2156). The hint is set only while CUDA is not yet initialised, and soup train initialised 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 train now sets PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True before 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 says PYTORCH_CUDA_ALLOC_CONF is set to something else. Runs without stream_layers, macOS and Windows are unchanged.