diff --git a/features/src/cuda/README.md b/features/src/cuda/README.md index ce7c2fa7..31837004 100644 --- a/features/src/cuda/README.md +++ b/features/src/cuda/README.md @@ -15,7 +15,7 @@ A feature to install the NVIDIA CUDA Toolkit | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| version | Version of the CUDA Toolkit to install. | string | 12.8 | +| version | Version of the CUDA Toolkit to install. | string | 12.9 | | cuDNNVersion | Version of cuDNN to install. | string | 8 | | installCompilers | Install NVIDIA CUDA Compiler (nvcc) | boolean | true | | installProfilers | Install NVIDIA NSight Systems Profiler (nsys) | boolean | true | diff --git a/features/src/cuda/devcontainer-feature.json b/features/src/cuda/devcontainer-feature.json index 63378cf8..8250f12d 100644 --- a/features/src/cuda/devcontainer-feature.json +++ b/features/src/cuda/devcontainer-feature.json @@ -7,6 +7,7 @@ "version": { "type": "string", "proposals": [ + "12.9", "12.8", "12.6", "12.5", @@ -24,7 +25,7 @@ "11.2", "11.1" ], - "default": "12.8", + "default": "12.9", "description": "Version of the CUDA Toolkit to install." }, "cuDNNVersion": { diff --git a/features/src/cuda/install.sh b/features/src/cuda/install.sh index c9a0251b..87b06338 100644 --- a/features/src/cuda/install.sh +++ b/features/src/cuda/install.sh @@ -30,7 +30,7 @@ export OSNAME="$( echo "$ID$((major - (major % 2)))${minor}"; )"; -VERSION="${CUDA_VERSION:-${VERSION:-12.8.0}}"; +VERSION="${CUDA_VERSION:-${VERSION:-12.9.0}}"; if [[ "$NVARCH" == aarch64 ]]; then NVARCH="sbsa"; diff --git a/features/test/_global/cpp_llvm_cuda_nvhpc.sh b/features/test/_global/cpp_llvm_cuda_nvhpc.sh index b1b8d137..f820f0a8 100644 --- a/features/test/_global/cpp_llvm_cuda_nvhpc.sh +++ b/features/test/_global/cpp_llvm_cuda_nvhpc.sh @@ -39,11 +39,11 @@ source dev-container-features-test-lib; check "gitlab-cli version" glab --version # Check CUDA -check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '12.8.0'"; +check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '12.9.0'"; check "CUDA major version" bash -c "echo '$CUDA_VERSION_MAJOR' | grep '12'"; -check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '8'"; +check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '9'"; check "CUDA patch version" bash -c "echo '$CUDA_VERSION_PATCH' | grep '0'"; -check "installed" stat /usr/local/cuda-12.8 /usr/local/cuda; +check "installed" stat /usr/local/cuda-12.9 /usr/local/cuda; check "nvcc exists and is on path" which nvcc; # Check NVHPC diff --git a/features/test/_global/cuda_rust.sh b/features/test/_global/cuda_rust.sh index 444353df..04bdab28 100644 --- a/features/test/_global/cuda_rust.sh +++ b/features/test/_global/cuda_rust.sh @@ -40,11 +40,11 @@ source dev-container-features-test-lib; >&2 echo "BASH_ENV=$BASH_ENV"; # Check CUDA -check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '12.8.0'"; +check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '12.9.0'"; check "CUDA major version" bash -c "echo '$CUDA_VERSION_MAJOR' | grep '12'"; -check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '8'"; +check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '9'"; check "CUDA patch version" bash -c "echo '$CUDA_VERSION_PATCH' | grep '0'"; -check "installed" stat /usr/local/cuda-12.8 /usr/local/cuda; +check "installed" stat /usr/local/cuda-12.9 /usr/local/cuda; check "nvcc exists and is on path" which nvcc; # Check Rust diff --git a/features/test/_global/scenarios.json b/features/test/_global/scenarios.json index 345aa263..ac1bce87 100644 --- a/features/test/_global/scenarios.json +++ b/features/test/_global/scenarios.json @@ -4,7 +4,7 @@ "features": { "rust": {}, "cuda": { - "version": "12.8" + "version": "12.9" } }, "overrideFeatureInstallOrder": [ @@ -44,7 +44,7 @@ "version": "16" }, "cuda": { - "version": "12.8" + "version": "12.9" }, "nvhpc": { "version": "24.5" diff --git a/features/test/cuda/test.sh b/features/test/cuda/test.sh index b1781da6..82df608e 100644 --- a/features/test/cuda/test.sh +++ b/features/test/cuda/test.sh @@ -17,11 +17,11 @@ source dev-container-features-test-lib # Feature-specific tests # The 'check' command comes from the dev-container-features-test-lib. -check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '12.8.0'"; +check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '12.9.0'"; check "CUDA major version" bash -c "echo '$CUDA_VERSION_MAJOR' | grep '12'"; -check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '8'"; +check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '9'"; check "CUDA patch version" bash -c "echo '$CUDA_VERSION_PATCH' | grep '0'"; -check "installed" stat /usr/local/cuda-12.8 /usr/local/cuda +check "installed" stat /usr/local/cuda-12.9 /usr/local/cuda check "nvcc exists and is on path" which nvcc # Report result diff --git a/features/test/openmpi/scenarios.json b/features/test/openmpi/scenarios.json index a6e77236..60cc7871 100644 --- a/features/test/openmpi/scenarios.json +++ b/features/test/openmpi/scenarios.json @@ -3,7 +3,7 @@ "image": "ubuntu:22.04", "features": { "cuda": { - "version": "12.8" + "version": "12.9" }, "ucx": { "version": "1.15.0" diff --git a/features/test/ucx/scenarios.json b/features/test/ucx/scenarios.json index 7439c547..9081459e 100644 --- a/features/test/ucx/scenarios.json +++ b/features/test/ucx/scenarios.json @@ -3,7 +3,7 @@ "image": "ubuntu:22.04", "features": { "cuda": { - "version": "12.8" + "version": "12.9" }, "ucx": { "version": "1.14.1" @@ -18,7 +18,7 @@ "image": "ubuntu:22.04", "features": { "cuda": { - "version": "12.8" + "version": "12.9" }, "ucx": { "version": "1.15.0-rc3" diff --git a/windows/image/installers/install-cuda.ps1 b/windows/image/installers/install-cuda.ps1 index 4f4dd033..d07e3082 100644 --- a/windows/image/installers/install-cuda.ps1 +++ b/windows/image/installers/install-cuda.ps1 @@ -1,7 +1,7 @@ Param( [Parameter(Mandatory=$false)] [string] - $cudaVersion="12.8.0" + $cudaVersion="12.9.0" ) # Use System.Version to tokenize version @@ -11,7 +11,7 @@ $major = $version.Major $minor = $version.Minor $build = $version.Build -# Minimum build is 0, not -1 as default in case "12.8" is passed +# Minimum build is 0, not -1 as default in case "12.9" is passed if ($build -lt 0) { $build = 0 }