ollama-cuda
| Version | 2026.229.1218 |
| Repo | box/github.com/opencharly/layer-ollama-cuda:v2026.239.1600 |
NVIDIA CUDA inference backend for the ollama LLM server Adds the CUDA ggml backend so a composing GPU box runs inference on an NVIDIA card instead of falling back to CPU. This is an ADD-ON to the ollama candy, never a replacement: it contributes only the backend libraries that drop into ollama’s own runner directory (/usr/lib/ollama/cuda_v*/libggml-cuda.so plus the CUDA runtime it links), which is why the base ollama candy can stay CPU-only and small ON A PACKAGED DISTRO — on the tarball path the upstream archive already carries this backend, so this candy asserts rather than installs. Keeping the backend in its own candy is what makes GPU support a per-box composition choice: an image that wants CUDA composes this, an image that does not pays none of its ~1 GiB.
Two install paths, one assertion. On Arch (CachyOS included) the split
ollama-cuda package supplies the backend — it depends on the ollama
package, so the two compose rather than conflict. On a distro that has no
ollama package the base candy installs the upstream tarball, which already
bundles the CUDA backend, so this candy adds no package there and simply
asserts the backend really is present. Either way the check below fails
when the CUDA backend is missing, which is the property worth having.
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
check |
the CUDA ggml backend library is installed in ollama’s runner directory |