NVIDIA / MagnumIO

Magnum IO community repo
Apache License 2.0
79 stars 17 forks source link

Use NVIDIA Container Runtime to inject GDS and MOFED devices #14

Open elezar opened 2 years ago

elezar commented 2 years ago

With the release of NVIDIA Container Toolkit v1.11.0-rc.1 the NVIDIA Container Runtime supports injecting GDS and MOFED devices based on the presence (and values) of the NVIDIA_GDS=enabled and NVIDIA_MOFED=enabled environment variables.

This change uses these environment variables instead of constructing the docker arguments manually.

Signed-off-by: Evan Lezar elezar@nvidia.com