Repository navigation
[Feature] refresh the PowerX tutorial: run config for default multi-node power, AMD multi-node and CPU power, plus a views guide / [Feature] 更新 PowerX 教程:运行配置支持默认多节点功耗、AMD 多节点与 CPU 功耗,并新增视图导览 - #1942
Open
edwingao28 wants to merge 2 commits into
Conversation
…power, AMD multi-node and CPU power The run-config widget now mirrors the InferenceX matrix at 5b9b8564. Each snippet is a real entry cut to its first search-space row. Multi-node power is measured by default on every cluster with a GPU exporter, AMD included, so AMD multi-node is selectable. Strictness is best effort, power: true, or power: true plus cpu-power: true. Options the matrix or clusters reject are disabled with the reason, and old share links move to the nearest valid pick. 中文:教程中的运行配置组件改为对应 InferenceX 5b9b8564 的 matrix。每个片段都来自真实条目,只保留第一行 search-space。多节点功耗在所有带 GPU exporter 的集群上默认采集(包括 AMD),因此可以选择 AMD 多节点。严格程度分为尽力而为、power: true、以及 power: true 加 cpu-power: true。matrix 或集群不接受的选项会被禁用并给出原因,旧的分享链接会移到最近的有效选项。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…t /pwx The tutorial named only GPU Role and Compare At. A new views widget lists the four dashboard views in tab order with what each reads, the controls it adds and an Open link, plus Show As % of TDP under Power Draw with its three panels (Headroom by Interactivity, Draw vs Rating, Sizing to Measured Power). Links come from the tab's own selectPowerXView, so each opens what clicking the tab would, on /pwx or /zh/pwx. The measured-power note now says AMD clusters record CPU package power through RAPL that PowerX does not read yet, and the Open PowerX and measured-vs-modeled links go to /pwx instead of redirecting. 中文:教程原先只介绍了 GPU 角色和对比点两个控件。新增的视图组件按标签顺序列出仪表板的四个视图,说明各自读取什么、新增哪些控件,并提供打开链接;功耗视图下另有“显示为 TDP 占比”一行,列出其三个面板(按交互性划分的功耗余量、功耗 vs 额定值、按实测功耗规划)。链接使用标签本身的 selectPowerXView 生成,打开的内容与点击标签一致,分别指向 /pwx 或 /zh/pwx。实测功耗说明补充:AMD 集群通过 RAPL 记录 CPU 封装功耗,但 PowerX 目前尚未读取;“打开 PowerX”和实测 vs 建模图的链接改为直接指向 /pwx,不再经过重定向。
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.
What changed
The run-config widget on
/pwx/tutorialwas pinned to InferenceXe1356aband had fallen behind the matrix. It still said multi-node AMD power was not collected, it emitted fields the current schema rejects (num-nodes, single-node rows withoutgpus-per-worker), and most of the entries it named have since been retired. It now mirrors InferenceX5b9b8564:cluster:mi355x-amds, device-metrics-exporter) can now be selected.power: true.power: truepluscpu-power: true, available on NVL72 (ACPI) and AMD (RAPL).cpu-power: truestands alone.powercpu-poweron HGXcpu-poweron single-node AgentX#rc=links are moved to the nearest valid pick (normalizeRunConfig), so links such as#rc=amd_single_fixed_best-effortstill open.decide_power).docs/powerx-tutorial.mdare updated to match.Views guide
The tutorial only named GPU Role and Compare At. A new
viewswidget, at the end of Explore PowerX, lists the four dashboard views in tab order. Each row says what the view reads, which controls it adds, and has an Open link. Show As % of TDP sits under Power Draw and names its three panels: Headroom by Interactivity, Draw vs Rating and Sizing to Measured Power.guideHref(src/lib/powerx/views-guide.ts), which calls the tab's ownselectPowerXView, so each opens what clicking the tab would, on/pwxor/zh/pwx.POWERX_VOCABwhere Chart Config does./pwxinstead of the/infx/inferenceredirect.Verification
validate_master_configandexpand_full_sweepat5b9b8564. The planner rows carry exactly the chosenpower/cpu-powerfields.power: trueand single-node AgentXcpu-power: trueare both rejected.run-config.test.tscovers:next dev; before (production) and after screenshots were compared.views-guide.test.tschecks that every link round-trips throughpowerXViewForto its tab, that % of TDP opens the headroom panels, and that ZH links stay on/zh/pwx;views-widget.test.tsxchecks row order, links and the nested % of TDP row. Each Open link was also clicked through innext devand landed on the right tab and toggles. The section was screenshotted at 1280 px and 390 px, EN and ZH.tsc,oxlint,oxfmt --check,check:typography, and the app unit suite.Not verified
AI model disclosure
Written with Claude Opus 5.5.
中文
改动内容
/pwx/tutorial上的运行配置组件此前固定在 InferenceXe1356ab,已经落后于当前 matrix:它仍说多节点 AMD 功耗未采集,输出的字段(num-nodes、缺少gpus-per-worker的单节点条目)会被当前 schema 拒绝,引用的大多数条目也已退役。现在改为对应 InferenceX5b9b8564:cluster:mi355x-amds,device-metrics-exporter)。power: true。power: true加cpu-power: true,适用于 NVL72(ACPI)和 AMD(RAPL)。cpu-power: true可以单独使用。powercpu-powercpu-power#rc=链接会移到最近的有效选项(normalizeRunConfig),因此#rc=amd_single_fixed_best-effort这类链接仍能打开。decide_power)一致。docs/powerx-tutorial.md已同步更新。视图导览
教程原先只介绍了 GPU 角色和对比点。在“动手探索 PowerX”末尾新增
views组件,按标签顺序列出仪表板的四个视图,每行说明该视图读取什么、新增哪些控件,并提供打开链接。“显示为 TDP 占比”位于功耗视图下,列出三个面板:按交互性划分的功耗余量、功耗 vs 额定值、按实测功耗规划。guideHref(src/lib/powerx/views-guide.ts)生成,调用标签本身的selectPowerXView,打开的内容与点击标签一致,指向/pwx或/zh/pwx。POWERX_VOCAB。/pwx,不再经过/infx/inference重定向。验证
5b9b8564上都通过了 InferenceX 的validate_master_config和expand_full_sweep,生成的行只带所选的power/cpu-power字段。power: true和单节点 AgentXcpu-power: true都会被拒绝。run-config.test.ts,覆盖:next dev中检查 1280 px 和 393 px,并对比了线上(改动前)与改动后的截图。views-guide.test.ts检查每个链接经powerXViewFor回到对应标签、TDP 占比链接打开余量面板、中文链接停留在/zh/pwx;views-widget.test.tsx检查行顺序、链接和嵌套的 TDP 占比行。每个打开链接也在next dev中逐一点击,均落在正确的标签和开关上。该部分在 1280 px 和 390 px、中英文下均截图检查。tsc、oxlint、oxfmt --check、check:typography以及 app 单元测试全部通过。未验证