Skip to content

[Power Model] port x86 and Grace CPU calibration / [Power Model] 移植 x86 与 Grace CPU 功耗校准 - #1565

Merged
edwingao28 merged 5 commits into
masterfrom
power-model/x86-cpu-rapl-calibration
Oct 30, 2026
Merged

edwingao28 merged 5 commits into
masterfrom
power-model/x86-cpu-rapl-calibration

Conversation

@edwingao28

@edwingao28 edwingao28 commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Port InferenceX#4645: X86CPU per-socket state power is recalibrated from EPYC RAPL package power. FixedSeqLen 120 → 165 W, Agentic 150 → 180 W, AgenticOffloadingOn 200 → 195 W; Idle unchanged. Provenance moves to estimated v2 with AMD-only, different-node and unvalidated-RAPL caveats. Grace GraceCPU fallbacks move from 100 / 140 / 180 W to 95 / 90 / 85 W, so modeled CPU + LPDDR5X matches the measured socket input. Manifest and parity fixture regenerated with generate-power-model-parity.py.

REVISION pins the InferenceX#4645 merge commit 59fbe34e.

AI model disclosure

  • Model/version: claude-opus-5-5 (port and fixture regeneration)

Validation

中文说明

移植 InferenceX#4645:根据 EPYC RAPL package 功耗重新校准 X86CPU 每 socket 状态功耗。FixedSeqLen 120 → 165 W,Agentic 150 → 180 W,AgenticOffloadingOn 200 → 195 W,Idle 不变。Grace GraceCPU 回退值由 100 / 140 / 180 W 调整为 95 / 90 / 85 W,使建模 CPU + LPDDR5X 与实测 socket 输入一致。Provenance 改为 estimated v2,并注明仅覆盖 AMD、两组运行在不同节点、RAPL 未经验证。已用 generate-power-model-parity.py 重新生成 manifest 和 parity fixture。

REVISION 已固定在 InferenceX#4645 的合并提交 59fbe34e。

AI 模型使用说明: claude-opus-5-5 负责移植和 fixture 重新生成。

验证: 重新生成 2,756 个 parity 用例(653 个拒绝);上游 pytest 401 个通过;更新了两处固定建模功耗的 app 测试预期(MI355X 利润预览、H200 离线导出)。E2E 中 OperatorX metric-vs-size 失败疑似已存在:#1562 移动了该图表,且其 E2E 失败后仍被合并。本改动未涉及 OperatorX。


Note

Medium Risk
Recalibrates core chassis/rack CPU modeling used by profit previews and offline PowerX exports; parity tests mitigate drift but modeled IT power and energy numbers change app-wide for x86 and Grace systems.

Overview
Bumps the app’s power model port to upstream commit 59fbe34e (InferenceX#4645), with manifest and parity fixture regeneration via generate-power-model-parity.py.

X86 X86CPU per-socket state watts are recalibrated from EPYC RAPL (e.g. FixedSeqLen 120 → 165 W, Agentic 150 → 180 W, AgenticOffloadingOn 200 → 195 W; Idle unchanged), with provenance moved to estimated v2 and AMD/RAPL caveats. Grace GraceCPU modeled fallbacks drop to 95 / 90 / 85 W so CPU + LPDDR5X aligns with measured socket totals when telemetry is missing.

Downstream pinned expectations shift slightly in profit-power (MI355X modeled kW/GPU) and offline H200 export (it_j_per_output_token). The PowerX Cypress ladder test now scales draw from HW_REGISTRY[hardware].tdp instead of a nested buildLadder TDP lookup.

Reviewed by Cursor Bugbot for commit 67f1d2a. Bugbot is set up for automated code reviews on this repo. Configure here.

@edwingao28
edwingao28 requested a review from adibarra as a code owner October 29, 2026 12:47
@vercel

vercel Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
inferencemax-app Ready Ready Preview Oct 30, 2026 6:44pm UTC

Request Review

@blacksmith-sh

This comment has been minimized.

@edwingao28 edwingao28 changed the title [Power Model] port x86 CPU RAPL calibration / [Power Model] 移植 x86 CPU RAPL 功耗校准 [Power Model] port x86 and Grace CPU calibration / [Power Model] 移植 x86 与 Grace CPU 功耗校准 Oct 29, 2026
@edwingao28
edwingao28 force-pushed the power-model/x86-cpu-rapl-calibration branch from 02ae028 to 67f1d2a Compare October 30, 2026 18:41
@edwingao28
edwingao28 merged commit 488472e into master Oct 30, 2026
33 checks passed
@edwingao28
edwingao28 deleted the power-model/x86-cpu-rapl-calibration branch October 30, 2026 18:48

This branch was successfully deployed

1 active deployment
Preview — 67f1d2aa Deployed Oct 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant