Skip to content

Add --gpus flag tips for nerdctl and containerd (ctr)#125

Merged
sgopinath1 merged 1 commit into
ROCm:mainfrom
shiv-tyagi:add-nerdctl-containerd-gpus-tip
May 26, 2026
Merged

Add --gpus flag tips for nerdctl and containerd (ctr)#125
sgopinath1 merged 1 commit into
ROCm:mainfrom
shiv-tyagi:add-nerdctl-containerd-gpus-tip

Conversation

@shiv-tyagi
Copy link
Copy Markdown
Member

@shiv-tyagi shiv-tyagi commented May 25, 2026

Summary

  • Add tips for --gpus flag support with AMD GPUs via CDI for nerdctl 2.3.0 and containerd 2.3.0 (ctr), similar to the existing Docker --gpus tip.
  • nerdctl accepts all or a count (e.g. 2); ctr accepts GPU indices (e.g. --gpus 0).
  • Also update the existing Docker tip phrasing for consistency ("for AMD GPUs with CDI").

nerdctl 2.3.0 and containerd 2.3.0 now support the --gpus flag for
AMD GPUs via CDI. Add tips similar to the existing Docker --gpus tip,
noting the supported value formats for each tool.
Copy link
Copy Markdown
Collaborator

@sgopinath1 sgopinath1 left a comment

Choose a reason for hiding this comment

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

LGTM

@sgopinath1 sgopinath1 merged commit 0c2d978 into ROCm:main May 26, 2026
3 checks passed
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.

2 participants