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
- The Docker image now builds on Ubuntu 24.04 with Python 3.12 and installs exactly the tagged soup-cli release (#2092).
The image was
nvidia/cuda:12.1.0-runtime-ubuntu22.04with Python 3.10 and an unpinnedpip install "soup-cli[...]", so oncerequires-pythonmoved to 3.11 pip would have resolved the previous release on Python 3.10 and an image tagged with the new version would have held it. The base is nownvidia/cuda:12.8.2-runtime-ubuntu24.04with Python 3.12 in a venv at/opt/venv, anddocker.ymlpasses the version of the git tag to the build asSOUP_VERSION. The build stops if the Python is outside 3.11 to 3.13, ifSOUP_VERSIONis notX.Y.Z, or if the installed soup-cli is not that version. A local build must name the release (docker build --build-arg SOUP_VERSION=0.77.0 ., or setSOUP_VERSIONfordocker compose build), and a manual run ofdocker.ymlmust be started on a tag (gh workflow run docker.yml --ref v0.77.0): on a branch it now stops instead of pushinglatest. The entrypoint, working directory and extras (train,serve,data,eval) are unchanged. The container runtime now asks the host for a driver that supports CUDA 12.8 (570 or newer on GeForce cards) where the 12.1 base accepted 525 and 530 or newer.