Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/src/cuda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
3 changes: 2 additions & 1 deletion features/src/cuda/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"version": {
"type": "string",
"proposals": [
"13.4",
"13.3",
"13.2",
"13.1",
Expand All @@ -29,7 +30,7 @@
"11.2",
"11.1"
],
"default": "13.3",
"default": "13.4",
"description": "Version of the CUDA Toolkit to install."
},
"cuDNNVersion": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/cuda/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
10 changes: 5 additions & 5 deletions features/test/cuda/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions windows/image/installers/install-cuda.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading