Skip to content

knob-catalog schema

Every vLLM serve flag that is a knob (one value, not one servtuner sets itself), with its description, type, default and limits taken from vLLM’s own source at the pinned version. servtuner knobs prints it from the catalog it embeds; the api serves it at GET /knobs.

Schema file: schema/json/knob-catalog.schema.json. Generated from servtuner commit 5b46cdad0e5c.

Field Type Required Description
vllm_version string Yes The vLLM release the catalog was read from.
vllm_commit string Yes pattern ^[0-9a-f]{40}$
knobs array of knobDescription Yes
other_flags array of string Yes Every other spelling vLLM accepts at this version: the flags that are not knobs (JSON and list flags, the ones servtuner sets), with their aliases and off spellings, sorted. With the knobs’ flags it is how a base flag is told from a typo.
Field Type Required Description
name string Yes The knob’s name: vllm.<vLLM’s field name>. pattern ^vllm\.[a-z0-9_]+$
label string Yes A short name for people (“Max sequences”), never the flag.
flag string Yes vLLM’s long flag; empty for a field set through –compilation-config.
aliases array of string No Default: [].
negative_flags array of string No The spellings that turn a boolean off (–no-x, –disable-x). Default: [].
group string Yes vLLM’s argument group, the config class the field belongs to.
kind knobKind Yes
default any No vLLM’s argparse default; null when vLLM decides at start-up.
choices array or null No The values vLLM accepts, when it enforces a closed set. Default: null.
suggestions array or null No Known values vLLM lists without enforcing them. Default: null.
help string Yes vLLM’s own description of the field, as written in its source.
limits knobLimits No
built_in boolean Yes servtuner labels it and also reads it from a running target’s /server_info; every listed knob can be deployed, captured and tuned.
tuned_as_range boolean Yes A search space may give it as min and max instead of values: the tuning advisors move it (servtuner propose).

Type: "integer", "number", "size", "boolean", "switch", "text", "choice", "json", "list"

Bounds from vLLM’s Field(ge/gt/le/lt); cross-field rules are vLLM’s to check at start-up.

Field Type Required Description
ge number No
gt number No
le number No
lt number No