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: pin llama.cpp version per release, allow pulling latest on demand
By default the deferred macOS/Windows download now fetches a specific
llama.cpp version pinned to this model-runner build instead of the mutable
`latest` tag, so a given release always installs the version it was tested
against and doesn't silently move when Docker Hub publishes a new build.
- Add a pinnedServerVersion constant (a docker-model-backend-llamacpp tag)
used as the default DesiredServerVersion; bump it together with the Linux
bundle (Dockerfile LLAMA_SERVER_VERSION) when llama.cpp is upgraded.
- Allow opting into another version on demand, via LLAMA_SERVER_VERSION or a
new `--llama-server-version` flag on install-runner/reinstall-runner
(e.g. `--llama-server-version latest`). The flag threads through the
InstallBackend API and a new inference.BackendVersionSelector interface,
keeping the scheduler decoupled from the concrete backend.
- Skip the registry digest round-trip when a pinned (immutable) version is
already installed, recording {tag,digest} in .llamacpp_version. This makes
startup work offline for pinned versions and removes the per-launch Docker
Hub call; only `latest` is always re-resolved. Also report the on-disk
binary as running when updates are disabled.
Signed-off-by: Dorin Geman <dorin.geman@docker.com>
|`--do-not-track`|`bool`|| Do not track models usage in Docker Model Runner |
13
+
|`--gpu`|`string`|`auto`| Specify GPU support (none\|auto\|cuda\|rocm\|musa\|cann) |
14
+
|`--host`|`string`|`127.0.0.1`| Host address to bind Docker Model Runner |
15
+
|`--llama-server-version`|`string`|| Override the llama.cpp version to install on macOS/Windows (e.g. "latest" or "v0.0.34"); defaults to the version pinned to this release |
16
+
|`--port`|`uint16`|`0`| Docker container port for Docker Model Runner (default: 12434 for Docker Engine, 12435 for Cloud mode) |
17
+
|`--proxy-cert`|`string`|| Path to a CA certificate file for proxy SSL inspection |
18
+
|`--tls`|`bool`|| Enable TLS/HTTPS for Docker Model Runner API |
19
+
|`--tls-cert`|`string`|| Path to TLS certificate file (auto-generated if not provided) |
20
+
|`--tls-key`|`string`|| Path to TLS private key file (auto-generated if not provided) |
21
+
|`--tls-port`|`uint16`|`0`| TLS port for Docker Model Runner (default: 12444 for Docker Engine, 12445 for Cloud mode) |
|`--do-not-track`|`bool`|| Do not track models usage in Docker Model Runner |
13
+
|`--gpu`|`string`|`auto`| Specify GPU support (none\|auto\|cuda\|rocm\|musa\|cann) |
14
+
|`--host`|`string`|`127.0.0.1`| Host address to bind Docker Model Runner |
15
+
|`--llama-server-version`|`string`|| Override the llama.cpp version to install on macOS/Windows (e.g. "latest" or "v0.0.34"); defaults to the version pinned to this release |
16
+
|`--port`|`uint16`|`0`| Docker container port for Docker Model Runner (default: 12434 for Docker Engine, 12435 for Cloud mode) |
17
+
|`--proxy-cert`|`string`|| Path to a CA certificate file for proxy SSL inspection |
18
+
|`--tls`|`bool`|| Enable TLS/HTTPS for Docker Model Runner API |
19
+
|`--tls-cert`|`string`|| Path to TLS certificate file (auto-generated if not provided) |
20
+
|`--tls-key`|`string`|| Path to TLS private key file (auto-generated if not provided) |
21
+
|`--tls-port`|`uint16`|`0`| TLS port for Docker Model Runner (default: 12444 for Docker Engine, 12445 for Cloud mode) |
0 commit comments