Skip to content

search-space schema

space.yaml, the input of servtuner propose: what a tuning session may change and how. Beyond the schema, servtuner propose checks that every knob is a vLLM knob, that a knob lists values or bounds but not both, that only max_num_seqs, max_num_batched_tokens and max_model_len take bounds, and that no knob is both in base and tuned. Defaults: objective slo_rps_per_gpu, noise_floor 0.05, confirm top 3 and repeats 3; ladder probe_rps 1 to 128 doubling, screen_factors [0.7, 0.85, 1, 1.15, 1.3], full_factors [0.5, 0.7, 0.85, 0.95, 1, 1.05, 1.15, 1.3, 1.5].

Schema file: schema/json/search-space.schema.json. Generated from servtuner commit 5b46cdad0e5c.

Field Type Required Description
objective objectiveName No The objective ranked; default slo_rps_per_gpu.
noise_floor number No The run-to-run noise as a fraction: a challenger must beat the leader by more than this to take over. Default 0.05. > 0; < 1
min_concurrency number No The concurrency the workload preset needs the KV cache to hold: a boot probe whose c_kv is below it drops the configuration. Absent or 0 means no check. ≥ 0
base tuningKnobSet No Knobs set on every configuration and never tuned.
knobs array of tuningKnobSpec Yes The tuned knobs.
ladder tuningLadderSpec No
confirm tuningConfirmSpec No

The stages of the search, in this order: feasibility (boot probes with no load), structural, scheduler (advisor-guided), fine_tuning.

Type: "feasibility", "structural", "scheduler", "fine_tuning"

Knobs by name, keyed like “vllm.max_num_seqs”.

Type: map of knobValue

Field Type Required Description
name string Yes A vLLM knob name.
tier tuningTier Yes
values array of knobValue No The allowed values. Required except for the knobs the advisors move, which may give min and max instead. at least 1 item
min number No
max number No
default knobValue No The value of the first run. Absent means vLLM’s own default: the knob is left unset (a structural knob takes its first value).
Field Type Required Description
probe_rps array of number No The first ladder of a session, in requests per second, before any SLO-max is known. at least 1 item
screen_factors array of number No Multiples of the leader’s SLO-max: the screening ladder. at least 1 item
full_factors array of number No Multiples of the leader’s SLO-max: the confirmation ladder. at least 1 item
Field Type Required Description
top integer No How many configurations get the full ladder and repeats. Default 3. ≥ 2; ≤ 3
repeats integer No Repeats of each confirmed configuration. Default 3. ≥ 2