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.

1.3 KB
Raw Blame
  • 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.04 with Python 3.10 and an unpinned pip install "soup-cli[...]", so once requires-python moved 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 now nvidia/cuda:12.8.2-runtime-ubuntu24.04 with Python 3.12 in a venv at /opt/venv, and docker.yml passes the version of the git tag to the build as SOUP_VERSION. The build stops if the Python is outside 3.11 to 3.13, if SOUP_VERSION is not X.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 set SOUP_VERSION for docker compose build), and a manual run of docker.yml must be started on a tag (gh workflow run docker.yml --ref v0.77.0): on a branch it now stops instead of pushing latest. 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.