Skip to content

docs: add AMD GPU Flex Node setup guidance#230

Merged
bcho merged 8 commits into
mainfrom
wenhug/amd-mi300x-rocm-flex-node
Jul 14, 2026
Merged

docs: add AMD GPU Flex Node setup guidance#230
bcho merged 8 commits into
mainfrom
wenhug/amd-mi300x-rocm-flex-node

Conversation

@wenhug

@wenhug wenhug commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds AMD GPU Flex Node setup guidance for AMD Instinct hosts, with the current validated path focused on Ubuntu 24.04 + Standard_ND96isr_MI300X_v5 + ROCm 7.2.4.

The doc mirrors the existing NVIDIA GPU Flex Node contract: Flex Node joins a prepared host, while GPU driver preparation and the cluster GPU stack remain outside aks-flex-node start.

Details

  • Documents the AMDGPU/ROCm prepared-host contract for Flex Node.
  • Adds an Ubuntu 24.04 MI300X host-preparation example using a minimal ROCm host package set instead of the full ROCm developer stack.
  • Calls out production guidance to prefer a prebaked image or Microsoft-controlled package source rather than depending on repo.radeon.com at node boot.
  • Documents manual cluster GPU stack options: AMD GPU Operator or lightweight AMD Kubernetes device plugin.
  • Clarifies DRA vs legacy amd.com/gpu usage.
  • Generalizes the scope to AMD Instinct hosts while keeping the exact apt package flow limited to the validated Ubuntu 24.04 MI300X path.

Validation

Validated on a clean Azure VM:

  • VM size: Standard_ND96isr_MI300X_v5
  • Region: francecentral
  • OS image: Ubuntu 24.04 marketplace image
  • Kernel: 6.17.0-1018-azure
  • ROCm package stream: 7.2.4
  • AMDGPU package stream: 30.30.4

Validation performed:

  • Deleted the previous test VM and recreated a clean Ubuntu 24.04 MI300X VM.
  • Confirmed the clean VM had no existing /opt/rocm or amdgpu-dkms installation.
  • Ran the documented host-preparation flow from scratch.
  • Verified DKMS installed amdgpu/6.16.13-2341068.24.04 for 6.17.0-1018-azure.
  • Verified /dev/kfd and render nodes were present.
  • Verified rocm-smi detected 8 AMD Instinct MI300X VF devices.
  • Verified rocminfo detected 8 AMD Instinct MI300X VF entries and 8 gfx942 entries.
  • Rebooted and repeated validation successfully.
  • Found and fixed the Ubuntu cloud-image blacklist amdgpu issue; after removing that blacklist entry, PCI device discovery loads amdgpu after reboot without forcing it through /etc/modules-load.d.
  • Confirmed temporary repo.radeon.com apt sources were removed after installation.
  • Ran git diff --check.

Notes

Other AMD GPU families, OS versions, kernels, and package streams should be treated as separate validation targets before using this as a production runbook.

Copilot AI review requested due to automatic review settings July 8, 2026 22:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an AMD GPU (ROCm) Flex Node lab guide for AMD Instinct hosts, and updates the docs index to distinguish NVIDIA vs AMD GPU setup guidance. This aligns the documentation with the “prepared-host” contract where GPU driver installation and the cluster GPU stack are explicitly outside aks-flex-node start.

Changes:

  • Renames the existing GPU lab to NVIDIA GPU Flex Node setup and updates index entries accordingly.
  • Adds a new AMD GPU Flex Node setup lab covering validated Ubuntu 24.04 + MI300X host preparation and post-join cluster GPU stack options.
  • Updates docs landing pages to link to both NVIDIA and AMD GPU lab guides.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
docs/usage.md Splits the prior generic GPU lab link into explicit NVIDIA and AMD GPU setup entries.
docs/labs/README.md Updates the labs index and topic matrix to include separate NVIDIA/AMD GPU lab entries.
docs/labs/gpu-node-setup.md Retitles the existing GPU lab to NVIDIA-specific wording.
docs/labs/amd-gpu-node-setup.md New AMD Instinct/ROCm prepared-host and cluster GPU stack runbook (validated path documented).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/labs/gpu-node-setup.md Outdated
Comment thread docs/labs/amd-gpu-node-setup.md Outdated

@bcho bcho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding the new guide! A few comments

Comment thread docs/labs/amd-gpu-node-setup.md Outdated
Comment thread docs/labs/amd-gpu-node-setup.md Outdated
Comment thread docs/labs/amd-gpu-node-setup.md Outdated
Comment thread docs/labs/amd-gpu-node-setup.md Outdated
Copilot AI review requested due to automatic review settings July 14, 2026 23:11
@wenhug

wenhug commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

Addressed the AMD GPU setup review feedback in 2397daf and resolved all five threads. The guide now pins GPU Operator v1.5.0, cert-manager v1.15.1, device plugin v1.31.0.10, ROCm workload image 7.2.4, and AKSFlexNode v0.14; disables operator/KMM host-driver ownership; uses an explicit MI300X VF DeviceConfig; and adds an amd.com/gpu Pod diagnostic. Local validation: pinned URLs returned HTTP 200, the Helm chart rendered with the default DeviceConfig disabled, git diff --check passed, and make check passed. No authorized/reachable MI300X environment is currently available (no MI300X VM in the active subscription and saved cluster endpoints no longer resolve), so I did not claim end-to-end Flex Node/operator/8-GPU/Pod results or provision cost-bearing resources. Ready for re-review.

@wenhug wenhug requested a review from bcho July 14, 2026 23:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread docs/labs/gpu-node-setup.md Outdated
Comment thread docs/labs/amd-gpu-node-setup.md
Copilot AI review requested due to automatic review settings July 14, 2026 23:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread docs/labs/amd-gpu-node-setup.md Outdated
Comment thread docs/labs/amd-gpu-node-setup.md
Copilot AI review requested due to automatic review settings July 14, 2026 23:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread docs/labs/amd-gpu-node-setup.md Outdated
Copilot AI review requested due to automatic review settings July 14, 2026 23:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@bcho bcho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bcho bcho merged commit 2fffcdb into main Jul 14, 2026
10 checks passed
@bcho bcho deleted the wenhug/amd-mi300x-rocm-flex-node branch July 14, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants