[Feature] Topology labels for scale-up domains: xGMI hive (MI300/MI350 series) and UALink domain (Helios), partition capabilities, DRA attributes
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- go, kubernetes
调研方向
Start by reading the node labeller and DRA driver entry points in the repository; the issue does not name their files or tests. Check how existing GPU labels and DRA attributes are discovered, then determine which requested topology and partition values the hardware exposes. Done means the supported xGMI or UALink topology and partition capabilities are represented in labels or DRA attributes, with tests covering the reported values.
由索引模型根据 Issue 内容生成。
描述
Summary
Kubernetes schedulers need to know which AMD GPUs share a scale-up fabric: the xGMI group on an 8-GPU Instinct server today, and the UALink domain of a Helios rack next. The node labeller publishes the GPU model, VRAM and partition mode, but nothing about this topology. We'd like to request node labels (and matching DRA device attributes) for it, at the granularity schedulers need.
NVIDIA's GPU feature discovery publishes the equivalent for NVLink domains (nvidia.com/gpu.clique). KAI Scheduler's Topology levels and similar features in other schedulers can then keep a multi-GPU job inside one domain.
What we are asking for
- xGMI group per node. The amdgpu driver already exposes it:
/sys/class/drm/card<N>/device/xgmi_hive_info/xgmi_hive_id, plus per-GPUxgmi_device_id,xgmi_physical_id,xgmi_num_hopsandxgmi_num_links(drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c). Labels such as:amd.com/gpu.xgmi-hive-id(one value when every GPU of the node is in one group);amd.com/gpu.xgmi-hive-size(GPUs in the group);- a count label per group when a node holds more than one, for example GPUs 0–3 and 4–7, as in the XGMI configuration guide for virtualized hosts.
- UALink scale-up domain for MI400-series rack-scale systems (Helios). A label naming the rack-level domain that a node's GPUs belong to (all 18 compute trays of a 72-GPU rack, or a "virtual pod" subset), comparable to
nvidia.com/gpu.clique, so a scheduler can keep a job inside one domain. - Partition capabilities, not only the current mode.
amd.com/gpu.compute-memory-partitiongives the current mode. A label (or DRA attribute) for the modes the GPU supports, the accelerator partition profiles and their memory caps as AMD SMI reports them, would let platforms offer only valid SPX/DPX/QPX/CPX and NPS combinations. - Per-device attributes in the DRA driver (
gpu.amd.com): xGMI hive ID, the physical GPU a partition belongs to, the partition index and mode. Then a DRA request can ask for "8 partitions on one physical GPU" or "4 GPUs in one hive". - MI455X in
amdgpu.ids(device ID and product name), and published label values for MI350 series and MI455X nodes (product name, family, VRAM per partition), so tools can model them before the hardware is in hand.
Why
- Open Inference Fabric (https://github.com/openinferencefabric/oif) runs Run:ai and KAI Scheduler on clusters with AMD and NVIDIA GPUs. Our next milestone keeps multi-GPU jobs inside one high-bandwidth domain on both vendors. On NVIDIA we can read the domain from node labels; on AMD we can't.
- To test this before having Instinct hardware, we built fake AMD Instinct nodes for KWOK that reproduce the node labeller's labels and the device plugin's resource names for MI300X, MI325X, MI350X, MI355X and Helios (MI455X), with SPX/DPX/QPX/CPX and NPS1/NPS2/NPS4 in AMD's documented combinations:
- https://github.com/openinferencefabric/oif/tree/129600fe50538994292bdcb0da6227cad6af25be/tools/fake-gpu
- the topology labels we had to invent there (
oif.ai/accelerator-domain,oif.ai/accelerator-fabric) are exactly what we'd like the labeller to provide.
- We're proposing the same model to the KWOK project as a docs example: kubernetes-sigs/kwok#1802.
Questions
- Is topology labelling (xGMI groups, UALink domains) on the roadmap for the node labeller or the DRA driver, and in what form?
- For MI355X in DPX + NPS1, ROCm/gpu-operator#555 reports
amd.com/gpu.vram=144G. Is per-partition VRAM the intended value for that label? - Will Helios nodes expose a rack or pod identifier that the operator can read, for example from the fabric manager or DMI?
We can test any of this on our cluster and contribute documentation or code if it helps.
- 主要语言
- Go
- 星标
- 110
- 派生
- 63
- 平均合并
- 4 天 1 小时
- 30 天内合并 PR
- 5
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ROCm/gpu-operator 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
ROCm/gpu-operator#688 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 62/100
ROCm/gpu-operator#638 ·
维护者通常 1 天内回复
-
[Issue]: Cannot build image for Ubuntu 26.04可能已有人在做 @dhhoang 于 20 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 62/100
ROCm/gpu-operator#631 · 1 条评论 ·
维护者通常 1 天内回复
-
[Issue]: multiple critical and security CVEs found in the images released with 1.5.1可能重新可做 @yansun1996 于 76 天前认领,目前没有进行中的 PR。 未关闭
ROCm/gpu-operator#629 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Node-labeller amd.com/gpu.vram undercounts addressable memory on dpx_nps1 (divides by compute-partition count, ignores memory-partition mode)可能重新可做 @bhatnitish 于 170 天前认领,目前没有进行中的 PR。 未关闭
ROCm/gpu-operator#555 · 已指派 2 人 ·
维护者通常 1 天内回复
查看 ROCm/gpu-operator 的全部 Issue
相似的 Issue
-
docs: database/sql Sessions example never commits its batch, and its "Full Example" link is a 404未关闭documentation
难度 1/5 1 小时以内 新手友好度 88/100
ClickHouse/clickhouse-go#2185 ·
维护者通常 1 天内回复
-
tagvalue.Read fails with "token too long" on lines over 64 KiB可能已有人在做 @G26karthik 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
spdx/tools-golang#319 ·
-
area: community priority: p1 size: s type: docs
难度 2/5 1-3 小时 新手友好度 76/100
romanitalian/paytriage#23 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 79/100