From 7d2a26932ef01d68abeef44c81d18cdbb88625a2 Mon Sep 17 00:00:00 2001 From: Krisztian Pozsa Date: Mon, 26 Oct 2020 17:05:18 +0100 Subject: [PATCH] Update nvidia-container-toolkit.rst This piece of information feels important to be included in the docs. #17 --- doc/config/nvidia-container-toolkit.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/config/nvidia-container-toolkit.rst b/doc/config/nvidia-container-toolkit.rst index bc0be410..ee432fbb 100644 --- a/doc/config/nvidia-container-toolkit.rst +++ b/doc/config/nvidia-container-toolkit.rst @@ -139,3 +139,7 @@ These modifications ensure that the host resource allocations are respected, while guaranteeing the correct operation of CUDA applications inside the container, even in the case of partial or shuffled devices selection on multi-GPU systems. + +If ``CUDA_VISIBLE_DEVICES`` is not set in the *host* Sarus will unset +``NVIDIA_VISIBLE_DEVICES``, making the NVIDIA hook exit without carrying out any +operation.