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
6 changes: 4 additions & 2 deletions features/src/cuda/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,7 +29,7 @@
"11.2",
"11.1"
],
"default": "13.1",
"default": "13.3",
"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 @@ -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";
Expand Down
8 changes: 4 additions & 4 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.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
Expand Down
Loading