Skip to content

Commit b8b82ae

Browse files
committed
Update RAPIDS, CUDA, and OS versions
1 parent c07c69b commit b8b82ae

File tree

8 files changed

+134
-12
lines changed

8 files changed

+134
-12
lines changed

.devcontainer/cuda11.8-gcc11/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"shutdownAction": "stopContainer",
3-
"image": "rapidsai/devcontainers:24.12-cpp-gcc11-cuda11.8-ubuntu22.04",
3+
"image": "rapidsai/devcontainers:25.06-cpp-gcc11-cuda11.8-ubuntu22.04",
44
"hostRequirements": {
55
"gpu": true
66
},

.devcontainer/cuda12.6-gcc12/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"shutdownAction": "stopContainer",
3-
"image": "rapidsai/devcontainers:24.12-cpp-gcc12-cuda12.6-ubuntu22.04",
3+
"image": "rapidsai/devcontainers:25.06-cpp-gcc12-cuda12.6-ubuntu22.04",
44
"hostRequirements": {
55
"gpu": true
66
},

.devcontainer/cuda12.6-gcc13/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"shutdownAction": "stopContainer",
3-
"image": "rapidsai/devcontainers:24.12-cpp-gcc13-cuda12.6-ubuntu22.04",
3+
"image": "rapidsai/devcontainers:25.06-cpp-gcc13-cuda12.6-ubuntu22.04",
44
"hostRequirements": {
55
"gpu": true
66
},
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"shutdownAction": "stopContainer",
3+
"image": "rapidsai/devcontainers:25.06-cpp-gcc12-cuda12.8-ubuntu24.04",
4+
"hostRequirements": {
5+
"gpu": true
6+
},
7+
"initializeCommand": [
8+
"/bin/bash",
9+
"-c",
10+
"mkdir -m 0755 -p ${localWorkspaceFolder}/.{aws,cache,config}"
11+
],
12+
"containerEnv": {
13+
"SCCACHE_REGION": "us-east-2",
14+
"SCCACHE_BUCKET": "rapids-sccache-devs",
15+
"AWS_ROLE_ARN": "arn:aws:iam::279114543810:role/nv-gha-token-sccache-devs",
16+
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history",
17+
"DEVCONTAINER_NAME": "cuda12.8-gcc12",
18+
"CUCO_CUDA_VERSION": "12.8",
19+
"CUCO_HOST_COMPILER": "gcc",
20+
"CUCO_HOST_COMPILER_VERSION": "12"
21+
},
22+
"workspaceFolder": "/home/coder/${localWorkspaceFolderBasename}",
23+
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/${localWorkspaceFolderBasename},type=bind,consistency=consistent",
24+
"mounts": [
25+
"source=${localWorkspaceFolder}/.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
26+
"source=${localWorkspaceFolder}/.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
27+
"source=${localWorkspaceFolder}/.config,target=/home/coder/.config,type=bind,consistency=consistent"
28+
],
29+
"customizations": {
30+
"vscode": {
31+
"extensions": [
32+
"llvm-vs-code-extensions.vscode-clangd"
33+
],
34+
"settings": {
35+
"clangd.arguments": [
36+
"--compile-commands-dir=${workspaceFolder}/build/latest"
37+
]
38+
}
39+
}
40+
},
41+
"name": "cuda12.8-gcc12"
42+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"shutdownAction": "stopContainer",
3+
"image": "rapidsai/devcontainers:25.06-cpp-gcc13-cuda12.8-ubuntu24.04",
4+
"hostRequirements": {
5+
"gpu": true
6+
},
7+
"initializeCommand": [
8+
"/bin/bash",
9+
"-c",
10+
"mkdir -m 0755 -p ${localWorkspaceFolder}/.{aws,cache,config}"
11+
],
12+
"containerEnv": {
13+
"SCCACHE_REGION": "us-east-2",
14+
"SCCACHE_BUCKET": "rapids-sccache-devs",
15+
"AWS_ROLE_ARN": "arn:aws:iam::279114543810:role/nv-gha-token-sccache-devs",
16+
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history",
17+
"DEVCONTAINER_NAME": "cuda12.8-gcc13",
18+
"CUCO_CUDA_VERSION": "12.8",
19+
"CUCO_HOST_COMPILER": "gcc",
20+
"CUCO_HOST_COMPILER_VERSION": "13"
21+
},
22+
"workspaceFolder": "/home/coder/${localWorkspaceFolderBasename}",
23+
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/${localWorkspaceFolderBasename},type=bind,consistency=consistent",
24+
"mounts": [
25+
"source=${localWorkspaceFolder}/.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
26+
"source=${localWorkspaceFolder}/.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
27+
"source=${localWorkspaceFolder}/.config,target=/home/coder/.config,type=bind,consistency=consistent"
28+
],
29+
"customizations": {
30+
"vscode": {
31+
"extensions": [
32+
"llvm-vs-code-extensions.vscode-clangd"
33+
],
34+
"settings": {
35+
"clangd.arguments": [
36+
"--compile-commands-dir=${workspaceFolder}/build/latest"
37+
]
38+
}
39+
}
40+
},
41+
"name": "cuda12.8-gcc13"
42+
}

.devcontainer/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"shutdownAction": "stopContainer",
3-
"image": "rapidsai/devcontainers:24.12-cpp-gcc13-cuda12.6-ubuntu22.04",
3+
"image": "rapidsai/devcontainers:25.06-cpp-gcc13-cuda12.8-ubuntu24.04",
44
"hostRequirements": {
55
"gpu": true
66
},
@@ -14,8 +14,8 @@
1414
"SCCACHE_BUCKET": "rapids-sccache-devs",
1515
"AWS_ROLE_ARN": "arn:aws:iam::279114543810:role/nv-gha-token-sccache-devs",
1616
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history",
17-
"DEVCONTAINER_NAME": "cuda12.6-gcc13",
18-
"CUCO_CUDA_VERSION": "12.6",
17+
"DEVCONTAINER_NAME": "cuda12.8-gcc13",
18+
"CUCO_CUDA_VERSION": "12.8",
1919
"CUCO_HOST_COMPILER": "gcc",
2020
"CUCO_HOST_COMPILER_VERSION": "13"
2121
},
@@ -38,5 +38,5 @@
3838
}
3939
}
4040
},
41-
"name": "cuda12.6-gcc13"
41+
"name": "cuda12.8-gcc13"
4242
}

ci/matrix.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
cuda_oldest: &cuda_oldest '11.8'
17-
cuda_newest: &cuda_newest '12.6'
17+
cuda_newest: &cuda_newest '12.8'
1818

1919
# The GPUs to test on
2020
# Note: This assumes that the appropriate gpu_build_archs are set to include building for the GPUs listed here
@@ -23,7 +23,7 @@ gpus:
2323
- 'v100'
2424

2525
# The version of the devcontainer images to use from https://hub.docker.com/r/rapidsai/devcontainers
26-
devcontainer_version: '24.12'
26+
devcontainer_version: '25.06'
2727

2828
# Each environment below will generate a unique build/test job
2929
# See the "compute-matrix" job in the workflow for how this is parsed and used
@@ -43,6 +43,6 @@ devcontainer_version: '24.12'
4343
pull_request:
4444
nvcc:
4545
- {cuda: *cuda_oldest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '11', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
46-
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
47-
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '13', exe: 'g++'}, gpu_build_archs: '80', std: [17], jobs: ['build']}
48-
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'arm64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '60,90', std: [17], jobs: ['build']}
46+
- {cuda: *cuda_newest, os: 'ubuntu24.04', cpu: 'amd64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
47+
- {cuda: *cuda_newest, os: 'ubuntu24.04', cpu: 'amd64', compiler: {name: 'gcc', version: '13', exe: 'g++'}, gpu_build_archs: '80', std: [17], jobs: ['build']}
48+
- {cuda: *cuda_newest, os: 'ubuntu24.04', cpu: 'arm64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '60,90', std: [17], jobs: ['build']}

ci/update_rapids_version.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
# Copyright (c) 2025, NVIDIA CORPORATION.
3+
##########################
4+
# RAPIDS Version Updater #
5+
##########################
6+
7+
## Usage
8+
# bash update_rapids_version.sh <new_version>
9+
10+
# Format is YY.MM.PP - no leading 'v' or trailing 'a'
11+
NEXT_FULL_TAG=$1
12+
13+
#Get <major>.<minor> for next version
14+
NEXT_MAJOR=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[1]}')
15+
NEXT_MINOR=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[2]}')
16+
NEXT_PATCH=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[3]}')
17+
NEXT_SHORT_TAG=${NEXT_MAJOR}.${NEXT_MINOR}
18+
19+
# Need to distutils-normalize the versions for some use cases
20+
NEXT_SHORT_TAG_PEP440=$(python -c "from packaging.version import Version; print(Version('${NEXT_SHORT_TAG}'))")
21+
22+
echo "Updating RAPIDS and devcontainers to $NEXT_FULL_TAG"
23+
24+
# Inplace sed replace; workaround for Linux and Mac
25+
function sed_runner() {
26+
sed -i.bak ''"$1"'' $2 && rm -f ${2}.bak
27+
}
28+
29+
# Update CI files
30+
sed_runner "/devcontainer_version/ s/'[0-9.]*'/'${NEXT_SHORT_TAG}'/g" ci/matrix.yml
31+
32+
# Update CMakeLists.txt
33+
sed_runner "s/set(rapids-cmake-version [0-9.]*)/set(rapids-cmake-version ${NEXT_SHORT_TAG})/g" CMakeLists.txt
34+
35+
# Update .devcontainer files
36+
find .devcontainer/ -type f -name devcontainer.json -print0 | while IFS= read -r -d '' filename; do
37+
sed_runner "s@rapidsai/devcontainers:[0-9.]*@rapidsai/devcontainers:${NEXT_SHORT_TAG}@g" "${filename}"
38+
done

0 commit comments

Comments
 (0)