Scan your whole stack
From OX Research Newsroom
Are you using vkserve?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.21
vkserve was last scanned on 29 Nov 2026 at version 0.1.21. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.21 LATEST | 29 Nov 2026 | No rules fired |
| 0.1.20 | 20 Nov 2026 | No rules fired |
| 0.1.19 | 20 Nov 2026 | No rules fired |
| 0.1.18 | 20 Nov 2026 | Not shown |
| 0.1.17 | 20 Nov 2026 | Not shown |
Findings for v0.1.21. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.21; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
An OpenAI-compatible LLM server that runs several models on any Vulkan GPU, built on compute-ml. Status: prototype. The wheels on PyPI (Linux x86_64 and macOS arm64) include the C engine; other systems build it from source (see Install).
On Linux x86_64, pip install vkserve is enough. The wheel includes the C engine. It needs the
system Vulkan loader (libvulkan.so.1) and a GPU driver.
On macOS arm64, pip install vkserve is enough too. The wheel bundles MoltenVK (Vulkan on Metal)
and the Vulkan loader, so it needs no Vulkan SDK. Set VK_DRIVER_FILES to use another driver.
Other systems build the engine from a source checkout:
git clone https://gitlab.com/cardona-oss/vkserve.git
git clone https://gitlab.com/cardona-oss/compute-ml.git
cd vkserve
make engine
make engine needs compute-ml 071d587 (0.4.73) or newer. It stops with a message that names
the missing function when the checkout is older. Update it with git -C ../compute-ml pull.
Or point VKSERVE_ENGINE_LIB at an engine library you built elsewhere.
Set CML_LLM_KV_DTYPE=f16 to keep the KV cache in float16. It needs compute-ml 0.4.85 or newer
(the PyPI wheels have it) and a GPU with shaderFloat16. The default is float32.
CML_LLM_KV_DTYPE=f16 vkserve Qwen/Qwen3-0.6B --dtype q4
Build the C engine. It compiles compute-ml from ../compute-ml.
make engine
Start the server on a model folder or a Hugging Face id. The id is downloaded on first use.
uv run vkserve Qwen/Qwen3-0.6B --dtype q4 --slots 1 --max-len 3000
The model id in the API is the last part of the name (Qwen3-0.6B); --name changes it.
Pick the GPU with --device (an index or part of the name). vkserve --list-devices shows
them. Repeat --device to run the model on several GPUs: requests go to the least busy one,
and a GPU that cannot load the model is skipped.
uv run vkserve --list-devices
uv run vkserve Qwen/Qwen3-0.6B --device intel --device t2000
vkserve --list-models shows the models already in the Hugging Face cache, the ones vkserve
can serve first.
uv run vkserve --list-models
Models: Qwen3, Llama 3.2, SmolLM2, Gemma 3 and Gemma 4, as safetensors with a
tokenizer.json. A bare .gguf file is not supported yet. Several models in one server:
repeat --model name=ID,path=FOLDER_OR_HF_ID[,dtype=q8][,slots=4][,max_len=4096].
Send a request.
curl -s localhost:8000/v1/chat/completions -H 'content-type: application/json' \
-d '{"messages":[{"role":"user","content":"Name two planets."}],"max_tokens":30}'
See examples/opencode: a config, a small agent, and the commands.
One TOML file, and every key is also a flag. Flags win over the file. See examples/vkserve.toml.
uv run vkserve -t -c vkserve.toml # check the file, load nothing
uv run vkserve -c vkserve.toml # run it
uv run vkserve -c vkserve.toml --port 9000 # a flag overrides the file
uv run vkserve -c vkserve.toml --model qwen --slots 2 # change one model of the file
uv run vkserve --print-config -c vkserve.toml # show every effective setting
[server] keys are plain flags: --host, --port, --log-level, --keep-going,
--max-body-bytes, --pid-file, --log-file, --drain-timeout.--model NAME starts a model block. The flags after it apply to that block: --path,
--dtype, --slots, --max-len, --prefill-chunk, --max-queue, --device (repeat for
several devices), --temperature, --top-p, --top-k.--set server.port=9000 and --set model.qwen.slots=2 reach any key.unknown key 'slot' ... (did you mean 'slots'?).The master process serves HTTP. Each model on each device runs in its own worker process. A worker that crashes fails its requests with 500 and starts again after 1, 2, 4 ... 30 seconds. The master keeps running.
Send signals with kill, or with -s (it reads pid_file):
| Signal | -s |
What it does |
|---|---|---|
SIGHUP |
reload |
Read the configuration again. A new or changed model loads first, then the old one finishes its requests and stops. A bad file changes nothing. |
SIGTERM, SIGQUIT, SIGINT |
stop, quit |
Stop accepting, wait up to drain_timeout for requests in progress, then exit. A second signal stops at once. |
SIGUSR1 |
reopen |
Reopen log_file (after logrotate moved it). |
host, port, max_body_bytes, pid_file, drain_timeout and keep_going need a restart.
A reload that changes them logs a warning and ignores them.
uv run vkserve -s reload -c vkserve.toml
A systemd unit is in examples/vkserve.service.
POST /v1/chat/completions and /v1/completions, streaming as server-sent events.tools in, OpenAI tool_calls out, tool messages back in.429 when the queue is full, X-Request-ID, Prometheus /metrics per device.More: docs/serving.md (design and measurements).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.