From 03763a583afcd96ae404d54ff507bd8d38a5fc53 Mon Sep 17 00:00:00 2001 From: Shiv Tyagi Date: Thu, 9 Jul 2026 07:22:48 +0000 Subject: [PATCH] Add --gpus tip for Podman in running workloads doc Podman 6.0.0 added AMD GPU support to the --gpus flag. Add a tip matching the existing Docker, nerdctl, and ctr tips. --- docs/container-runtime/running-workloads.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/container-runtime/running-workloads.rst b/docs/container-runtime/running-workloads.rst index f8d8db7..26ed001 100644 --- a/docs/container-runtime/running-workloads.rst +++ b/docs/container-runtime/running-workloads.rst @@ -38,6 +38,14 @@ Podman podman run --rm --device amd.com/gpu=all rocm/rocm-terminal rocm-smi +.. tip:: + + Starting with Podman **6.0.0**, you can also use ``--gpus `` for AMD GPUs with CDI. ```` can be ``all`` to request all GPUs. + + .. code-block:: bash + + podman run --rm --gpus all rocm/rocm-terminal rocm-smi + .. note:: To access the GPU inside the container, the process must run under the video and render groups. When running in rootless mode, ensure the user starting the Podman container is a member of these groups on the host, and use the ``--group-add keep-groups`` flag to pass these supplementary groups to the container process.