[idea] Docker 12/14: CUDA image (-cuda) on amd64
Author: AnishSarkar22Created Oct 1, 2026Updated Oct 1, 2026
Labelsenhancementhelp wantedperformancedesktopdocker
Which part? Desktop app
What would you like?
Step 12 of 14 of #2100: running SurfSense in Docker. Depends on #2111; start once it is merged.
Chat on an NVIDIA GPU, with the first CUDA variant.
Design: GPU images, Variants
What to change
ARG VARIANT=cpu|cudain the Dockerfile; thecudaruntimes stage downloads llama.cpp'sbin-ubuntu-cuda-12.8-x64and itscudartarchive. Only one ggml backend per image.docker/local/docker-compose.gpu.ymlwith the NVIDIA device reservation.docker-local.ymlbuilds and publishes-cudafor amd64.
Done when
- On an NVIDIA machine with the Container Toolkit, the fit estimate shows the card's VRAM and a local chat runs on the GPU.
- CI publishes the
-cudatag.
Scope: code and tests only. Don't edit docs/ or AGENTS.md, except to fix a link this change breaks; the maintainers update the docs when the Docker work ships.
Why would it help?
Each step leaves something that runs, so the Docker image is built and reviewed one piece at a time.
Source: MODSetter/SurfSense