Skip to content

Commit 8dd1efc

Browse files
edwingao28cquil11
authored andcommitted
feat(power): collect NVL72 CPU power from composed recipes
Integrate Grace CPU and rail telemetry independently of GPU validity and retain per-host GPU power. Require declared CPU sources during strict power validation and resolve them from the bound recipe variant. Adapt CPU telemetry to the recipe bundles and master-owned power settings from refactor/recipe-bundles. Keep the Qwen 8P1D benchmark and collector on the reserved head and carry the exporter release through master settings.
1 parent 01e3b46 commit 8dd1efc

32 files changed

Lines changed: 1331 additions & 149 deletions

‎.github/AGENT_OPERATIONS.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ Eval selection, the `--no-evals` / `--evals-only` / `--all-evals` flags, and cha
6868

6969
## Power telemetry
7070

71-
Multinode srt-slurm results may include `power_valid`, `avg_power_w`, `avg_total_gpu_power_w`, `total_gpu_energy_j`, and joules per query/input/output/total token. Invalid telemetry records `power_valid: 0` without energy metrics and fails only with `REQUIRE_POWER=1`. Single-node results carry no power fields until srt-slurm telemetry covers those lanes.
71+
Multinode srt-slurm results may include `power_valid`, `avg_power_w`, `avg_total_gpu_power_w`, `total_gpu_energy_j`, and joules per query/input/output/total token. Invalid telemetry records `power_valid: 0` without energy metrics and fails only with `REQUIRE_POWER=1`, or always on AgentX lanes whose launcher validates power. Single-node results carry no power fields until srt-slurm telemetry covers those lanes.
7272

7373
Multinode disaggregated results add `prefill_gpu_energy_j`, `decode_gpu_energy_j`, `prefill_avg_power_w`, `decode_avg_power_w`, `prefill_joules_per_input_token`, and `decode_joules_per_output_token`. Role energy covers the full formal benchmark window, not kernel-level phases, and the role watts are that energy divided by the same window and by the role's GPU count.
7474

75+
NVL72 packages that also carry srt-slurm's `power/cpu/` sub-package add `cpu_power_valid`, `avg_cpu_socket_power_w`, `avg_total_cpu_power_w`, and `total_cpu_energy_j`. They add `avg_total_module_power_w` and `total_module_energy_j` when the module sensor is exposed on every socket. They add `avg_total_cpu_rail_power_w` and `total_cpu_rail_energy_j` (ACPI CPU rail), and `avg_total_cpu_sysio_power_w` and `total_cpu_sysio_energy_j` (ACPI SysIO rail), each pair only when every Grace socket reports that rail without gaps. The rails are a non-additive breakdown inside the Grace socket total: never add them to it or subtract them from it. The CPU verdict is independent of `power_valid`. An invalid CPU leg fails the job only when power is required and the recipe declares `telemetry.cpu_power_exporter.source`; AgentX lanes whose launcher validates power always require it, and other lanes require it through `REQUIRE_POWER=1`; see [`inferencex-e2e/docs/results-and-ingestion.md`](../inferencex-e2e/docs/results-and-ingestion.md#measured-grace-cpu-side-power-nvl72).
76+
7577
Every power result, valid or invalid, carries `power_metric_schema_version`. Version 2 defines each unprefixed `joules_per_*` field as whole-deployment GPU-board energy over the named denominator; role-scoped energy uses the explicit `prefill_*` / `decode_*` keys. Rows without the field predate the whole-deployment switch and their unprefixed joules are not comparable across topologies.
7678

7779
A multinode master row with `power: true` enables official energy collection: the launcher merges `inferencex-e2e/configs/srt-recipes/telemetry-dcgm.yaml` into its srt-slurm recipe. The Git submodule pointer at `inferencex-e2e/utils/srt-slurm` is the source of truth for every srt-slurm job, including TileRT. CI derives `POWER_PRODUCER_SHA` from the launcher stamp. The aggregate-power and AgentX power tests validate telemetry and provenance. These local tests do not prove hardware power collection. Eligible `dynamo-sglang` dcgm-power lanes are validated.

‎.github/workflows/benchmark-multinode-tmpl.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ jobs:
333333
fi
334334
export EVAL_CONC
335335
export IS_MULTINODE=true
336+
echo "POWER_EXPECTED_CPU_SOURCE=" >> "$GITHUB_ENV"
336337
"$INFERENCEX_LAUNCH_PYTHON" -m infx.launch run
337338
if [ "${EVAL_ONLY}" = "true" ]; then
338339
echo "Eval-only mode: skipping benchmark result file check"

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3/vllm/gb200-fp4/agentx/agg-dcp16-dspark4-maxseq2-mooncake.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ srun_options:
136136
container-remap-root: ""
137137

138138
telemetry:
139+
cpu_power_exporter:
140+
port: 9405
141+
source: acpi
139142
collector_join_timeout_seconds: 12
140143

141144
benchmark:

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3/vllm/gb200-fp4/agentx/agg-dcp16-nospec-mooncake.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ srun_options:
132132
container-remap-root: ""
133133

134134
telemetry:
135+
cpu_power_exporter:
136+
port: 9405
137+
source: acpi
135138
collector_join_timeout_seconds: 12
136139

137140
benchmark:

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3/vllm/gb200-fp4/agentx/agg-tp8pp2-variants.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ base:
104104
container-remap-root: ""
105105

106106
telemetry:
107+
cpu_power_exporter:
108+
port: 9405
109+
source: acpi
107110
collector_join_timeout_seconds: 12
108111

109112
benchmark:

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3/vllm/gb300-fp4/agentx/agg-variants.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ base:
119119
container-remap-root: ""
120120

121121
telemetry:
122+
cpu_power_exporter:
123+
port: 9405
124+
source: acpi
122125
collector_join_timeout_seconds: 12
123126

124127
benchmark:

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/kimik3/vllm/gb300-fp4/agentx/disagg-variants.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ base:
163163
container-remap-root: ""
164164

165165
telemetry:
166+
cpu_power_exporter:
167+
port: 9405
168+
source: acpi
166169
collector_join_timeout_seconds: 12
167170

168171
benchmark:

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/qwen3.5/sglang/gb200-fp8/8k1k/disagg-1p1d-tp4-tp4-stp.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,8 @@ roles:
108108
decode-log-interval: 1
109109
stream-interval: 50
110110
disaggregation-mode: "decode"
111+
112+
telemetry:
113+
cpu_power_exporter:
114+
port: 9405
115+
source: acpi

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/qwen3.5/sglang/gb200-fp8/8k1k/disagg-4p1d-dep4-dep16-stp.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,8 @@ roles:
144144

145145
decode-log-interval: 1
146146
stream-interval: 50
147+
148+
telemetry:
149+
cpu_power_exporter:
150+
port: 9405
151+
source: acpi

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/qwen3.5/sglang/gb200-fp8/8k1k/disagg-8p1d-dep4-dep16-stp.yaml‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,20 @@ services:
1010
- name: etcd
1111
type: etcd
1212
placement:
13-
node: dedicated
13+
node: head
1414
- name: nats
1515
type: nats
1616
placement:
17-
node: dedicated
17+
node: head
1818
dynamo:
1919
install: true
2020

2121
source:
2222
wheel: "1.5.0.dev20260917"
2323
frontend:
2424
type: dynamo
25+
placement:
26+
node: dedicated
2527
enable_multiple_frontends: true
2628
num_additional_frontends: 4
2729
nginx_container: nginx
@@ -153,3 +155,12 @@ roles:
153155

154156
decode-log-interval: 1
155157
stream-interval: 50
158+
159+
benchmark:
160+
placement:
161+
node: head
162+
163+
telemetry:
164+
cpu_power_exporter:
165+
port: 9405
166+
source: acpi

0 commit comments

Comments
 (0)