Repository navigation
fix(power): report over-long sample gaps instead of voiding the window - #23
edwingao28 wants to merge 9 commits into
Conversation
A single sample gap past MAX_SAMPLE_GAP_SECONDS rejected the whole window on every GPU of the job. H200 Kimi-K3 run 35532102407 lost its TP16 lane to this: one node's exporter answered in 3.26 s and 3.10 s during a 3640 s window, 0.175% of it, and 32 GPUs of measurement were discarded. The passing TP8 lane in the same run had a larger 3.22 s excursion that only survived because it landed in warmup, outside the window, so which points survive is chance rather than data quality. An over-long gap is interpolated rather than measured, and its energy error is bounded by the dynamic range times the gap: under 0.04% for 3.3 s of a 3640 s window. A collector that actually stopped is a different failure and must still be caught, so reject the window when one gap passes MAX_SAMPLE_GAP_HARD_SECONDS (10 s) or when the time inside over-long gaps passes MAX_OVERLONG_GAP_FRACTION (0.5%) of the window. The budget is a fraction, so a short window still rejects the gap a long one absorbs. The stored audit keeps reporting the largest gap per device, unchanged, so the consumer-side recompute still compares like for like. 中文:将超长功耗采样间隙改为预算制,不再因单次间隙作废整个窗口。此前只要有一次 间隙超过 MAX_SAMPLE_GAP_SECONDS,整个作业所有 GPU 的窗口都被判废。H200 Kimi-K3 run 35532102407 的 TP16 lane 就是这样丢掉的:某个节点的 exporter 在 3640 秒窗口 内有两次 3.26 秒和 3.10 秒的响应,仅占 0.175%,却作废了 32 张卡的测量;同一次运行 中通过的 TP8 lane 反而有更大的 3.22 秒抖动,只因落在 warmup 窗口外而幸免——是否 通过取决于运气而非数据质量。超长间隙是插值而非实测,其能量误差上界为动态范围乘以 间隙长度,3640 秒窗口中的 3.3 秒间隙低于 0.04%。采集器真正停止是另一类故障,仍需 拦截,因此改为:单次间隙超过 MAX_SAMPLE_GAP_HARD_SECONDS(10 秒),或超长间隙占用 时间超过窗口的 MAX_OVERLONG_GAP_FRACTION(0.5%)时拒绝该窗口。预算按比例计算, 因此短窗口仍会拒绝长窗口能够吸收的间隙。存储的审计记录仍按设备报告最大间隙,保持 不变,消费侧重算比较的仍是同一字段。
acc68ce to
17ed4e4
Compare
One sampling gap past MAX_SAMPLE_GAP_SECONDS rejects the window on every GPU of the job. This lane lost every point that way: one node's exporter answered in 3.26 s and 3.10 s during a 3640 s window, 0.175% of it, with the benchmark reporting no error. The lane that passed in the same run had a larger 3.22 s excursion and survived only because it landed in warmup, outside the window, so which points publish is chance rather than data quality. Baseline cadence is healthy on both: p99 gap 1.03-1.05 s. An over-long gap is interpolated coverage, not a corrupt measurement, and its per-device energy error is bounded by the dynamic range times the gap: under 0.04% for 3.3 s of a 3640 s window. A collector that actually stopped is a different failure and still has to be caught, so reject the window when one gap passes MAX_SAMPLE_GAP_HARD_SECONDS (10 s), or when the time inside over-long gaps passes MAX_OVERLONG_GAP_FRACTION (0.5%) of the window. The budget is a fraction, so a short window still rejects the gap a long one absorbs. The rule only ever relaxes, so no already-published point can regress. The stored audit still reports the largest gap per device, unchanged. The gap rule is a producer contract, so a consumer-only relaxation would mismatch the stored verdict and fail the point as package_recompute_invalid. The submodule pin advances exactly one commit from main's 984180e5 -- that commit is its parent, not the fork's main, so no other srt-slurm change enters the runtime. Tracked in SemiAnalysisAI/srt-slurm#23; move the pin to the merged sha before this merges. Verified by replaying the four retained H200 power packages of run 35532102407: the two rejected points now pass with no reason codes, the two that already passed are unchanged. 中文:将超长功耗采样间隙改为预算制,不再因单次间隙作废整个基准点。此前只要有一次 采样间隙超过 MAX_SAMPLE_GAP_SECONDS,整个作业所有 GPU 的窗口都被判废。本条 lane 的每个点都是这样丢的:某节点的 exporter 在 3640 秒窗口内有两次 3.26 秒和 3.10 秒 的响应,仅占 0.175%,而 benchmark 本身没有报错。同一次运行中通过的那条 lane 反而 有更大的 3.22 秒抖动,只因落在 warmup、窗口之外而幸免——哪些点能发布取决于运气而 非数据质量。两条 lane 的基线节奏都健康,p99 间隙 1.03-1.05 秒。 超长间隙属于插值覆盖而非损坏的测量,其单设备能量误差上界为动态范围乘以间隙长度, 3640 秒窗口中的 3.3 秒间隙低于 0.04%。采集器真正停止是另一类故障,仍需拦截,因此 改为:单次间隙超过 MAX_SAMPLE_GAP_HARD_SECONDS(10 秒),或超长间隙占用时间超过 窗口的 MAX_OVERLONG_GAP_FRACTION(0.5%)时拒绝该窗口。预算按比例计算,因此短窗口 仍会拒绝长窗口能够吸收的间隙。 该规则只会放宽,已发布的点不会回退。存储的审计记录仍按设备报告最大间隙,保持不变。 间隙判定属于生产端契约,只放宽消费端会与存储结论不一致,该点会以 package_recompute_invalid 失败。submodule pin 相对 main 的 984180e5 只前进一个 commit——该 commit 正是其父提交,而非 fork 的 main,因此不会引入任何其他 srt-slurm 改动。跟踪于 SemiAnalysisAI/srt-slurm#23;本 PR 合并前需将 pin 改为合并后的 sha。 验证方式:用 run 35532102407 留存的四个 H200 功耗包回放——两个原本被拒的点现在无 任何 reason code 通过,两个原本通过的结果不变。
One sampling gap past MAX_SAMPLE_GAP_SECONDS rejects the window on every GPU of the job. This lane lost every point that way: one node's exporter answered in 3.26 s and 3.10 s during a 3640 s window, 0.175% of it, with the benchmark reporting no error. The lane that passed in the same run had a larger 3.22 s excursion and survived only because it landed in warmup, outside the window, so which points publish is chance rather than data quality. Baseline cadence is healthy on both: p99 gap 1.03-1.05 s. An over-long gap is interpolated coverage, not a corrupt measurement, and its per-device energy error is bounded by the dynamic range times the gap: under 0.04% for 3.3 s of a 3640 s window. A collector that actually stopped is a different failure and still has to be caught, so reject the window when one gap passes MAX_SAMPLE_GAP_HARD_SECONDS (10 s), or when the time inside over-long gaps passes MAX_OVERLONG_GAP_FRACTION (0.5%) of the window. The budget is a fraction, so a short window still rejects the gap a long one absorbs. The rule only ever relaxes, so no already-published point can regress. The stored audit still reports the largest gap per device, unchanged. The gap rule is a producer contract, so a consumer-only relaxation would mismatch the stored verdict and fail the point as package_recompute_invalid. The submodule pin advances exactly one commit from main's 984180e5 -- that commit is its parent, not the fork's main, so no other srt-slurm change enters the runtime. Tracked in SemiAnalysisAI/srt-slurm#23; move the pin to the merged sha before this merges. Verified by replaying the four retained H200 power packages of run 35532102407: the two rejected points now pass with no reason codes, the two that already passed are unchanged. 中文:将超长功耗采样间隙改为预算制,不再因单次间隙作废整个基准点。此前只要有一次 采样间隙超过 MAX_SAMPLE_GAP_SECONDS,整个作业所有 GPU 的窗口都被判废。本条 lane 的每个点都是这样丢的:某节点的 exporter 在 3640 秒窗口内有两次 3.26 秒和 3.10 秒 的响应,仅占 0.175%,而 benchmark 本身没有报错。同一次运行中通过的那条 lane 反而 有更大的 3.22 秒抖动,只因落在 warmup、窗口之外而幸免——哪些点能发布取决于运气而 非数据质量。两条 lane 的基线节奏都健康,p99 间隙 1.03-1.05 秒。 超长间隙属于插值覆盖而非损坏的测量,其单设备能量误差上界为动态范围乘以间隙长度, 3640 秒窗口中的 3.3 秒间隙低于 0.04%。采集器真正停止是另一类故障,仍需拦截,因此 改为:单次间隙超过 MAX_SAMPLE_GAP_HARD_SECONDS(10 秒),或超长间隙占用时间超过 窗口的 MAX_OVERLONG_GAP_FRACTION(0.5%)时拒绝该窗口。预算按比例计算,因此短窗口 仍会拒绝长窗口能够吸收的间隙。 该规则只会放宽,已发布的点不会回退。存储的审计记录仍按设备报告最大间隙,保持不变。 间隙判定属于生产端契约,只放宽消费端会与存储结论不一致,该点会以 package_recompute_invalid 失败。submodule pin 相对 main 的 984180e5 只前进一个 commit——该 commit 正是其父提交,而非 fork 的 main,因此不会引入任何其他 srt-slurm 改动。跟踪于 SemiAnalysisAI/srt-slurm#23;本 PR 合并前需将 pin 改为合并后的 sha。 验证方式:用 run 35532102407 留存的四个 H200 功耗包回放——两个原本被拒的点现在无 任何 reason code 通过,两个原本通过的结果不变。
…ttribute acpi_power_meter registers through the legacy hwmon_device_register(), so the hwmon class node carries no `name`; the driver exposes it on the parent ACPI device under `device/`. On Grace nodes running 6.8.0-nvidia-64k the Rust and Python exporters and the host-side reader all skipped every meter and exited with "no ACPI power_meter hwmon sensors found" although six meters were live. Accept `name` from `hwmonN/name` or `hwmonN/device/name` (a local helper in each Python module, since this base has no shared rails module), and cover the legacy layout in the Rust and Python tests. Signed-off-by: Wenyao Gao <[email protected]>
…branch The first sweep showed the pinned cpu-power-exporter exiting with "no ACPI power_meter hwmon sensors found" on every GB200 node: on 6.8.0-nvidia-64k the acpi_power_meter hwmon node has no `name` attribute, only `device/name`. Pin utils/srt-slurm to SemiAnalysisAI/srt-slurm#23 head 473ecaa8 (984180e5 plus the gap-budget fix and the discovery fix) so the CPU leg can publish; the wire contract stays v1 long, so no consumer change. 中文:首次 sweep 显示固定版本的 cpu-power-exporter 在所有 GB200 节点上以 "no ACPI power_meter hwmon sensors found" 退出:6.8.0-nvidia-64k 内核下 acpi_power_meter 的 hwmon 节点没有 `name` 属性,只有 `device/name`。将 utils/srt-slurm 固定到 SemiAnalysisAI/srt-slurm#23 的 head 473ecaa8(984180e5 + 采样间隙预算修复 + 传感器发现修复),使 CPU 侧采集可以发布;CSV 契约仍为 v1 长表,消费端无需改动。
…ing them Replaces the budget introduced two commits up (a 10 s ceiling plus a 0.5% over-long fraction) with no verdict at all, following the 2026-09-21 decision to keep sample gaps as metadata only. One sample gap past MAX_SAMPLE_GAP_SECONDS (3.0 s) on any device marked the whole window sample_gap_exceeded, and the run-level verdict requires every window valid, so the lane was discarded. H200 Kimi-K3 run 35532102407 lost its TP16 lane this way: worker-8 at C2 and worker-0 at C3 each missed exactly one scrape, 3.06 s and 3.25 s gaps in 3600 s windows, while the other hosts show a 2.0 s gap in the same cycle. That pattern is the collector's own arithmetic, not a stalled sampler. The collector polls every node's dcgm-exporter once per second with a 2 s request timeout; one reply past the timeout drops that node's sample for the cycle, so its gap is 1 s + 2 s + overhead, above 3.0 s by construction, and the delayed cycle stretches every other host to about 2 s. A single slow HTTP reply was enough to void an hour of measurement on 32 GPUs. A budget only moves the line the same arithmetic can cross. Gaps inside a window are now metadata. _check_coverage still reports the largest gap per device in per_device_max_sample_gap_seconds, and the row shape is unchanged so consumers keep reading the same field, but it no longer emits sample_gap_exceeded. A collector that stopped for good still fails: with no sample at or after the window end the window is not bracketed. The energy a gap can misstate is bounded by the dynamic range times the gap, under 0.04% for 3.3 s of a 3640 s window; deciding whether that matters belongs to the consumer that integrates the samples, not to the producer. MAX_SAMPLE_GAP_SECONDS stays as the interpolation bound at window boundaries (incremental_power, power_energy_report) and the cap on collect_interval_ms; the recipe-validation messages now say so instead of citing the retired reason. MAX_SAMPLE_GAP_HARD_SECONDS and MAX_OVERLONG_GAP_FRACTION are gone. Reason.SAMPLE_GAP_EXCEEDED is kept so earlier artifacts still parse. Consumers that mirror the producer's per-window audit rows (InferenceX infx/results/power/multinode.py, single_node.py) must drop the same verdict or their recompute will disagree with the stored reason codes. Tests: the budget cases are replaced by the 35532102407 shape and a 60 s pause, both valid with the gap reported; the 4.0 s-cadence and 3.5 s-cadence cases flip from rejected to valid; the disk-derived-reason reconciliation test now forces a bracketing failure instead of a gap. The new cases fail on main's windows.py. 中文:用「完全不作判定」取代上面两个 commit 引入的预算制(10 秒上限加 0.5% 超长 占比),落实 2026-09-21 的决定:采样间隙只作为元数据保留。 此前任一设备出现超过 MAX_SAMPLE_GAP_SECONDS(3.0 秒)的采样间隙,整个窗口就被标为 sample_gap_exceeded,而 run 级判定要求所有窗口有效,于是整条 lane 被丢弃。H200 Kimi-K3 run 35532102407 的 TP16 lane 就是这样丢的:C2 的 worker-8 与 C3 的 worker-0 各漏掉恰好一次 scrape,在 3600 秒窗口里形成 3.06 秒和 3.25 秒间隙,同一周期其余主机 的间隙约为 2.0 秒。 这个形态是采集器自身的算术,不是采样停止。采集器每秒向每个节点的 dcgm-exporter 发 一次请求,超时 2 秒;一次超时回复就丢掉该节点这一周期的样本,其间隙 = 1 秒 + 2 秒 + 开销,结构上必然超过 3.0 秒,而被拖慢的周期又把其他主机拉到约 2 秒。一次慢 HTTP 回复 足以作废 32 张卡一小时的测量。预算制只是把同一算术会越过的线挪了个位置。 窗口内的间隙现在只是元数据。_check_coverage 仍在 per_device_max_sample_gap_seconds 中按设备报告最大间隙,行结构不变,消费方读的还是同一字段,但不再发出 sample_gap_exceeded。真正停止的采集器仍会失败:窗口结束后没有样本即未被包围。间隙 能造成的能量误差上界为动态范围乘以间隙,3640 秒窗口中 3.3 秒低于 0.04%;这是否重要 应由积分样本的消费方决定,而不是生产方。 MAX_SAMPLE_GAP_SECONDS 保留为窗口边界的插值上界(incremental_power、 power_energy_report)以及 collect_interval_ms 的上限;配方校验的提示语改为说明这一点, 不再引用已退役的原因码。MAX_SAMPLE_GAP_HARD_SECONDS 与 MAX_OVERLONG_GAP_FRACTION 删除。Reason.SAMPLE_GAP_EXCEEDED 保留,以便旧产物仍能解析。 镜像生产方逐窗口审计行的消费方(InferenceX infx/results/power/multinode.py、 single_node.py)必须同步去掉该判定,否则重算结果会与存储的原因码不一致。 测试:预算用例替换为 35532102407 的形态和 60 秒停顿,两者均有效且报告间隙;4.0 秒 与 3.5 秒节拍的用例由拒绝改为有效;磁盘派生原因的对账测试改为强制包围失败而非间隙。 新用例在 main 的 windows.py 上失败。 Signed-off-by: Wenyao Gao <[email protected]>
Keep request failures, cycle scheduling and sample writes attributable by host and scrape sequence. Preserve the existing sampling cadence and validation policy. Local injected delays validate the diagnostics; production causality and overhead remain unverified. Signed-off-by: Wenyao Gao <[email protected]>
The collector opens a new TCP connection for every scrape and folds ConnectTimeout and ReadTimeout into one ENDPOINT_TIMEOUT reason, so the timing sidecar could not tell a connect-phase stall from a slow exporter response. Each endpoint record now carries error_type, the requests exception class name (ConnectTimeout, ReadTimeout, ConnectionError, HTTPError), null on success. No change to sampling, reasons, or timeouts. Tests: the failed-request timing case asserts ReadTimeout and HTTPError and a refused local port classifies as ConnectionError. 中文:采集器每次 scrape 都新建 TCP 连接,并把 ConnectTimeout 与 ReadTimeout 合并为同一个 ENDPOINT_TIMEOUT 原因码,计时 sidecar 因此无法区分连接阶段卡顿 与 exporter 响应慢。现在每条 endpoint 记录带上 error_type(requests 异常类名: ConnectTimeout、ReadTimeout、ConnectionError、HTTPError),成功时为 null。 采样、原因码与超时行为均不变。 测试:失败请求计时用例断言 ReadTimeout 与 HTTPError;对本地已关闭端口的请求 归类为 ConnectionError。 Signed-off-by: Wenyao Gao <[email protected]>
Ship an opt-in patch and native build recipe for dcgm-exporter 4.6.0-4.8.3. Keep ordinary watches active while profiling repair runs without the scrape lock or a global field refresh. Add a blocking-repair regression, a real-DCGM hardware probe, SRT diagnostic consumer, offline acceptance checks, and activation/rollback documentation. Verified on four GB200 GPUs: a five-second injected repair caused a 5.5064s gap and two timeouts on the original; the candidate kept a 1.0009s maximum gap with fresh source timestamps and restored profiling. Normal-path median request time was 1.96ms vs 2.74ms. Full SRT suite: 2959 passed, 14 failures reproduced on the unchanged head. Docker image publication and the original multinode model canary remain outstanding. Signed-off-by: Wenyao Gao <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 006bb39. Configure here.
| + c.profilingCleanups = nil | ||
|
|
||
| - cleanups, err := c.deviceWatchList.Watch() | ||
| + cleanups, err := c.profilingWatchList.Watch() |
There was a problem hiding this comment.
Nil repair panics without profiling
High Severity
getMetricsOnce still treats a repairable regular-field error as a repair when profilingWatchList is nil (power-only / no profiling stale windows), but rearmProfilingWatch now always calls profilingWatchList.Watch(). That path nil-dereferences in the background goroutine and crashes the exporter process instead of rearms the ordinary watch.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 006bb39. Configure here.
Integrate the counters used by the H200 c2/c3 B2 canary while preserving its active entries and the existing collector runtime. Document the profiling-metric tradeoff and distinguish the stock-image mitigation from the separate exporter isolation patch. 中文:整合 H200 c2/c3 B2 已验证的无 profiling counters 配置,保留有效字段 及既有采集运行路径;说明 profiling 指标取舍,并区分配置方案与独立 exporter 隔离补丁。 Signed-off-by: Wenyao Gao <[email protected]>
Signed-off-by: Wenyao Gao <[email protected]>
|
InferenceX now pins the upstream producer, which still reports sample gaps, so this change is no longer needed. |
… CPU 与逐主机 GPU 功耗 (#3296) * feat: integrate Grace CPU-side power from the multinode cpu/ package Read srt-slurm's power/cpu/{samples.csv,cpu_manifest.json} (v1 long and v2 wide) next to the GPU DCGM package, integrate each (host, socket) Grace-side and module series over the bound formal window with the shared trapezoid and gap rule, and emit cpu_power_valid plus avg_cpu_socket_power_w, avg_total_cpu_power_w, total_cpu_energy_j and the module keys. The verdict is independent of power_valid and REQUIRE_POWER; a package without cpu/ produces byte-identical output (GB200 fixture replay). 中文:在多节点功耗校验器中接入 srt-slurm 的 power/cpu/ 子产物包(v1 长格式与 v2 宽格式),按 (主机, socket) 在同一正式测量窗口内用共享的梯形法和采样间隔规则积分 Grace 侧及模块功耗,输出 cpu_power_valid 与 avg_cpu_socket_power_w、 avg_total_cpu_power_w、total_cpu_energy_j 及模块字段;结论独立于 power_valid 和 REQUIRE_POWER,无 cpu/ 的产物包输出逐字节不变(GB200 fixture 回放验证)。 * fix: keep cpu_power_valid independent of the GPU producer pin validate_and_integrate() forced cpu_power_valid=0 with cpu_producer_unverified whenever the GPU leg's producer pin failed, so a run with valid Grace samples lost its CPU energy for a GPU-side reason, against the ticket contract ("independent of power_valid") and the spec's independent-leg rule. Drop that gate and the unused blocking_reasons hook: the CPU leg borrows only the bound formal window and the host topology as inputs, and no GPU verdict reaches it. Fold the pin-mismatch and pin-missing cases into the existing invalid-GPU-leg test. Docs (EN/ZH) drop the contradictory sentence and list the codes the leg actually emits, including the shared non_finite_power_metric and aggregate_result_* ones. GB200 fixture replay stays byte-identical. 中文:validate_and_integrate() 原本在 GPU 侧 producer 固定版本校验失败时,用 cpu_producer_unverified 强制 cpu_power_valid=0,导致 Grace 采样有效的运行因 GPU 侧 原因丢失 CPU 能耗,与工单契约(“独立于 power_valid”)和 spec 的独立测量环节规则相悖。 移除该门控及未使用的 blocking_reasons 参数:CPU 侧只借用已绑定的正式窗口和主机拓扑 作为输入,GPU 侧的任何结论都不会传导过来。把固定版本不匹配与缺失两种情形并入现有的 GPU 侧无效测试。中英文文档删除自相矛盾的表述,并列出实际输出的原因码,包括共享的 non_finite_power_metric 与 aggregate_result_*。GB200 fixture 回放输出逐字节不变。 * feat: enable srt-slurm cpu power leg on Qwen3.5 FP8 GB200 and GB300 lanes Add telemetry.cpu_power_exporter (port 9405, source acpi) to the 1P1D TP4/TP4 STP recipes of qwen3.5-fp8-gb200-dynamo-sglang and qwen3.5-fp8-gb300-dynamo-sglang, the smallest active non-Kimi-K3 NVL72 power lanes; nothing else in the recipes changes. srt-slurm v2.2.1 runs the exporter on the bare worker host and writes power/cpu/samples.csv plus cpu_manifest.json beside the GPU DCGM package for the multinode validator's CPU leg. Append the perf-changelog entry. DSV4 8k1k lanes are not used because that scenario was deprecated after 2026-09-08. 中文:在 qwen3.5-fp8-gb200-dynamo-sglang 与 qwen3.5-fp8-gb300-dynamo-sglang 的 1P1D TP4/TP4 STP recipe 中加入 telemetry.cpu_power_exporter(port 9405, source acpi),这是当前活跃、非 Kimi-K3 的最小 NVL72 功耗 lane;recipe 其余内容不变。srt-slurm v2.2.1 在 worker 裸主机上运行 exporter,并在 GPU DCGM 产物包旁写入 power/cpu/samples.csv 与 cpu_manifest.json,供多节点 校验器的 CPU 侧测量环节使用。追加 perf-changelog 条目。未采用 DSV4 8k1k lane,因为该场景已于 2026-09-08 之后弃用。 * chore: link the cpu power leg changelog entry to PR #3296 Replace the pr-link placeholder in the appended perf-changelog.yaml entry with the opened PR URL; no other bytes change. 中文:将新增 perf-changelog.yaml 条目中的 pr-link 占位符替换为已开启的 PR 链接,其余内容不变。 * fix: pin srt-slurm to the hwmon name discovery fix on the gap-budget branch The first sweep showed the pinned cpu-power-exporter exiting with "no ACPI power_meter hwmon sensors found" on every GB200 node: on 6.8.0-nvidia-64k the acpi_power_meter hwmon node has no `name` attribute, only `device/name`. Pin utils/srt-slurm to SemiAnalysisAI/srt-slurm#23 head 473ecaa8 (984180e5 plus the gap-budget fix and the discovery fix) so the CPU leg can publish; the wire contract stays v1 long, so no consumer change. 中文:首次 sweep 显示固定版本的 cpu-power-exporter 在所有 GB200 节点上以 "no ACPI power_meter hwmon sensors found" 退出:6.8.0-nvidia-64k 内核下 acpi_power_meter 的 hwmon 节点没有 `name` 属性,只有 `device/name`。将 utils/srt-slurm 固定到 SemiAnalysisAI/srt-slurm#23 的 head 473ecaa8(984180e5 + 采样间隙预算修复 + 传感器发现修复),使 CPU 侧采集可以发布;CSV 契约仍为 v1 长表,消费端无需改动。 * feat: prepare Kimi K3 NVL72 CPU telemetry and host power Enable best-effort CPU telemetry on 13 existing GPU-power recipes and retain validated physical-host GPU power. Keep GPU validation and serving settings intact. 为 13 份已有 GPU 功耗配方准备独立 CPU 遥测,并保留通过验证的逐物理主机 GPU 功耗。保持 GPU 校验与服务设置不变。 * fix: enforce NVL72 CPU exporter preflight 应用上游 #553 的提交检查修复,令启用 CPU 采集的配方在 exporter 缺失、不可执行或已知架构不匹配时于 sbatch 前失败,并明确源码采集链路与二进制版本的区别。 * fix: require complete CPU power for NVL72 sweeps 要求 NVL72 扫描提供完整 CPU 功耗,并补齐 Qwen 采集与时钟主机配置。 * fix: retain AgentX CPU power audit 中文:在 AgentX 结果中保留 CPU 功耗审计信息。 * chore: consolidate NVL72 power changelog entry 将 NVL72 功耗变更记录合并为一个条目。 * fix: migrate Qwen NVL72 head placement to srt schema 2 将两份 Qwen NVL72 配方的前端与基准客户端位置改为当前 schema。 * chore: drop upstreamed srt-slurm 553 patch and pin exporter v2.47.2 中文:移除已合入上游的 srt-slurm 553 补丁,exporter 固定为 v2.47.2。 * feat: publish Grace CPU-only and SysIO rail power 中文:发布 Grace CPU 核心与 SysIO 供电轨功耗。 * test: prune redundant NVL72 power tests 中文:精简 NVL72 功耗冗余测试。 * test: restore distinct CPU power regression coverage 恢复 CPU 电源来源选择、错误隔离和时间窗口的回归测试。 * docs: define the Grace CPU power sensors and their published keys 中文:定义 Grace CPU 各功耗传感器的范围及对应发布字段。 * docs: note that GB200 exposes module power through NVML, not ACPI 中文:说明 GB200 的模块功耗由 NVML 提供而非 ACPI 功耗计,srt-slurm 尚未读取。 * docs: correct NVL72 CPU power policy, rail keys, and changelog 中文:修正 NVL72 CPU 功耗失败策略说明,补充供电轨字段与实测数值,并删除 changelog 中不属于本 PR 的 Kimi K3 采样间隔描述。 * chore: pin cpu-power-exporter v2.51.1 to match the srt-slurm source pin 中文:将 cpu-power-exporter 固定到 v2.51.1,与 srt-slurm 源码 pin 保持一致 * fix: drop launcher-bound keys from NVL72 CPU power recipes * feat(power): declare the Grace CPU exporter per cluster and select it with cpu-power The binder merges telemetry.cpu_power_exporter from the cluster record when a master row sets cpu-power beside power, so recipes and per-point settings no longer carry it; make setup pins the exporter release only for those jobs. 中文:Grace CPU 功耗 exporter 改由 cluster 记录声明,master 行用 cpu-power 选择;recipe 与逐点 additional-settings 不再携带,make setup 仅对这些任务固定 exporter 版本。 * refactor(power): read only the wide Grace socket samples in the CPU leg srt-slurm v2.51.1 cpu_samples.py:110 writes only CPU_SAMPLES_HEADER and binds no module meter, so the v1 long format, the OEM-label regexes and the module and DCGM headline paths never ran. The headline comes from the CPU<n>:cpuSidePowerUsageW rows alone and the two module keys leave CPU_METRIC_KEYS. 中文:CPU leg 仅读取宽格式 Grace socket 采样;删除从未执行的 v1 长格式、OEM 标签正则以及 module/DCGM headline 路径,并从 CPU_METRIC_KEYS 移除两个 module 指标。 * refactor(power): expect the CPU leg from cpu-power instead of re-reading the bound recipe The point's cpu-power switch already decides whether the exporter is bound (PowerDecision.cpu), so the launcher no longer re-reads the recipe or writes POWER_EXPECTED_CPU_SOURCE to GITHUB_ENV, and the processors take --expected-cpu-power or the workflow's CPU_POWER. The source check goes with it: the cluster record requires a source (clusters/slurm.py CpuPowerExporter), the binder always writes it, and the Grace leg accepts only its own sensor. 中文:CPU leg 是否必需改由 cpu-power 开关决定;launcher 不再回读 recipe 或写 GITHUB_ENV,处理器改用 --expected-cpu-power 或 workflow 的 CPU_POWER。cluster 记录必须声明 source 且 binder 总会写入,故删除多余的 source 核对。 * refactor(power): share the sample-gap limit and drop the dead window-trust field The CPU leg now asks _window_contract_holds directly on the serialized window instead of carrying formal_window_trusted across the audit, MAX_SAMPLE_GAP_SECONDS has one definition in common.py, and patch_power_metrics goes because _patch_agg became its only caller's replacement on this branch. 中文:CPU leg 直接用序列化窗口调用 _window_contract_holds,不再在 audit 上携带 formal_window_trusted;MAX_SAMPLE_GAP_SECONDS 只在 common.py 定义一处;删除在本分支上已无调用方的 patch_power_metrics。 * docs(power): describe the cpu-power switch and Grace sensor semantics AGENT_OPERATIONS.md carries the Grace sensor table Oren asked for (whole-socket meter, CPU and SysIO rails, no module series) in place of the link to the deleted results-and-ingestion.md, and the #3296 changelog entry describes the final diff. 中文:AGENT_OPERATIONS.md 补充 Oren 要求的 Grace 传感器说明(整 socket 读数、CPU/SysIO rail、无 module 序列),替换指向已删除文档的链接;#3296 的 changelog 条目改为描述最终 diff。 * fix(power): count sample_loss_exceeded as GPU coverage for the CPU window srt-slurm power/windows.py _check_coverage has emitted sample_loss_exceeded beside the three other coverage codes since v2.39.3 (#537), so a window that only lost GPU samples keeps binding the CPU leg instead of reporting cpu_window_unavailable. 中文:srt-slurm 自 v2.39.3 起在同一覆盖检查中输出 sample_loss_exceeded;仅丢失 GPU 采样的窗口仍可绑定 CPU leg,而不再报告 cpu_window_unavailable。 * test(power): restore the v3 temperature rejection test 9115045 deleted this GPU sample test with the CPU parser cleanup; read_samples still enforces MAX_TEMPERATURE_C. 中文:恢复被 9115045 随 CPU 解析清理误删的 v3 温度校验测试;read_samples 仍执行 MAX_TEMPERATURE_C 检查。 * refactor(power): drop the launcher cpu-power guard the matrix validator owns validation.py _cpu_power_rides_on_power rejects cpu-power without power on every search-space entry, and CPU_POWER reaches the launcher only from that validated matrix row. 中文:删除启动器中重复的 cpu-power 检查;validation.py 已在所有 search-space 条目上拒绝缺少 power 的 cpu-power,启动器的 CPU_POWER 只来自已校验的矩阵行。 * refactor(power): accept only the ACPI Grace CPU exporter source cpu_side.py integrates only CPU<n>:cpuSidePowerUsageW rows, which srt-slurm emits from ACPI; a dcgm source always ended in cpu_socket_count_mismatch. 中文:CPU exporter 来源只接受 ACPI;cpu_side.py 只积分 ACPI 输出的 CPU<n>:cpuSidePowerUsageW 行,dcgm 来源必然以 cpu_socket_count_mismatch 失败。 * refactor(power): stop gating the CPU leg on cpu_manifest.json srt-slurm documents cpu_manifest.json as non-authoritative debugging metadata and only logs a failed teardown write (cpu_session.py:218), so a broken manifest no longer invalidates a leg whose samples cover the window. 中文:CPU leg 不再依据 cpu_manifest.json 判定;srt-slurm 将其定义为非权威调试元数据且写入失败只记日志,样本已覆盖窗口时不再因 manifest 损坏而判为无效。 * chore(recipes): drop the Qwen3.5 8P1D benchmark placement that restates the head default srt-slurm schema.py:1162 already places the benchmark client on head, the dedicated frontend node. 中文:删除 Qwen3.5 8P1D recipe 中重复默认值的 benchmark placement;srt-slurm schema.py:1162 默认即在 head(即 dedicated frontend 节点)运行 benchmark client。 * refactor(power): drop the multinode CLI flag no caller passes fixed_sequence.py and the AgentX adapter call run() with expected_cpu directly; nothing invokes multinode.py as a command. 中文:删除 multinode CLI 中无人传入的 --expected-cpu-power;fixed_sequence.py 与 AgentX adapter 直接以 expected_cpu 调用 run(),没有任何地方以命令行方式调用 multinode.py。 * refactor(matrix): read cpu-power fields directly like the sibling validators Both schemas declare cpu_power and power, so the getattr defaults implied fields that could be absent. 中文:cpu-power 校验与同文件其他校验器一致,直接读取字段;两个 schema 都声明 cpu_power 与 power,getattr 默认值暗示字段可能缺失。 * test(power): assert the setup pin through CPU_POWER_EXPORTER_RELEASE The release bump then edits one constant instead of a test literal. 中文:测试改用 CPU_POWER_EXPORTER_RELEASE 常量断言 setup 版本,升级版本时只需修改一处常量。 * feat(power): publish NVML module power from CPU samples v3 v2 files are still accepted, and module power is a reference rail that is never summed into the CPU totals. 中文:从 CPU 采样 v3 中发布 NVML module 功耗。仍兼容 v2 文件;module 功耗仅作为参考 rail,不计入 CPU 总功耗。 * chore: bump srt-slurm and cpu-power-exporter to v2.59.3 v2.59.3's aarch64 exporter links glibc, so the NVML module reader loads and module_w is filled. 中文:将 srt-slurm 子模块与 cpu-power-exporter 升级到 v2.59.3;其 aarch64 exporter 改为 glibc 链接,可加载 NVML,module_w 不再为空。 * feat: collect Grace CPU power on the Kimi K3 GB200 disaggregated AgentX recipe 中文:在 Kimi K3 GB200 disaggregated AgentX 配置上采集 Grace CPU 功耗。 * chore: limit CPU power to Qwen3.5 8k1k and Kimi K3 GB300 agg Each published AgentX curve is replaced by the newest run, and the GB300 agg key is the only Kimi key that owns its curve alone. 中文:仅在 Qwen3.5 8k1k 与 Kimi K3 GB300 agg 配置上采集 CPU 功耗。 * chore: drop Qwen3.5 8k1k from NVL72 CPU power collection 中文:从 NVL72 CPU 功耗采集中移除 Qwen3.5 8k1k * chore: pin cpu-power-exporter v2.65.2 to match srt-slurm 中文:将 cpu-power-exporter 固定到 v2.65.2,与 srt-slurm 子模块一致 * chore: bump cpu-power-exporter to v2.66.1 with the submodule * chore: drop the dead cpu_power_exporter fingerprint exclusion * chore: remove section header comments from the power leg * docs: describe the cpu-power row key, exporter record and workers entries * fix: index workers[] power entries by the manifest worker * docs: shorten the NVL72 CPU power changelog entry
… RAPL 采集 AMD x86 CPU 封装功耗 (#4154) * feat: integrate Grace CPU-side power from the multinode cpu/ package Read srt-slurm's power/cpu/{samples.csv,cpu_manifest.json} (v1 long and v2 wide) next to the GPU DCGM package, integrate each (host, socket) Grace-side and module series over the bound formal window with the shared trapezoid and gap rule, and emit cpu_power_valid plus avg_cpu_socket_power_w, avg_total_cpu_power_w, total_cpu_energy_j and the module keys. The verdict is independent of power_valid and REQUIRE_POWER; a package without cpu/ produces byte-identical output (GB200 fixture replay). 中文:在多节点功耗校验器中接入 srt-slurm 的 power/cpu/ 子产物包(v1 长格式与 v2 宽格式),按 (主机, socket) 在同一正式测量窗口内用共享的梯形法和采样间隔规则积分 Grace 侧及模块功耗,输出 cpu_power_valid 与 avg_cpu_socket_power_w、 avg_total_cpu_power_w、total_cpu_energy_j 及模块字段;结论独立于 power_valid 和 REQUIRE_POWER,无 cpu/ 的产物包输出逐字节不变(GB200 fixture 回放验证)。 * fix: keep cpu_power_valid independent of the GPU producer pin validate_and_integrate() forced cpu_power_valid=0 with cpu_producer_unverified whenever the GPU leg's producer pin failed, so a run with valid Grace samples lost its CPU energy for a GPU-side reason, against the ticket contract ("independent of power_valid") and the spec's independent-leg rule. Drop that gate and the unused blocking_reasons hook: the CPU leg borrows only the bound formal window and the host topology as inputs, and no GPU verdict reaches it. Fold the pin-mismatch and pin-missing cases into the existing invalid-GPU-leg test. Docs (EN/ZH) drop the contradictory sentence and list the codes the leg actually emits, including the shared non_finite_power_metric and aggregate_result_* ones. GB200 fixture replay stays byte-identical. 中文:validate_and_integrate() 原本在 GPU 侧 producer 固定版本校验失败时,用 cpu_producer_unverified 强制 cpu_power_valid=0,导致 Grace 采样有效的运行因 GPU 侧 原因丢失 CPU 能耗,与工单契约(“独立于 power_valid”)和 spec 的独立测量环节规则相悖。 移除该门控及未使用的 blocking_reasons 参数:CPU 侧只借用已绑定的正式窗口和主机拓扑 作为输入,GPU 侧的任何结论都不会传导过来。把固定版本不匹配与缺失两种情形并入现有的 GPU 侧无效测试。中英文文档删除自相矛盾的表述,并列出实际输出的原因码,包括共享的 non_finite_power_metric 与 aggregate_result_*。GB200 fixture 回放输出逐字节不变。 * feat: enable srt-slurm cpu power leg on Qwen3.5 FP8 GB200 and GB300 lanes Add telemetry.cpu_power_exporter (port 9405, source acpi) to the 1P1D TP4/TP4 STP recipes of qwen3.5-fp8-gb200-dynamo-sglang and qwen3.5-fp8-gb300-dynamo-sglang, the smallest active non-Kimi-K3 NVL72 power lanes; nothing else in the recipes changes. srt-slurm v2.2.1 runs the exporter on the bare worker host and writes power/cpu/samples.csv plus cpu_manifest.json beside the GPU DCGM package for the multinode validator's CPU leg. Append the perf-changelog entry. DSV4 8k1k lanes are not used because that scenario was deprecated after 2026-09-08. 中文:在 qwen3.5-fp8-gb200-dynamo-sglang 与 qwen3.5-fp8-gb300-dynamo-sglang 的 1P1D TP4/TP4 STP recipe 中加入 telemetry.cpu_power_exporter(port 9405, source acpi),这是当前活跃、非 Kimi-K3 的最小 NVL72 功耗 lane;recipe 其余内容不变。srt-slurm v2.2.1 在 worker 裸主机上运行 exporter,并在 GPU DCGM 产物包旁写入 power/cpu/samples.csv 与 cpu_manifest.json,供多节点 校验器的 CPU 侧测量环节使用。追加 perf-changelog 条目。未采用 DSV4 8k1k lane,因为该场景已于 2026-09-08 之后弃用。 * chore: link the cpu power leg changelog entry to PR #3296 Replace the pr-link placeholder in the appended perf-changelog.yaml entry with the opened PR URL; no other bytes change. 中文:将新增 perf-changelog.yaml 条目中的 pr-link 占位符替换为已开启的 PR 链接,其余内容不变。 * fix: pin srt-slurm to the hwmon name discovery fix on the gap-budget branch The first sweep showed the pinned cpu-power-exporter exiting with "no ACPI power_meter hwmon sensors found" on every GB200 node: on 6.8.0-nvidia-64k the acpi_power_meter hwmon node has no `name` attribute, only `device/name`. Pin utils/srt-slurm to SemiAnalysisAI/srt-slurm#23 head 473ecaa8 (984180e5 plus the gap-budget fix and the discovery fix) so the CPU leg can publish; the wire contract stays v1 long, so no consumer change. 中文:首次 sweep 显示固定版本的 cpu-power-exporter 在所有 GB200 节点上以 "no ACPI power_meter hwmon sensors found" 退出:6.8.0-nvidia-64k 内核下 acpi_power_meter 的 hwmon 节点没有 `name` 属性,只有 `device/name`。将 utils/srt-slurm 固定到 SemiAnalysisAI/srt-slurm#23 的 head 473ecaa8(984180e5 + 采样间隙预算修复 + 传感器发现修复),使 CPU 侧采集可以发布;CSV 契约仍为 v1 长表,消费端无需改动。 * feat: prepare Kimi K3 NVL72 CPU telemetry and host power Enable best-effort CPU telemetry on 13 existing GPU-power recipes and retain validated physical-host GPU power. Keep GPU validation and serving settings intact. 为 13 份已有 GPU 功耗配方准备独立 CPU 遥测,并保留通过验证的逐物理主机 GPU 功耗。保持 GPU 校验与服务设置不变。 * fix: enforce NVL72 CPU exporter preflight 应用上游 #553 的提交检查修复,令启用 CPU 采集的配方在 exporter 缺失、不可执行或已知架构不匹配时于 sbatch 前失败,并明确源码采集链路与二进制版本的区别。 * fix: require complete CPU power for NVL72 sweeps 要求 NVL72 扫描提供完整 CPU 功耗,并补齐 Qwen 采集与时钟主机配置。 * fix: retain AgentX CPU power audit 中文:在 AgentX 结果中保留 CPU 功耗审计信息。 * chore: consolidate NVL72 power changelog entry 将 NVL72 功耗变更记录合并为一个条目。 * fix: migrate Qwen NVL72 head placement to srt schema 2 将两份 Qwen NVL72 配方的前端与基准客户端位置改为当前 schema。 * chore: drop upstreamed srt-slurm 553 patch and pin exporter v2.47.2 中文:移除已合入上游的 srt-slurm 553 补丁,exporter 固定为 v2.47.2。 * feat: publish Grace CPU-only and SysIO rail power 中文:发布 Grace CPU 核心与 SysIO 供电轨功耗。 * test: prune redundant NVL72 power tests 中文:精简 NVL72 功耗冗余测试。 * test: restore distinct CPU power regression coverage 恢复 CPU 电源来源选择、错误隔离和时间窗口的回归测试。 * docs: define the Grace CPU power sensors and their published keys 中文:定义 Grace CPU 各功耗传感器的范围及对应发布字段。 * docs: note that GB200 exposes module power through NVML, not ACPI 中文:说明 GB200 的模块功耗由 NVML 提供而非 ACPI 功耗计,srt-slurm 尚未读取。 * docs: correct NVL72 CPU power policy, rail keys, and changelog 中文:修正 NVL72 CPU 功耗失败策略说明,补充供电轨字段与实测数值,并删除 changelog 中不属于本 PR 的 Kimi K3 采样间隔描述。 * chore: pin cpu-power-exporter v2.51.1 to match the srt-slurm source pin 中文:将 cpu-power-exporter 固定到 v2.51.1,与 srt-slurm 源码 pin 保持一致 * fix: drop launcher-bound keys from NVL72 CPU power recipes * feat(power): declare the Grace CPU exporter per cluster and select it with cpu-power The binder merges telemetry.cpu_power_exporter from the cluster record when a master row sets cpu-power beside power, so recipes and per-point settings no longer carry it; make setup pins the exporter release only for those jobs. 中文:Grace CPU 功耗 exporter 改由 cluster 记录声明,master 行用 cpu-power 选择;recipe 与逐点 additional-settings 不再携带,make setup 仅对这些任务固定 exporter 版本。 * refactor(power): read only the wide Grace socket samples in the CPU leg srt-slurm v2.51.1 cpu_samples.py:110 writes only CPU_SAMPLES_HEADER and binds no module meter, so the v1 long format, the OEM-label regexes and the module and DCGM headline paths never ran. The headline comes from the CPU<n>:cpuSidePowerUsageW rows alone and the two module keys leave CPU_METRIC_KEYS. 中文:CPU leg 仅读取宽格式 Grace socket 采样;删除从未执行的 v1 长格式、OEM 标签正则以及 module/DCGM headline 路径,并从 CPU_METRIC_KEYS 移除两个 module 指标。 * refactor(power): expect the CPU leg from cpu-power instead of re-reading the bound recipe The point's cpu-power switch already decides whether the exporter is bound (PowerDecision.cpu), so the launcher no longer re-reads the recipe or writes POWER_EXPECTED_CPU_SOURCE to GITHUB_ENV, and the processors take --expected-cpu-power or the workflow's CPU_POWER. The source check goes with it: the cluster record requires a source (clusters/slurm.py CpuPowerExporter), the binder always writes it, and the Grace leg accepts only its own sensor. 中文:CPU leg 是否必需改由 cpu-power 开关决定;launcher 不再回读 recipe 或写 GITHUB_ENV,处理器改用 --expected-cpu-power 或 workflow 的 CPU_POWER。cluster 记录必须声明 source 且 binder 总会写入,故删除多余的 source 核对。 * refactor(power): share the sample-gap limit and drop the dead window-trust field The CPU leg now asks _window_contract_holds directly on the serialized window instead of carrying formal_window_trusted across the audit, MAX_SAMPLE_GAP_SECONDS has one definition in common.py, and patch_power_metrics goes because _patch_agg became its only caller's replacement on this branch. 中文:CPU leg 直接用序列化窗口调用 _window_contract_holds,不再在 audit 上携带 formal_window_trusted;MAX_SAMPLE_GAP_SECONDS 只在 common.py 定义一处;删除在本分支上已无调用方的 patch_power_metrics。 * docs(power): describe the cpu-power switch and Grace sensor semantics AGENT_OPERATIONS.md carries the Grace sensor table Oren asked for (whole-socket meter, CPU and SysIO rails, no module series) in place of the link to the deleted results-and-ingestion.md, and the #3296 changelog entry describes the final diff. 中文:AGENT_OPERATIONS.md 补充 Oren 要求的 Grace 传感器说明(整 socket 读数、CPU/SysIO rail、无 module 序列),替换指向已删除文档的链接;#3296 的 changelog 条目改为描述最终 diff。 * fix(power): count sample_loss_exceeded as GPU coverage for the CPU window srt-slurm power/windows.py _check_coverage has emitted sample_loss_exceeded beside the three other coverage codes since v2.39.3 (#537), so a window that only lost GPU samples keeps binding the CPU leg instead of reporting cpu_window_unavailable. 中文:srt-slurm 自 v2.39.3 起在同一覆盖检查中输出 sample_loss_exceeded;仅丢失 GPU 采样的窗口仍可绑定 CPU leg,而不再报告 cpu_window_unavailable。 * test(power): restore the v3 temperature rejection test 9115045 deleted this GPU sample test with the CPU parser cleanup; read_samples still enforces MAX_TEMPERATURE_C. 中文:恢复被 9115045 随 CPU 解析清理误删的 v3 温度校验测试;read_samples 仍执行 MAX_TEMPERATURE_C 检查。 * refactor(power): drop the launcher cpu-power guard the matrix validator owns validation.py _cpu_power_rides_on_power rejects cpu-power without power on every search-space entry, and CPU_POWER reaches the launcher only from that validated matrix row. 中文:删除启动器中重复的 cpu-power 检查;validation.py 已在所有 search-space 条目上拒绝缺少 power 的 cpu-power,启动器的 CPU_POWER 只来自已校验的矩阵行。 * refactor(power): accept only the ACPI Grace CPU exporter source cpu_side.py integrates only CPU<n>:cpuSidePowerUsageW rows, which srt-slurm emits from ACPI; a dcgm source always ended in cpu_socket_count_mismatch. 中文:CPU exporter 来源只接受 ACPI;cpu_side.py 只积分 ACPI 输出的 CPU<n>:cpuSidePowerUsageW 行,dcgm 来源必然以 cpu_socket_count_mismatch 失败。 * refactor(power): stop gating the CPU leg on cpu_manifest.json srt-slurm documents cpu_manifest.json as non-authoritative debugging metadata and only logs a failed teardown write (cpu_session.py:218), so a broken manifest no longer invalidates a leg whose samples cover the window. 中文:CPU leg 不再依据 cpu_manifest.json 判定;srt-slurm 将其定义为非权威调试元数据且写入失败只记日志,样本已覆盖窗口时不再因 manifest 损坏而判为无效。 * chore(recipes): drop the Qwen3.5 8P1D benchmark placement that restates the head default srt-slurm schema.py:1162 already places the benchmark client on head, the dedicated frontend node. 中文:删除 Qwen3.5 8P1D recipe 中重复默认值的 benchmark placement;srt-slurm schema.py:1162 默认即在 head(即 dedicated frontend 节点)运行 benchmark client。 * refactor(power): drop the multinode CLI flag no caller passes fixed_sequence.py and the AgentX adapter call run() with expected_cpu directly; nothing invokes multinode.py as a command. 中文:删除 multinode CLI 中无人传入的 --expected-cpu-power;fixed_sequence.py 与 AgentX adapter 直接以 expected_cpu 调用 run(),没有任何地方以命令行方式调用 multinode.py。 * refactor(matrix): read cpu-power fields directly like the sibling validators Both schemas declare cpu_power and power, so the getattr defaults implied fields that could be absent. 中文:cpu-power 校验与同文件其他校验器一致,直接读取字段;两个 schema 都声明 cpu_power 与 power,getattr 默认值暗示字段可能缺失。 * test(power): assert the setup pin through CPU_POWER_EXPORTER_RELEASE The release bump then edits one constant instead of a test literal. 中文:测试改用 CPU_POWER_EXPORTER_RELEASE 常量断言 setup 版本,升级版本时只需修改一处常量。 * feat(power): publish NVML module power from CPU samples v3 v2 files are still accepted, and module power is a reference rail that is never summed into the CPU totals. 中文:从 CPU 采样 v3 中发布 NVML module 功耗。仍兼容 v2 文件;module 功耗仅作为参考 rail,不计入 CPU 总功耗。 * chore: bump srt-slurm and cpu-power-exporter to v2.59.3 v2.59.3's aarch64 exporter links glibc, so the NVML module reader loads and module_w is filled. 中文:将 srt-slurm 子模块与 cpu-power-exporter 升级到 v2.59.3;其 aarch64 exporter 改为 glibc 链接,可加载 NVML,module_w 不再为空。 * feat: collect Grace CPU power on the Kimi K3 GB200 disaggregated AgentX recipe 中文:在 Kimi K3 GB200 disaggregated AgentX 配置上采集 Grace CPU 功耗。 * chore: limit CPU power to Qwen3.5 8k1k and Kimi K3 GB300 agg Each published AgentX curve is replaced by the newest run, and the GB300 agg key is the only Kimi key that owns its curve alone. 中文:仅在 Qwen3.5 8k1k 与 Kimi K3 GB300 agg 配置上采集 CPU 功耗。 * chore: drop Qwen3.5 8k1k from NVL72 CPU power collection 中文:从 NVL72 CPU 功耗采集中移除 Qwen3.5 8k1k * chore: pin cpu-power-exporter v2.65.2 to match srt-slurm 中文:将 cpu-power-exporter 固定到 v2.65.2,与 srt-slurm 子模块一致 * chore: bump cpu-power-exporter to v2.66.1 with the submodule * chore: drop the dead cpu_power_exporter fingerprint exclusion * chore: remove section header comments from the power leg * docs: describe the cpu-power row key, exporter record and workers entries * feat: integrate AMD RAPL package power in the CPU power leg The leg picks each source's socket meter, so a RAPL package no longer reads as a Grace socket count mismatch. * feat: bind the cluster's RAPL CPU exporter on single-node cpu-power points Only native power points bind it; a job that binds a RAPL exporter grants the job user the RAPL counters and restores root at teardown. * chore: collect CPU power on the AMD 8k1k sglang rows * fix: warn instead of failing the job when the RAPL grant fails A missing counter costs the CPU leg, whose verdict enforces required power; teardown is appended, not replaced. * refactor: define the CPU power source enum once * docs: note where a failed RAPL grant or restore shows up * test: check CPU socket meters against srt-slurm's sensor suffixes * fix: index workers[] power entries by the manifest worker * docs: shorten the NVL72 CPU power changelog entry * test: log fake sudo arguments with printf so dash keeps -n * style: rewrap bound_variant docstring to 100 columns * fix: refuse RAPL CPU power on shared nodes [skip-sweep] * feat: measure CPU power by default on clusters with a CPU exporter [skip-sweep]


Summary
Offer profiling-free counters to avoid profiling-recovery stalls. Retain gap metadata, ACPI discovery, scrape diagnostics and the optional exporter isolation patch.
Testing: H200 c2/c3 canary (
efddfffb): 2/2 windows valid, repairs 130→0; runtime/counters unchanged. 206 focused tests passed.Limits: Global defaults unchanged; noprof omits profiling metrics. Canary does not validate the custom-image patch. Consumer dependency: InferenceX #3353.
AI model disclosure
Codex (exact model unverified): diagnostics, isolation, integration.
claude-fable-5-1: exception classification, counters.中文
提供无 profiling counters 配置,避开 profiling 恢复导致的卡顿。保留 gap 元数据、ACPI 发现、采样诊断及可选 exporter 隔离补丁。
**测试:**上方 H200 c2/c3 canary(
efddfffb)的 2/2 窗口有效,repair 130→0;运行代码和有效 counters 未变。206 项定向测试通过。**边界:**全局默认未改;noprof 缺少 profiling 指标。该 canary 不验证自建镜像补丁。消费方依赖见上方 InferenceX #3353。
**AI 模型披露:**Codex(具体模型未核实)负责诊断、隔离与整合;
claude-fable-5-1负责异常分类与 counters。Note
Medium Risk
Changes power-window validity rules and GPU telemetry collection behavior; downstream validators/consumers must accept gaps as metadata. Optional DCGM exporter patch alters critical scrape-path concurrency but is opt-in.
Overview
Power measurement windows no longer fail on interior sample gaps:
sample_gap_exceededis retired as a verdict (still parsed from old manifests), andper_device_max_sample_gap_secondsrecords the largest in-window gap instead. Windows still fail when devices do not bracket start/end; the 3s cap now only limits interpolation at window boundaries and recipecollect_interval_msvalidation.The GPU power collector writes
scrape-timings.jsonleach cycle with per-endpoint HTTP timing,error_type(e.g.ReadTimeoutvsConnectionError), schedule lag, and CSV write cost—diagnostics only, not part of publication validation.DCGM scrape latency is addressed two ways: bundled
dcgm-counters-noprof.csv(power/util without profiling counters) for stock exporter recipes, and an opt-in patched dcgm-exporter image that splits regular vs profiling watches and runs profiling repair in the background so power scrapes are not blocked byUpdateAllFields(). Docs, example recipe, Dockerfile, and manual probe scripts support rollout and validation.ACPI CPU power discovery on Grace (legacy
hwmonwithout classname) now acceptspower_meterviadevice/namein Rust and Python paths, with matching tests.Reviewed by Cursor Bugbot for commit 1e8f7ad. Bugbot is set up for automated code reviews on this repo. Configure here.