Commit a063051
committed
feat(gateway): Reduce nvidia-container-toolkit installation
For newer NVIDIA Container Toolkit versions, the components installed
through the nvidia-container-toolkit, libnvidia-container-tools, and
libnvidia-container1 packages are considered legacy. In CDI mode -- or
when native CDI is used -- only the nvidia-container-toolkit-base
package is required with the notable components being:
* nvidia-ctk - The general purpose NVIDIA Container Toolkit CLI. It
includes functionality such as nvidia-ctk cdi generate to generate
CDI specifications and nvidia-ctk cdi list to show available CDI
devices.
* nvidia-cdi-hook - Implements specific container lifecycle hooks used
to ensure that a container is set up correctly to allow GPU access
after device nodes and driver files are injected using CDI.
This CLI is aliased by the `nvidia-ctk hook` subcommand.
* nvidia-container-runtime - As a wrapper for runc to add GPU support
in environments where direct CDI device requests are not possible.
This includes k3s, where the nvidia RuntimeClass is added automatically
if thie nvidia-container-runtime is detected and used to ensure the
injection of device nodes and libraries for the k8s-device-plugin
containers.
This change also renames the Docker build stage to nvidia-container-toolkit
explicitly for clarity.
Signed-off-by: Evan Lezar <elezar@nvidia.com>1 parent 590e002 commit a063051
1 file changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | 216 | | |
218 | | - | |
219 | | - | |
220 | 217 | | |
221 | 218 | | |
222 | 219 | | |
| |||
240 | 237 | | |
241 | 238 | | |
242 | 239 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
250 | 244 | | |
251 | 245 | | |
252 | 246 | | |
| |||
0 commit comments