workload-preset schema
A named, versioned workload with suggested SLOs. Files live in schema/presets/<name>.v<version>.yaml. The workload block is immutable once released (a change is a new version), so a preset name always means one request mix; slos and rps_hint are suggestions outside the workload hash and may be corrected in place.
Schema file: schema/json/workload-preset.schema.json. Generated from servtuner commit 5b46cdad0e5c.
Top level
Section titled “Top level”| Field | Type | Required | Description |
|---|---|---|---|
name |
string |
Yes | Lower-case words joined by hyphens; the file name starts with it. pattern ^[a-z][a-z0-9-]*$ |
version |
integer |
Yes | ≥ 1 |
description |
string |
Yes | |
engines |
array of engineType | Yes | The engines that can run this workload. bench rejects the preset on any other. at least 1 item |
workload |
presetWorkload | Yes | |
slos |
slos | Yes | Suggested SLOs. The New run view copies them into the RunSpec; bench never applies them implicitly. |
rps_hint |
array of rpsHint | Yes | Hand-written starting points per GPU class for the load ladder, not measured capacity. at least 1 item |
Definitions
Section titled “Definitions”presetWorkload
Section titled “presetWorkload”The workload fields a preset fixes. streaming is the RunSpec’s choice, and seed is not part of a workload’s identity.
| Field | Type | Required | Description |
|---|---|---|---|
api |
workloadApi | No | Default: "chat". |
dataset |
dataset | Yes | |
conversation |
conversation | No |
rpsHint
Section titled “rpsHint”| Field | Type | Required | Description |
|---|---|---|---|
gpu_class |
string |
Yes | A GPU class label such as a100-80gb. |
start_rps |
number |
Yes | Offered RPS of the first ladder stage. > 0 |