diff --git a/features/src/cuda/README.md b/features/src/cuda/README.md index f398f6d7b..d1ae7bc68 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 | 13.3 | +| version | Version of the CUDA Toolkit to install. | string | 13.4 | | 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 ff37b2e22..aebf75825 100644 --- a/features/src/cuda/devcontainer-feature.json +++ b/features/src/cuda/devcontainer-feature.json @@ -7,6 +7,7 @@ "version": { "type": "string", "proposals": [ + "13.4", "13.3", "13.2", "13.1", @@ -29,7 +30,7 @@ "11.2", "11.1" ], - "default": "13.3", + "default": "13.4", "description": "Version of the CUDA Toolkit to install." }, "cuDNNVersion": { diff --git a/features/src/cuda/install.sh b/features/src/cuda/install.sh index beca08050..57c0bb3eb 100644 --- a/features/src/cuda/install.sh +++ b/features/src/cuda/install.sh @@ -37,7 +37,7 @@ export OSNAME_PREV="$( echo "$ID$((major - (major % 2) - 2))${minor}"; )"; -VERSION="${CUDA_VERSION:-${VERSION:-13.3.0}}"; +VERSION="${CUDA_VERSION:-${VERSION:-13.4.3}}"; if [[ "$NVARCH" == aarch64 ]]; then NVARCH="sbsa"; diff --git a/features/test/cuda/test.sh b/features/test/cuda/test.sh index 95b436e88..38d0b291a 100644 --- a/features/test/cuda/test.sh +++ b/features/test/cuda/test.sh @@ -17,12 +17,12 @@ 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 '13.3.0'"; +check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '13.4.3'"; check "CUDA major version" bash -c "echo '$CUDA_VERSION_MAJOR' | grep '13'"; -check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '3'"; -check "CUDA patch version" bash -c "echo '$CUDA_VERSION_PATCH' | grep '0'"; -check "nvcc version" bash -c "nvcc --version | grep 'release 13.3'"; -check "installed" stat /usr/local/cuda-13.3 /usr/local/cuda +check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '4'"; +check "CUDA patch version" bash -c "echo '$CUDA_VERSION_PATCH' | grep '2'"; +check "nvcc version" bash -c "nvcc --version | grep 'release 13.4'"; +check "installed" stat /usr/local/cuda-13.4 /usr/local/cuda check "nvcc exists and is on path" which nvcc # Report result diff --git a/windows/image/installers/install-cuda.ps1 b/windows/image/installers/install-cuda.ps1 index 46efd4985..fad494351 100644 --- a/windows/image/installers/install-cuda.ps1 +++ b/windows/image/installers/install-cuda.ps1 @@ -16,9 +16,9 @@ if ($build -lt 0) { $build = 0 } -# Use 13.4.2 for 13.4 +# Use 13.4.3 for 13.4 if ($major -eq 13 -and $minor -eq 4) { - $build = 2 + $build = 3 } # mmb == major minor build