From 05e21f8419b781c420eaa2b7369f2ec09cd4573d Mon Sep 17 00:00:00 2001 From: Alberto Madonna Date: Thu, 8 Feb 2024 14:10:22 +0100 Subject: [PATCH] Updated recommended versions of libnvidia-container and nvidia-container-toolkit --- CHANGELOG.md | 2 ++ doc/config/hook_examples/generate_examples.sh | 2 +- doc/config/nvidia-container-toolkit.rst | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ce3abfd..458b137b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The new implementation can support both shared locks (a.k.a. read locks) and exclusive locks (a.k.a. write locks), and improves the startup time when launching large numbers of containers at scale. - Updated recommended runc version to 1.1.12 +- Updated recommended libnvidia-container version to 1.14.5 +- Updated recommended NVIDIA Container Toolkit version to 1.14.5 - Updated CI integration tests on Rocky 8 to use Python 3.9, solving a problem of missing wheel packages for the previous Python version - Updated CI distributed tests to use Docker Compose V2 and Compose file format version 3 - Updated automatic documentation build to use Sphinx 7.2.6 and Sphinx RTD Theme 2.0.0 diff --git a/doc/config/hook_examples/generate_examples.sh b/doc/config/hook_examples/generate_examples.sh index c3f35a15..5fe2640d 100755 --- a/doc/config/hook_examples/generate_examples.sh +++ b/doc/config/hook_examples/generate_examples.sh @@ -30,7 +30,7 @@ for file_json_in in $(cd ${HOOKS_TEMPLATES_DIR} && ls *.json.in); do # NVIDIA sed -i ${file_json} -e "s|@NVIDIA_TOOLKIT_PATH@|/opt/sarus/bin|g" - sed -i ${file_json} -e "s|@LIBNVIDIA_CONTAINER_PATH@|/usr/local/libnvidia-container_1.13.0|g" + sed -i ${file_json} -e "s|@LIBNVIDIA_CONTAINER_PATH@|/usr/local/libnvidia-container_1.14.5|g" # MPI sed -i ${file_json} -e "s|@MPI_LIBS@|/usr/lib64/mvapich2-2.2/lib/libmpi.so.12.0.5:/usr/lib64/mvapich2-2.2/lib/libmpicxx.so.12.0.5:/usr/lib64/mvapich2-2.2/lib/libmpifort.so.12.0.5|g" diff --git a/doc/config/nvidia-container-toolkit.rst b/doc/config/nvidia-container-toolkit.rst index 7fd14efd..46210dc0 100644 --- a/doc/config/nvidia-container-toolkit.rst +++ b/doc/config/nvidia-container-toolkit.rst @@ -19,7 +19,7 @@ The hook depends on the library and utility provided by the `libnvidia-container `_ project to carry out the low-level actions of importing the GPU device and drivers inside the container. At the time of writing, the latest release of -``libnvidia-container`` is version 1.13.0. The most straightforward way to obtain +``libnvidia-container`` is version 1.14.5. The most straightforward way to obtain the library and its CLI utility binary is to configure the related `package repository `_ for your Linux distribution and install the pre-built packages. For example, on @@ -39,7 +39,7 @@ Installation ============ At the time of writing, the latest revision of the NVIDIA Container Runtime hook -is version 1.13.0. +is version 1.14.5. System packages --------------- @@ -81,11 +81,11 @@ You can now proceed to build the hook: $ git clone https://github.com/NVIDIA/nvidia-container-toolkit.git $ cd nvidia-container-toolkit - $ git checkout v1.13.0 + $ git checkout v1.14.5 $ make cmd-nvidia-container-runtime-hook # Copy the hook binary to an installation directory - $ sudo cp ./nvidia-container-runtime-hook /opt/sarus/bin/nvidia-container-runtime-hook-1.13.0 + $ sudo cp ./nvidia-container-runtime-hook /opt/sarus/bin/nvidia-container-runtime-hook-1.14.5 To ensure correct functionality, the hook also needs a TOML configuration file to be present on the system, and will look for it in the default path