You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software/container-engine.md
+48-40Lines changed: 48 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -335,47 +335,55 @@ This can be done in multiple ways in TOML: for example, both of the following us
335
335
### NVIDIA GPUs
336
336
337
337
The Container Engine leverages components from the NVIDIA Container Toolkit to expose NVIDIA GPU devices inside containers.
338
-
GPU device files are always mounted in containers, and the NVIDIA driver user space components are mounted if the `NVIDIA_VISIBLE_DEVICES` environment variable is not empty, unset or set to `void`. `NVIDIA_VISIBLE_DEVICES` is already set in container images officially provided by NVIDIA to enable all GPUs available on the host system. Such images are frequently used to containerize CUDA applications, either directly or as a base for custom images, thus in many cases no action is required to access GPUs.
339
-
For example, on a cluster with 4 GH200 devices per compute node:
338
+
GPU device files are always mounted in containers, and the NVIDIA driver user space components are mounted if the `NVIDIA_VISIBLE_DEVICES` environment variable is not empty, unset or set to `void`.
339
+
`NVIDIA_VISIBLE_DEVICES` is already set in container images officially provided by NVIDIA to enable all GPUs available on the host system.
340
+
Such images are frequently used to containerize CUDA applications, either directly or as a base for custom images, thus in many cases no action is required to access GPUs.
1. Creating `cuda12.5.1.toml` on the current folder.
379
387
380
388
It is possible to use environment variables to control which capabilities of the NVIDIA driver are enabled inside containers.
381
389
Additionally, the NVIDIA Container Toolkit can enforce specific constraints for the container, for example, on versions of the CUDA runtime or driver, or on the architecture of the GPUs.
0 commit comments