Skip to content

Commit 7ba9c85

Browse files
authored
build and test with CUDA 13.0.0 (#154)
Contributes to rapidsai/build-planning#208 * uses CUDA 13.0.0 to build and test * updates to latest versions of all `pre-commit` hooks (including stricter `rapids-dependency-file-generator` via rapidsai/dependency-file-generator#163) Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Don Acosta (https://github.com/acostadon) - Vyas Ramasubramani (https://github.com/vyasr) URL: #154
1 parent d0d9bef commit 7ba9c85

10 files changed

Lines changed: 54 additions & 27 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
arch: "amd64"
4141
branch: ${{ inputs.branch }}
4242
build_type: ${{ inputs.build_type || 'branch' }}
43-
container_image: "rapidsai/ci-conda:latest"
43+
container_image: "rapidsai/ci-conda:25.10-latest"
4444
date: ${{ inputs.date }}
4545
node_type: "gpu-l4-latest-1"
4646
script: "ci/build_docs.sh"

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
build_type: pull-request
4444
node_type: "gpu-l4-latest-1"
4545
arch: "amd64"
46-
container_image: "rapidsai/ci-conda:latest"
46+
container_image: "rapidsai/ci-conda:25.10-latest"
4747
script: "ci/build_docs.sh"
4848
telemetry-summarize:
4949
# This job must use a self-hosted runner to record telemetry traces.

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
repos:
44
- repo: https://github.com/rapidsai/pre-commit-hooks
5-
rev: v0.6.0
5+
rev: v0.7.0
66
hooks:
77
- id: verify-alpha-spec
88
- id: verify-copyright
99
- repo: https://github.com/rapidsai/dependency-file-generator
10-
rev: v1.19.0
10+
rev: v1.20.0
1111
hooks:
1212
- id: rapids-dependency-file-generator
13-
args: ["--clean"]
13+
args: ["--clean", "--warn-all", "--strict"]
1414
- repo: https://github.com/shellcheck-py/shellcheck-py
15-
rev: v0.10.0.1
15+
rev: v0.11.0.1
1616
hooks:
1717
- id: shellcheck
1818
args: ["--severity=warning"]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ channels:
77
- conda-forge
88
dependencies:
99
- breathe>=4.35
10-
- cuda-version=12.9
10+
- cuda-version=13.0
1111
- cugraph-pyg==25.10.*,>=0.0.0a0
1212
- cugraph==25.10.*,>=0.0.0a0
1313
- doxygen
@@ -26,4 +26,4 @@ dependencies:
2626
- sphinx-copybutton
2727
- sphinx-markdown-tables
2828
- sphinxcontrib-websupport
29-
name: all_cuda-129_arch-x86_64
29+
name: all_cuda-130_arch-x86_64

dependencies.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ files:
44
output: [conda]
55
matrix:
66
# docs are only built on the latest CUDA version RAPIDS supports
7-
cuda: ["12.9"]
7+
cuda: ["13.0"]
88
arch: [x86_64]
99
includes:
1010
- checks
@@ -57,6 +57,10 @@ dependencies:
5757
cuda: "12.9"
5858
packages:
5959
- cuda-version=12.9
60+
- matrix:
61+
cuda: "13.0"
62+
packages:
63+
- cuda-version=13.0
6064

6165
docs:
6266
common:

docs/cugraph-docs/source/installation/getting_cugraph.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Replace the package name in the example below to the one you want to install.
3939
Install and update cuGraph using the conda command:
4040

4141
```bash
42+
# CUDA 13
43+
conda install -c rapidsai -c conda-forge -c nvidia cugraph cuda-version=13.0
44+
45+
# CUDA 12
4246
conda install -c rapidsai -c conda-forge -c nvidia cugraph cuda-version=12.9
4347
```
4448

@@ -49,12 +53,17 @@ Note: This conda installation only applies to Linux and Python versions 3.10/3.1
4953
## PIP
5054
cuGraph, and all of RAPIDS, is available via pip.
5155

52-
```
56+
```shell
57+
# CUDA 13
58+
pip install cugraph-cu13 --extra-index-url=https://pypi.nvidia.com
59+
60+
# CUDA 12
5361
pip install cugraph-cu12 --extra-index-url=https://pypi.nvidia.com
5462
```
5563

5664
Also available:
57-
* cugraph-pyg-cu12
58-
* nx-cugraph-cu12
65+
66+
* `cugraph-pyg-cu{12,13}`
67+
* `nx-cugraph-cu{12, 13}`
5968

6069
<br>

docs/cugraph-docs/source/installation/source_build.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@ environment YAML
3939
files](https://github.com/rapidsai/cugraph/blob/main/conda/environments).
4040

4141
```bash
42-
43-
# for CUDA 12.x
44-
conda env create --name cugraph_dev --file $CUGRAPH_HOME/conda/environments/all_cuda-129_arch-x86_64.yaml
45-
42+
# for CUDA 13.x
43+
conda env create --name cugraph_dev --file $CUGRAPH_HOME/conda/environments/all_cuda-130_arch-x86_64.yaml
4644

4745
# activate the environment
4846
conda activate cugraph_dev
@@ -54,13 +52,9 @@ conda deactivate
5452
The environment can be updated as cugraph adds/removes/updates its dependencies. To do so, run:
5553

5654
```bash
57-
58-
# for CUDA 12.x
59-
conda env update --name cugraph_dev --file $CUGRAPH_HOME/conda/environments/all_cuda-129_arch-x86_64.yaml
55+
# for CUDA 13.x
56+
conda env update --name cugraph_dev --file $CUGRAPH_HOME/conda/environments/all_cuda-130_arch-x86_64.yaml
6057
conda activate cugraph_dev
61-
62-
63-
6458
```
6559

6660
### Build and Install

docs/cugraph-docs/source/nx_cugraph/installation.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,24 @@ conda install -c rapidsai -c conda-forge -c nvidia nx-cugraph
3232
```
3333

3434
### pip
35+
3536
**Nightly version**
37+
3638
```bash
39+
# CUDA 13
40+
pip install nx-cugraph-cu13 --extra-index-url https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
41+
42+
# CUDA 12
3743
pip install nx-cugraph-cu12 --extra-index-url https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
3844
```
3945

4046
**Stable version**
47+
4148
```bash
49+
# CUDA 13
50+
pip install nx-cugraph-cu13 --extra-index-url https://pypi.nvidia.com
51+
52+
# CUDA 12
4253
pip install nx-cugraph-cu12 --extra-index-url https://pypi.nvidia.com
4354
```
4455

docs/cugraph-docs/source/wholegraph/installation/getting_wholegraph.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,24 @@ Replace the package name in the example below to the one you want to install.
3434
Install and update WholeGraph using the conda command:
3535

3636
```bash
37+
# CUDA 13
38+
conda install -c rapidsai -c conda-forge -c nvidia wholegraph cudatoolkit=13.0
39+
40+
# CUDA 12
3741
conda install -c rapidsai -c conda-forge -c nvidia wholegraph cudatoolkit=12.9
3842
```
3943

4044
<br>
4145

42-
## PIP
43-
wholegraph, and all of RAPIDS, is available via pip.
46+
## pip
4447

45-
```
48+
wholegraph, and all of RAPIDS, is available via `pip`.
49+
50+
```shell
51+
# CUDA 13
52+
pip install wholegraph-cu13 --extra-index-url=https://pypi.nvidia.com
53+
54+
# CUDA 12
4655
pip install wholegraph-cu12 --extra-index-url=https://pypi.nvidia.com
4756
```
4857

docs/cugraph-docs/source/wholegraph/installation/source_build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ __Create the conda development environment__
5050
```bash
5151
# create the conda environment (assuming in base `wholegraph` directory)
5252

53-
# for CUDA 12.x
54-
conda env create --name cugraph_gnn_dev --file conda/environments/all_cuda-129_arch-x86_64.yaml
53+
# for CUDA 13.x
54+
conda env create --name cugraph_gnn_dev --file conda/environments/all_cuda-130_arch-x86_64.yaml
5555

5656
# activate the environment
5757
conda activate cugraph_gnn_dev

0 commit comments

Comments
 (0)