Repository navigation
[Power Model] port x86 and Grace CPU calibration / [Power Model] 移植 x86 与 Grace CPU 功耗校准 - #1565
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3 of 11 tasks
This comment has been minimized.
This comment has been minimized.
edwingao28
force-pushed
the
power-model/x86-cpu-rapl-calibration
branch
from
October 30, 2026 18:41
02ae028 to
67f1d2a
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Port InferenceX#4645:
X86CPUper-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 toestimatedv2 with AMD-only, different-node and unvalidated-RAPL caveats. GraceGraceCPUfallbacks 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 withgenerate-power-model-parity.py.REVISIONpins the InferenceX#4645 merge commit59fbe34e.AI model disclosure
Validation
pytest: 401 passed.metric-vs-sizefailures look pre-existing: chore(operatorx): show Roofline before Metric vs size / OperatorX:Roofline 图表移到 Metric vs size 之前 #1562 moved that chart and merged after its E2E run failed. This change does not touch OperatorX.中文说明
移植 InferenceX#4645:根据 EPYC RAPL package 功耗重新校准
X86CPU每 socket 状态功耗。FixedSeqLen 120 → 165 W,Agentic 150 → 180 W,AgenticOffloadingOn 200 → 195 W,Idle 不变。GraceGraceCPU回退值由 100 / 140 / 180 W 调整为 95 / 90 / 85 W,使建模 CPU + LPDDR5X 与实测 socket 输入一致。Provenance 改为estimatedv2,并注明仅覆盖 AMD、两组运行在不同节点、RAPL 未经验证。已用generate-power-model-parity.py重新生成 manifest 和 parity fixture。REVISION已固定在 InferenceX#4645 的合并提交59fbe34e。AI 模型使用说明: claude-opus-5-5 负责移植和 fixture 重新生成。
验证: 重新生成 2,756 个 parity 用例(653 个拒绝);上游
pytest401 个通过;更新了两处固定建模功耗的 app 测试预期(MI355X 利润预览、H200 离线导出)。E2E 中 OperatorXmetric-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 viagenerate-power-model-parity.py.X86
X86CPUper-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. GraceGraceCPUmodeled 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 fromHW_REGISTRY[hardware].tdpinstead of a nestedbuildLadderTDP lookup.Reviewed by Cursor Bugbot for commit 67f1d2a. Bugbot is set up for automated code reviews on this repo. Configure here.