Node-labeller amd.com/gpu.vram undercounts addressable memory on dpx_nps1 (divides by compute-partition count, ignores memory-partition mode)
メンテナーはふだん 1 日以内に返信
@bhatnitish がすでに取り組んでいます。
2026年6月12日 から。
評価
この issue はまだ評価されていません。
説明
Summary
The AMD GPU Operator's node-labeller emits amd.com/gpu.vram=144G on an MI355X node configured for DPX compute partitioning + NPS1 memory partitioning. The correct value is 288G — in NPS1 memory is a single NUMA domain shared across all compute partitions, so each DPX partition is addressable against the full per-physical-GPU VRAM.
The label appears to be computed as physical_vram / compute_partition_count without consulting memory_partition_mode, which is incorrect for any NPS1 configuration.
Environment
| GPU | AMD Instinct MI355X OAM (PCI device-id 75a3) |
| Host OS / driver | Linux, AMDGPU driver 6.14.14 |
| Kubernetes | v1.29 |
| AMD GPU Operator | manually installed (~90 days old) |
| node-labeller image | bundled with the above operator release |
Steps to reproduce
- Two MI355X nodes on the same cluster, identical hardware (same
device-id, same chassis SKU), differing only in partition mode:- Node A:
dpx_nps1(DPX compute, NPS1 memory) - Node B:
spx_nps1(SPX compute, NPS1 memory)
- Node A:
- Dump the
amd.com/gpu.*labels on each:kubectl get node <node> -o jsonpath='{.metadata.labels}' \ | jq '. | to_entries | map(select(.key | startswith("amd.com/gpu"))) | from_entries'
Expected behavior
The amd.com/gpu.vram label should reflect per-partition addressable VRAM, which depends on the memory partition mode:
| memory partition | per-partition addressable VRAM |
|---|---|
nps1 |
full physical VRAM (memory is not partitioned) |
nps2 |
physical VRAM ÷ 2 |
nps4 |
physical VRAM ÷ 4 |
For dpx_nps1 on MI355X: vram=288G (same as SPX, since NPS1 memory is shared across DPX compute partitions).
For dpx_nps2: vram=144G.
For dpx_nps4: vram=72G.
Actual behavior
On the DPX+NPS1 node, vram=144G — i.e., physical VRAM divided by the compute partition count, ignoring the memory partition mode entirely.
Side-by-side diff (same hardware, different partition mode):
| Label | SPX/NPS1 node | DPX/NPS1 node | Halving correct? |
|---|---|---|---|
amd.com/gpu.compute-memory-partition |
spx_nps1 |
dpx_nps1 |
— |
amd.com/gpu.cu-count |
256 |
128 |
Yes — compute IS partitioned by DPX |
amd.com/gpu.simd-count |
1024 |
512 |
Yes — same reason |
amd.com/gpu.vram |
288G |
144G |
No — NPS1 means memory is NOT partitioned |
amd.com/gpu.device-id |
75a3 |
75a3 |
Same hardware |
amd.com/gpu.driver-version |
6.14.14 |
6.14.14 |
Same driver |
Raw outputs:
SPX/NPS1 node:
{
"amd.com/gpu.compute-memory-partition": "spx_nps1",
"amd.com/gpu.compute-partitioning-supported": "true",
"amd.com/gpu.cu-count": "256",
"amd.com/gpu.device-id": "75a3",
"amd.com/gpu.driver-version": "6.14.14",
"amd.com/gpu.family": "AI",
"amd.com/gpu.memory-partitioning-supported": "true",
"amd.com/gpu.product-name": "AMD_Instinct_MI355_OAM",
"amd.com/gpu.simd-count": "1024",
"amd.com/gpu.vram": "288G"
}
DPX/NPS1 node:
{
"amd.com/gpu.compute-memory-partition": "dpx_nps1",
"amd.com/gpu.compute-partitioning-supported": "true",
"amd.com/gpu.cu-count": "128",
"amd.com/gpu.device-id": "75a3",
"amd.com/gpu.driver-version": "6.14.14",
"amd.com/gpu.family": "AI",
"amd.com/gpu.memory-partitioning-supported": "true",
"amd.com/gpu.product-name": "AMD_Instinct_MI355_OAM",
"amd.com/gpu.simd-count": "512",
"amd.com/gpu.vram": "144G"
}
Impact
Anything that consumes amd.com/gpu.vram for capacity planning, scheduler hinting, or workload-fit decisions on DPX+NPS1 nodes will see half of actual addressable memory. CU/SIMD labels are correct, so compute-fit decisions are unaffected.
Suggested fix
amd.com/gpu.vram should be derived from the memory partition mode, not the compute partition mode. Pseudocode:
physical_vram_per_gpu = read from amdgpu sysfs
memory_partitions = {nps1: 1, nps2: 2, nps4: 4}[memory_partition_mode]
vram_label = physical_vram_per_gpu / memory_partitions
Compute-partition–related labels (cu-count, simd-count) remain divided by the compute partition count, as they are today.
- 主要言語
- Go
- スター
- 110
- フォーク
- 63
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ROCm/gpu-operator のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
ROCm/gpu-operator#688 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
ROCm/gpu-operator#679 ·
メンテナーはふだん 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 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
ROCm/gpu-operator#629 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 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