-
released this
2026-10-06 10:30:14 +00:00 | 46 commits to main since this releaseModel testing, part two: deployments. Serve a downloaded model with a llama.cpp or vLLM runtime
container, tune its launch options, protect it with API keys and try it from Kaname.No changes to
compose.yaml; the new database tables are created on start.Added
- Deployments (new main menu entry): serve a downloaded model with a runtime container.
- New deployment: pick a runtime (only pulled images), then a model it can serve (llama.cpp:
downloaded GGUF files with the quant, optional mmproj for vision and MTP head / draft model for
speculative decoding; vLLM: safetensors repos with a config.json), then launch options: context
size, threads, parallel slots, KV cache types, flash attention, batch sizes (llama.cpp) or data
type, max sequences, KV cache GiB (vLLM), CPU and memory limits (with an estimate), an optional
published host port and extra arguments. A live preview shows the exactdocker runcommand. - The worker starts the container on Kaname's Docker network with the models mounted read-only,
waits for/health, follows the log, samples CPU/RAM every 5 s and refuses to start when the
memory limits of running deployments wouldn't fit. Containers keep running across worker
restarts; orphaned ones are removed. - Deployment page: state, load time, live CPU/RAM, endpoint URLs (Docker network and published
port), live log, start/stop/edit/delete, and a "Try it" chat that streams the answer and shows
time to first token and tokens/s. - llama.cpp's built-in web UI can be switched on or off per deployment (
--no-webui); with a
published host port the deployment page links to it. - A failed start names the cause from the log (e.g. vLLM's
ValueErrorinstead of the end of the
traceback), followed by the last lines of output. - A deployment's vLLM data type replaces the runtime's
--dtypeinstead of repeating the flag.
- New deployment: pick a runtime (only pulled images), then a model it can serve (llama.cpp:
- Models and runtimes used by a deployment can't be deleted until the deployment is.
- API keys (Settings → API keys): add generated or own keys, show and copy them again later.
A deployment with "Require an API key" accepts any of them (LLAMA_API_KEY,VLLM_API_KEYor
--api-keyfor several vLLM keys); the values are masked in the shown command and in the log, and
Kaname's own "Try it" chat sends one. Key changes apply when a deployment restarts. - Deploy from the library: a "Deploy" button in the library and on the model page opens a new
deployment with the model and a fitting runtime preselected. The library and the model page link
to the deployments that use a model. - Deployment form reorganized: launch options in groups (General, Context, Performance, KV cache,
Resources, Extra arguments) with each field's flag next to its label, the command in its own step,
and extra arguments as flag/value rows with "+ Add argument" (also in the runtime form).
Fixed
- Dropdowns were unreadable in dark mode (white option list with light text): native controls now
follow the theme. - Image pulls showed "Starting · 0 B" until they finished: the worker's progress updates were never
written (Drizzle queries only run when awaited).
Docker image
git.linxweiler.xyz/pascallinxweiler/kaname:0.8.0Downloads
- Deployments (new main menu entry): serve a downloaded model with a runtime container.