Skip to content

Commit ef98fb2

Browse files
authored
Add CUDA 13.1 support (#1642)
Contributes to rapidsai/build-planning#236 - Adds CUDA 13.1 to dependencies.yaml - Adds CUDA 13.1 devcontainers - Updates install documentation if needed Authors: - Bradley Dice (https://github.com/bdice) - Gil Forsyth (https://github.com/gforsyth) Approvers: - Gil Forsyth (https://github.com/gforsyth) - Ben Frederickson (https://github.com/benfred) URL: #1642
1 parent dc88bd9 commit ef98fb2

17 files changed

Lines changed: 45 additions & 38 deletions

.devcontainer/cuda13.0-conda/devcontainer.json renamed to .devcontainer/cuda13.1-conda/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"context": "${localWorkspaceFolder}/.devcontainer",
44
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
55
"args": {
6-
"CUDA": "13.0",
6+
"CUDA": "13.1",
77
"PYTHON_PACKAGE_MANAGER": "conda",
88
"BASE": "rapidsai/devcontainers:26.02-cpp-mambaforge"
99
}
1010
},
1111
"runArgs": [
1212
"--rm",
1313
"--name",
14-
"${localEnv:USER:anon}-rapids-${localWorkspaceFolderBasename}-26.02-cuda13.0-conda",
14+
"${localEnv:USER:anon}-rapids-${localWorkspaceFolderBasename}-26.02-cuda13.1-conda",
1515
"--ulimit",
1616
"nofile=500000"
1717
],
@@ -22,7 +22,7 @@
2222
"overrideFeatureInstallOrder": [
2323
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils"
2424
],
25-
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda13.0-envs}"],
25+
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda13.1-envs}"],
2626
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; . rapids-post-attach-command; fi"],
2727
"workspaceFolder": "/home/coder",
2828
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cuvs,type=bind,consistency=consistent",
@@ -31,7 +31,7 @@
3131
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
3232
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent",
3333
"source=${localWorkspaceFolder}/../.conda/pkgs,target=/home/coder/.conda/pkgs,type=bind,consistency=consistent",
34-
"source=${localWorkspaceFolder}/../.conda/${localWorkspaceFolderBasename}-cuda13.0-envs,target=/home/coder/.conda/envs,type=bind,consistency=consistent"
34+
"source=${localWorkspaceFolder}/../.conda/${localWorkspaceFolderBasename}-cuda13.1-envs,target=/home/coder/.conda/envs,type=bind,consistency=consistent"
3535
],
3636
"customizations": {
3737
"vscode": {

.devcontainer/cuda13.0-pip/devcontainer.json renamed to .devcontainer/cuda13.1-pip/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
"context": "${localWorkspaceFolder}/.devcontainer",
44
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
55
"args": {
6-
"CUDA": "13.0",
6+
"CUDA": "13.1",
77
"PYTHON_PACKAGE_MANAGER": "pip",
8-
"BASE": "rapidsai/devcontainers:26.02-cpp-cuda13.0-ucx1.19.0-openmpi5.0.7"
8+
"BASE": "rapidsai/devcontainers:26.02-cpp-cuda13.1-ucx1.19.0-openmpi5.0.7"
99
}
1010
},
1111
"runArgs": [
1212
"--rm",
1313
"--name",
14-
"${localEnv:USER:anon}-rapids-${localWorkspaceFolderBasename}-26.02-cuda13.0-pip",
14+
"${localEnv:USER:anon}-rapids-${localWorkspaceFolderBasename}-26.02-cuda13.1-pip",
1515
"--ulimit",
1616
"nofile=500000"
1717
],
1818
"hostRequirements": {"gpu": "optional"},
1919
"features": {
2020
"ghcr.io/rapidsai/devcontainers/features/cuda:26.2": {
21-
"version": "13.0",
21+
"version": "13.1",
2222
"installcuBLAS": true,
2323
"installcuSOLVER": true,
2424
"installcuRAND": true,
@@ -31,15 +31,15 @@
3131
"ghcr.io/rapidsai/devcontainers/features/cuda",
3232
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils"
3333
],
34-
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda13.0-venvs}"],
34+
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda13.1-venvs}"],
3535
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; . rapids-post-attach-command; fi"],
3636
"workspaceFolder": "/home/coder",
3737
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cuvs,type=bind,consistency=consistent",
3838
"mounts": [
3939
"source=${localWorkspaceFolder}/../.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
4040
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
4141
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent",
42-
"source=${localWorkspaceFolder}/../.local/share/${localWorkspaceFolderBasename}-cuda13.0-venvs,target=/home/coder/.local/share/venvs,type=bind,consistency=consistent"
42+
"source=${localWorkspaceFolder}/../.local/share/${localWorkspaceFolderBasename}-cuda13.1-venvs,target=/home/coder/.local/share/venvs,type=bind,consistency=consistent"
4343
],
4444
"customizations": {
4545
"vscode": {

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
# syntax=docker/dockerfile:1.5
25

36
# ==============================================================================
@@ -55,7 +58,7 @@ RUN wget --quiet https://github.com/conda-forge/miniforge/releases/latest/downlo
5558

5659
# Create conda environment and install cuVS packages with pinned dependencies
5760
RUN conda create -n cuvs python=${PYTHON_VER} -y && \
58-
conda run -n cuvs conda install -c rapidsai -c conda-forge -c nvidia \
61+
conda run -n cuvs conda install -c rapidsai -c conda-forge \
5962
cuvs=${RAPIDS_VER} \
6063
libcuvs=${RAPIDS_VER} \
6164
cuda-version=${CUDA_VER} \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ If installing a version that has not yet been released, the `rapidsai` channel c
106106

107107
```bash
108108
# CUDA 13
109-
conda install -c rapidsai-nightly -c conda-forge cuvs=26.02 cuda-version=13.0
109+
conda install -c rapidsai-nightly -c conda-forge cuvs=26.02 cuda-version=13.1
110110

111111
# CUDA 12
112112
conda install -c rapidsai-nightly -c conda-forge cuvs=26.02 cuda-version=12.9

conda/environments/all_cuda-130_arch-aarch64.yaml renamed to conda/environments/all_cuda-131_arch-aarch64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- cuda-nvtx-dev
1717
- cuda-profiler-api
1818
- cuda-python>=13.0.1,<14.0
19-
- cuda-version=13.0
19+
- cuda-version=13.1
2020
- cupy>=13.6.0
2121
- cxx-compiler
2222
- cython>=3.0.0,<3.2.0
@@ -53,4 +53,4 @@ dependencies:
5353
- sysroot_linux-aarch64==2.28
5454
- pip:
5555
- nvidia-sphinx-theme
56-
name: all_cuda-130_arch-aarch64
56+
name: all_cuda-131_arch-aarch64

conda/environments/all_cuda-130_arch-x86_64.yaml renamed to conda/environments/all_cuda-131_arch-x86_64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- cuda-nvtx-dev
1717
- cuda-profiler-api
1818
- cuda-python>=13.0.1,<14.0
19-
- cuda-version=13.0
19+
- cuda-version=13.1
2020
- cupy>=13.6.0
2121
- cxx-compiler
2222
- cython>=3.0.0,<3.2.0
@@ -53,4 +53,4 @@ dependencies:
5353
- sysroot_linux-64==2.28
5454
- pip:
5555
- nvidia-sphinx-theme
56-
name: all_cuda-130_arch-x86_64
56+
name: all_cuda-131_arch-x86_64

conda/environments/bench_ann_cuda-130_arch-aarch64.yaml renamed to conda/environments/bench_ann_cuda-131_arch-aarch64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- cuda-nvtx-dev
1616
- cuda-profiler-api
1717
- cuda-python>=13.0.1,<14.0
18-
- cuda-version=13.0
18+
- cuda-version=13.1
1919
- cupy>=13.6.0
2020
- cuvs==26.2.*,>=0.0.0a0
2121
- cxx-compiler
@@ -45,4 +45,4 @@ dependencies:
4545
- setuptools>=77.0.0
4646
- sysroot_linux-aarch64==2.28
4747
- wheel
48-
name: bench_ann_cuda-130_arch-aarch64
48+
name: bench_ann_cuda-131_arch-aarch64

conda/environments/bench_ann_cuda-130_arch-x86_64.yaml renamed to conda/environments/bench_ann_cuda-131_arch-x86_64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- cuda-nvtx-dev
1616
- cuda-profiler-api
1717
- cuda-python>=13.0.1,<14.0
18-
- cuda-version=13.0
18+
- cuda-version=13.1
1919
- cupy>=13.6.0
2020
- cuvs==26.2.*,>=0.0.0a0
2121
- cxx-compiler
@@ -48,4 +48,4 @@ dependencies:
4848
- setuptools>=77.0.0
4949
- sysroot_linux-64==2.28
5050
- wheel
51-
name: bench_ann_cuda-130_arch-x86_64
51+
name: bench_ann_cuda-131_arch-x86_64

conda/environments/go_cuda-130_arch-aarch64.yaml renamed to conda/environments/go_cuda-131_arch-aarch64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
- cuda-nvcc
1515
- cuda-nvtx-dev
1616
- cuda-profiler-api
17-
- cuda-version=13.0
17+
- cuda-version=13.1
1818
- cxx-compiler
1919
- dlpack>=0.8,<1.0
2020
- gcc_linux-aarch64=14.*
@@ -29,4 +29,4 @@ dependencies:
2929
- nccl>=2.19
3030
- ninja
3131
- sysroot_linux-aarch64==2.28
32-
name: go_cuda-130_arch-aarch64
32+
name: go_cuda-131_arch-aarch64

conda/environments/go_cuda-130_arch-x86_64.yaml renamed to conda/environments/go_cuda-131_arch-x86_64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
- cuda-nvcc
1515
- cuda-nvtx-dev
1616
- cuda-profiler-api
17-
- cuda-version=13.0
17+
- cuda-version=13.1
1818
- cxx-compiler
1919
- dlpack>=0.8,<1.0
2020
- gcc_linux-64=14.*
@@ -29,4 +29,4 @@ dependencies:
2929
- nccl>=2.19
3030
- ninja
3131
- sysroot_linux-64==2.28
32-
name: go_cuda-130_arch-x86_64
32+
name: go_cuda-131_arch-x86_64

0 commit comments

Comments
 (0)