diff --git a/features/src/cuda/devcontainer-feature.json b/features/src/cuda/devcontainer-feature.json index 2a08f639..34335878 100644 --- a/features/src/cuda/devcontainer-feature.json +++ b/features/src/cuda/devcontainer-feature.json @@ -1,12 +1,14 @@ { "name": "CUDA Toolkit", "id": "cuda", - "version": "26.8.0", + "version": "26.8.1", "description": "A feature to install the NVIDIA CUDA Toolkit", "options": { "version": { "type": "string", "proposals": [ + "13.3", + "13.2", "13.1", "13.0", "12.9", @@ -27,7 +29,7 @@ "11.2", "11.1" ], - "default": "13.1", + "default": "13.3", "description": "Version of the CUDA Toolkit to install." }, "cuDNNVersion": { diff --git a/features/src/cuda/install.sh b/features/src/cuda/install.sh index 07843ea9..aaf36c7b 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:-13.1.0}}"; +VERSION="${CUDA_VERSION:-${VERSION:-13.3.0}}"; if [[ "$NVARCH" == aarch64 ]]; then NVARCH="sbsa"; diff --git a/features/test/cuda/test.sh b/features/test/cuda/test.sh index 28e97c58..95b436e8 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.1.0'"; +check "CUDA version" bash -c "echo '$CUDA_VERSION' | grep '13.3.0'"; check "CUDA major version" bash -c "echo '$CUDA_VERSION_MAJOR' | grep '13'"; -check "CUDA minor version" bash -c "echo '$CUDA_VERSION_MINOR' | grep '1'"; +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.1'"; -check "installed" stat /usr/local/cuda-13.1 /usr/local/cuda +check "nvcc version" bash -c "nvcc --version | grep 'release 13.3'"; +check "installed" stat /usr/local/cuda-13.3 /usr/local/cuda check "nvcc exists and is on path" which nvcc # Report result