You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ca968a
Browse filesBrowse the repository at this point in the historyBrowse files
Recipes use `schema: 2`, `engine`, and `roles`. Each worker role owns its node count, worker count, GPU allocation, environment, and engine arguments. `resources` retains GPU hardware facts. `placement` controls the frontend and benchmark location, `services` describes auxiliary processes, and `dynamo.source` selects the Dynamo package or source revision.
34
+
Recipes use `schema: 2`, `engine`, and `roles`. The master config supplies `num-worker` and required `gpus-per-worker`; the adapter writes the rendered roles' `workers` and `gpus`. Recipe fragments retain their `nodes`, engine arguments, environment, and placement settings such as `nodes: colocate`. `resources.gpus_per_node` may restrict packing capacity within the physical node; DRAM shares always use the physical cluster GPU count. `placement` controls the frontend and benchmark location, `services` describes auxiliary processes, and `dynamo.source` selects the Dynamo package or source revision.
35
35
36
36
| Recipe field |`configs/nvidia-master.yaml` field |
@@ -45,7 +45,7 @@ Recipes use `schema: 2`, `engine`, and `roles`. Each worker role owns its node c
45
45
| Recipe directory, relative to this tree | entry-level `srt-recipe-dir`|
46
46
| Recipe file, optionally with a `base`, `override_<name>`, or `zip_override_<name>[<index>]` selector | search-space `srt-recipe`; `eval-srt-recipe` for eval-only real verification |
47
47
48
-
Keep the recipe and master configuration synchronized. The launcher executes the recipe; the master configuration supplies result labels and scheduling metadata. For aggregate recipes use `roles.agg`; `roles.decode.nodes: colocate`shares prefill nodes and contributes no additional worker nodes to scheduling.
48
+
Keep engine parallelism settings consistent with the master resource request. The launcher executes the bound recipe, applies GPU-proportional DRAM limits to its inference-worker steps. For aggregate recipes use `roles.agg`; `roles.decode.nodes: colocate`places both roles in a shared node pool. The scheduler node count reads the recipe’s existing worker node reservations and includes any auxiliary nodes.
49
49
50
50
All referenced recipes must be checked in: srt-slurm 2 ships curated examples instead of the historical `recipes/` archive. The initial migration restores 204 previously external recipes and two still-referenced AgentX recipes from InferenceX history. Master-config paths follow the layout above; existing override selectors are preserved.
kv-offload-backend: { name: string, version: string } # version optional
42
44
conc-start: int
@@ -59,6 +61,7 @@ scenarios:
59
61
prefill:
60
62
hardware: b200
61
63
num-worker: 1
64
+
gpus-per-worker: 16
62
65
tp: 8
63
66
pp: 1
64
67
dcp-size: 1
@@ -68,6 +71,7 @@ scenarios:
68
71
decode:
69
72
hardware: h100
70
73
num-worker: 2
74
+
gpus-per-worker: 8
71
75
tp: 8
72
76
pp: 1
73
77
dcp-size: 2
@@ -89,6 +93,13 @@ The below list describes what each field is:
89
93
fleet.
90
94
- `precision`: The precision to run the benchmark. Launcher workload policy rows may also match on it.
91
95
- `framework`: The framework (serving runtime) to serve the benchmark, e.g., `vllm`, `sglang`, `trt`.
96
+
- `gpus-per-worker`: Required positive integer on each single-node search-space entry or each
97
+
`worker`, `prefill`, and `decode` block. It is the total GPU allocation of one logical
98
+
inference worker, including any data parallel ranks. Worker counts and GPU allocations
99
+
are copied from the master config into SRT `workers` and `gpus`. Recipe roles retain
100
+
their node counts and engine settings. For example, DEP16 on HGX8 uses a recipe with
101
+
two nodes and a master request for 16 GPUs per worker. Memory limits use the GPUs
102
+
assigned to each worker step; all steps of a role must have the same limit.
92
103
- `multinode`: Required. `true` selects the multinode schema with `prefill`/`decode` or `worker` blocks, and `false` the single-node schema with `tp` entries.
93
104
- `disagg`: Enables disaggregated serving and may only be `true` when
94
105
`multinode`is also `true`.
@@ -113,9 +124,9 @@ The below list describes what each field is:
113
124
- (Optional) `kv-p2p-transfer`: Non-empty name of the engine used to move KV state between workers. It is valid only for `multinode: true` configs and does not carry version metadata.
114
125
- (Optional) `pp`: Pipeline parallelism level. Default is 1. It must be a positive integer.
115
126
- (Optional) `dcp-size`: Decode context-parallel size. Default is 1. It must be a positive divisor of `tp`. DCP reuses the TP GPUs.
116
-
- (Optional) `pcp-size`: Prefill context-parallel size. Default is 1. A topology consumes `tp * pp * pcp-size` GPUs perworker. DCP does not add GPUs.
127
+
- (Optional) `pcp-size`: Prefill context-parallel size. Default is 1. These are engine parallelism settings; resource allocation comes from `gpus-per-worker`. DCP does not add GPUs.
117
128
- For single-node entries, set `pp`, `dcp-size`, and `pcp-size` directly in the search-space entry.
118
-
- For multinode entries, set them independently inside each `prefill` and `decode` worker block. A worker pool allocates `num-worker * tp * pp * pcp-size` GPUs.
129
+
- For multinode entries, set them independently inside each `prefill` and `decode` worker block. A worker pool allocates `num-worker * gpus-per-worker` GPUs.
119
130
- `agentic-coding`: Agentic trace replay benchmarks using real conversation traces. Each entry has:
120
131
- `search-space`: Same structure as `fixed-seq-len` search-space entries, plus `kv-offloading` (`none` or `dram`, required for single-node entries) and the optional `kv-offload-backend`.
121
132
@@ -150,7 +161,7 @@ jobs to 3600 seconds. Reusable workflow callers may override the `duration`
150
161
input.
151
162
152
163
Notes:
153
-
- The fields above are the common ones, not the full schema. The Pydantic models in [`infx/matrix/validation.py`](../infx/matrix/validation.py) are the authoritative contract; they also accept fields such as `spec-decoding`, `num-nodes`, `require-power` and `power`, and they reject any field they do not define, which fails matrix generation.
164
+
- The fields above are the common ones, not the full schema. The Pydantic models in [`infx/matrix/validation.py`](../infx/matrix/validation.py) are the authoritative contract; they also accept fields such as `spec-decoding`, `require-power` and `power`, and they reject any field they do not define, which fails matrix generation.
154
165
- Every multinode benchmark point on a cluster with a GPU exporter measures GPU power (DCGM where the cluster sets `srt-slurm.power-exporter-port`, its `default_gpu_exporter` elsewhere), and CPU power where the cluster declares a `cpu-power-exporter`, unless its recipe runs etcd and NATS on a dedicated node; it keeps its result when telemetry fails. A search-space entry with `power: true` makes failed telemetry or invalid AgentX power fail the point, and is rejected on a cluster without a GPU exporter.
155
166
- A multinode entry with `cpu-power: true` beside `power: true` also measures CPU power: its rows carry `cpu-power: true` and the launcher binds the cluster's `cpu-power-exporter` record beside the GPU telemetry block. Native single-node points measure CPU power by default on a cluster that declares a `cpu-power-exporter`; a single-node fixed-sequence entry sets `cpu-power: true` alone to count a missing CPU leg as invalid.
156
167
- srt-slurm entries require `srt-recipe-dir`. Every row requires `srt-recipe: <file>[:<selector>]` under it (selector: `base`, `override_<name>` or `zip_override_<name>[<i>]`). Multinode rows may add `eval-srt-recipe`. Validation rejects missing files or variants, and `CONFIG_FILE`/`EVAL_CONFIG_FILE` settings. Only `llmd-vllm` keeps `CONFIG_FILE`. Generated rows carry the path from `inferencex-e2e/`.
@@ -162,7 +173,7 @@ Multi-node prefill workers may set `dwdp-size` to the number of ranks in a
162
173
distributed weight-data parallel group. It defaults to 1 (disabled). For DWDP,
163
174
`tp`, `ep`, `pp`, `dcp-size`, and `pcp-size` must all be 1 and `dp-attn` must be
164
175
false. `num-worker` counts groups, not ranks: two workers with `dwdp-size: 8`
0 commit comments