From d04ba85cf2e68442e665e8166aba45c0e3d523f3 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 2 Jun 2025 14:47:39 +0200 Subject: [PATCH 1/2] Pin all dependencies when installing toolkit Signed-off-by: Evan Lezar Co-authored-by: Abigail McCarthy <20771501+a-mccarthy@users.noreply.github.com> --- container-toolkit/install-guide.md | 21 ++++++++++++++++++--- repo.toml | 1 + 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/container-toolkit/install-guide.md b/container-toolkit/install-guide.md index 88c930e7a..ede3c435f 100644 --- a/container-toolkit/install-guide.md +++ b/container-toolkit/install-guide.md @@ -56,7 +56,12 @@ Alternatively, you can install the driver by [downloading](https://www.nvidia.co 1. Install the NVIDIA Container Toolkit packages: ```console - $ sudo apt-get install -y nvidia-container-toolkit + $ NVIDIA_CONTAINER_TOOLKIT_VERSION=${version}-1 \ + sudo apt-get install -y \ + nvidia-container-toolkit=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + nvidia-container-toolkit-base=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + libnvidia-container-tools=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + libnvidia-container1=${NVIDIA_CONTAINER_TOOLKIT_VERSION} ``` (installing-with-yum-or-dnf)= @@ -84,7 +89,12 @@ Alternatively, you can install the driver by [downloading](https://www.nvidia.co 1. Install the NVIDIA Container Toolkit packages: ```console - $ sudo dnf install -y nvidia-container-toolkit + $ NVIDIA_CONTAINER_TOOLKIT_VERSION=${version}-1 \ + sudo dnf install -y \ + nvidia-container-toolkit-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + nvidia-container-toolkit-base-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + libnvidia-container-tools-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + libnvidia-container1-${NVIDIA_CONTAINER_TOOLKIT_VERSION} ``` (installing-with-zypper)= @@ -106,7 +116,12 @@ Alternatively, you can install the driver by [downloading](https://www.nvidia.co 1. Install the NVIDIA Container Toolkit packages: ```console - $ sudo zypper --gpg-auto-import-keys install -y nvidia-container-toolkit + $ NVIDIA_CONTAINER_TOOLKIT_VERSION=${version}-1 \ + sudo zypper --gpg-auto-import-keys install -y \ + nvidia-container-toolkit-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + nvidia-container-toolkit-base-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + libnvidia-container-tools-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ + libnvidia-container1-${NVIDIA_CONTAINER_TOOLKIT_VERSION} ``` ## Configuration diff --git a/repo.toml b/repo.toml index cd05e8bcb..92c8c7b8e 100644 --- a/repo.toml +++ b/repo.toml @@ -102,6 +102,7 @@ docs_root = "${root}/container-toolkit" project = "container-toolkit" name = "NVIDIA Container Toolkit" version = "1.17.7" +source_substitutions = {version = "1.17.7"} copyright_start = 2020 redirects = [ { path="concepts.html", target="index.html" }, From a76a771018a198e35aedd8ca349fe3ab933b94b0 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 2 Jun 2025 15:23:37 +0200 Subject: [PATCH 2/2] Add NVIDIA Container Toolkit v1.17.8 release notes Signed-off-by: Evan Lezar Co-authored-by: Abigail McCarthy <20771501+a-mccarthy@users.noreply.github.com> --- container-toolkit/release-notes.md | 35 ++++++++++++++++++++++++++---- container-toolkit/versions.json | 5 ++++- container-toolkit/versions1.json | 4 ++++ repo.toml | 4 ++-- 4 files changed, 41 insertions(+), 7 deletions(-) diff --git a/container-toolkit/release-notes.md b/container-toolkit/release-notes.md index 1dec32a13..a847772d4 100644 --- a/container-toolkit/release-notes.md +++ b/container-toolkit/release-notes.md @@ -6,9 +6,36 @@ # Release Notes -This document describes the new features, improvements, fixed and known issues for the NVIDIA Container Toolkit. +This document describes the new features, improvements, fixes and known issues for the NVIDIA Container Toolkit. -______________________________________________________________________ +## NVIDIA Container Toolkit 1.17.8 + +This release of the NVIDIA Container Toolkit `v1.17.8` is a bugfix release. + +### Fixes and Features + +- Updated the ordering of Mounts in CDI to have a deterministic output. This makes testing more consistent. +- Added NVIDIA_CTK_DEBUG environment variable to hooks. + +#### Enhancements to libnvidia-container + +- Fixed a bug in setting the default for the `--cuda-compat-mode` flag. This caused failures in use cases invoking the `nvidia-container-cli` directly or when an older `nvidia-container-toolkit` version was used with a newer `nvidia-container-cli`. +- Added additional logging to the `nvidia-container-cli`. +- Fixed variable initialisation when updating the ldcache. This caused failures on Arch linux or other platforms where the `nvidia-container-cli` was built from source. + +### Included Packages + +The following packages are included: + +- `nvidia-container-toolkit 1.17.8` +- `nvidia-container-toolkit-base 1.17.8` +- `libnvidia-container-tools 1.17.8` +- `libnvidia-container1 1.17.8` + +The following `container-toolkit` containers are included: + +- `nvcr.io/nvidia/k8s/container-toolkit:v1.17.8-ubi8` +- `nvcr.io/nvidia/k8s/container-toolkit:v1.17.8-ubuntu20.04` (also as `nvcr.io/nvidia/k8s/container-toolkit:v1.17.8`) ## NVIDIA Container Toolkit 1.17.7 @@ -73,7 +100,7 @@ NVIDIA_CONTAINER_TOOLKIT_VERSION=1.17.6-1 \ **Using `dnf` (RHEL/CentOS, Fedora, Amazon Linux):** -``` +``` NVIDIA_CONTAINER_TOOLKIT_VERSION=1.17.6-1 \ dnf install -y \ nvidia-container-toolkit-${NVIDIA_CONTAINER_TOOLKIT_VERSION} \ @@ -1051,7 +1078,7 @@ The following packages have also been updated to depend on `nvidia-container-too - Switch to debug logging to reduce log verbosity - Support logging to logs requested in command line - Allow low-level runtime path to be set explicitly as `nvidia-container-runtime.runtimes` option -- Fix failure to locate low-level runtime if PATH envvar is unset +- Fix failure to locate low-level runtime if PATH environment variables is unset - Add `--version` flag to all CLIs #### specific to libnvidia-container diff --git a/container-toolkit/versions.json b/container-toolkit/versions.json index 540120065..aef68cb71 100644 --- a/container-toolkit/versions.json +++ b/container-toolkit/versions.json @@ -1,7 +1,10 @@ { - "latest": "1.17.7", + "latest": "1.17.8", "versions": [ + { + "version": "1.17.8" + }, { "version": "1.17.7" }, diff --git a/container-toolkit/versions1.json b/container-toolkit/versions1.json index 485dcf62d..bed065609 100644 --- a/container-toolkit/versions1.json +++ b/container-toolkit/versions1.json @@ -1,6 +1,10 @@ [ { "preferred": "true", + "url": "../1.17.8", + "version": "1.17.8" + }, + { "url": "../1.17.7", "version": "1.17.7" }, diff --git a/repo.toml b/repo.toml index 92c8c7b8e..cfb2a7970 100644 --- a/repo.toml +++ b/repo.toml @@ -101,8 +101,8 @@ project_build_order = [ docs_root = "${root}/container-toolkit" project = "container-toolkit" name = "NVIDIA Container Toolkit" -version = "1.17.7" -source_substitutions = {version = "1.17.7"} +version = "1.17.8" +source_substitutions = {version = "1.17.8"} copyright_start = 2020 redirects = [ { path="concepts.html", target="index.html" },