Skip to content

Commit

Permalink
Updated recommended versions of libnvidia-container and nvidia-contai…
Browse files Browse the repository at this point in the history
…ner-toolkit
  • Loading branch information
Madeeks committed Feb 8, 2024
1 parent d406648 commit 05e21f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/config/hook_examples/generate_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions doc/config/nvidia-container-toolkit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The hook depends on the library and utility provided by the
`libnvidia-container <https://github.com/NVIDIA/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 <https://nvidia.github.io/libnvidia-container/>`_
for your Linux distribution and install the pre-built packages. For example, on
Expand All @@ -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
---------------
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 05e21f8

Please sign in to comment.