You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: make llama.cpp a deferred backend on macOS/Windows
On macOS/Windows the llama.cpp server binary is now downloaded on demand
into a single, writable per-user install directory
(~/.docker/model-runner/llama.cpp/bin) instead of relying on a binary
vendored by Docker Desktop. This removes the vendored/updated storage
split and the requirement for a bundled com.docker.llama-server.digest.
- Collapse vendoredServerStoragePath/updatedServerStoragePath into a
single installDir; default to ~/.docker/model-runner/llama.cpp/bin when
no path is configured.
- Add llamacpp.NeedsDeferredInstall() (true on macOS/Windows) and mark the
backend Deferred in the routing defs so it installs on first use instead
of blocking startup.
- Reuse main's mirror-aware dockerhub download path and the existing
docker/docker-model-backend-llamacpp {version}-{variant} image tags; the
download no longer hard-fails when there is no Desktop-bundled binary.
- Linux keeps bundling the binary in the container image (not deferred);
ensureLatestLlamaCpp remains a no-op that reports the bundled binary.
- LlamaServerPath() no longer defaults to the read-only Docker Desktop
bundle path; it returns the env override or empty.
- Add a `docker model install-runner --backend llama.cpp` trigger for the
deferred install, mirroring the vllm-metal path.
Signed-off-by: Dorin Geman <dorin.geman@docker.com>
0 commit comments