[Feature] Topology labels for scale-up domains: xGMI hive (MI300/MI350 series) and UALink domain (Helios), partition capabilities, DRA attributes

Đang mở
#679 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes
Lĩnh vực
backend, infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

  1. xGMI group per node. The amdgpu driver already exposes it: /sys/class/drm/card<N>/device/xgmi_hive_info/xgmi_hive_id, plus per-GPU xgmi_device_id, xgmi_physical_id, xgmi_num_hops and xgmi_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.
  2. 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.
  3. Partition capabilities, not only the current mode. amd.com/gpu.compute-memory-partition gives 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.
  4. 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".
  5. 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:
  • We're proposing the same model to the KWOK project as a docs example: kubernetes-sigs/kwok#1802.

Questions

  1. Is topology labelling (xGMI groups, UALink domains) on the roadmap for the node labeller or the DRA driver, and in what form?
  2. 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?
  3. 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.

Ngôn ngữ chính
Go
Star
110
Fork
63
Merge trung bình
4 ngày 1 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ROCm/gpu-operator

Tất cả issue của ROCm/gpu-operator

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.