Skip to content

Commit 6b496cd

Browse files
authored
Merge pull request #4682 from jameslamb/branch-24.12-merge-24.10
Merge branch-24.10 into branch-24.12
2 parents 59f70dd + e70c473 commit 6b496cd

File tree

19 files changed

+47
-53
lines changed

19 files changed

+47
-53
lines changed

ci/test_python.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ if [[ "${RAPIDS_CUDA_VERSION}" == "11.8.0" ]]; then
159159
cugraph \
160160
cugraph-dgl \
161161
'dgl>=1.1.0.cu*,<=2.0.0.cu*' \
162-
'pytorch>=2.0' \
162+
'pytorch>=2.3,<2.4' \
163163
'cuda-version=11.8'
164164

165165
rapids-print-env
@@ -198,10 +198,10 @@ if [[ "${RAPIDS_CUDA_VERSION}" == "11.8.0" ]]; then
198198
# TODO re-enable logic once CUDA 12 is testable
199199
#if [[ "${RAPIDS_CUDA_VERSION}" == "11.8.0" ]]; then
200200
CONDA_CUDA_VERSION="11.8"
201-
PYG_URL="https://data.pyg.org/whl/torch-2.1.0+cu118.html"
201+
PYG_URL="https://data.pyg.org/whl/torch-2.3.0+cu118.html"
202202
#else
203203
# CONDA_CUDA_VERSION="12.1"
204-
# PYG_URL="https://data.pyg.org/whl/torch-2.1.0+cu121.html"
204+
# PYG_URL="https://data.pyg.org/whl/torch-2.3.0+cu121.html"
205205
#fi
206206

207207
# Will automatically install built dependencies of cuGraph-PyG

ci/test_wheel_cugraph-dgl.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,8 @@ fi
3232
PYTORCH_URL="https://download.pytorch.org/whl/cu${PYTORCH_CUDA_VER}"
3333
DGL_URL="https://data.dgl.ai/wheels/cu${PYTORCH_CUDA_VER}/repo.html"
3434

35-
# Starting from 2.2, PyTorch wheels depend on nvidia-nccl-cuxx>=2.19 wheel and
36-
# dynamically link to NCCL. RAPIDS CUDA 11 CI images have an older NCCL version that
37-
# might shadow the newer NCCL required by PyTorch during import (when importing
38-
# `cupy` before `torch`).
39-
if [[ "${NCCL_VERSION}" < "2.19" ]]; then
40-
PYTORCH_VER="2.1.0"
41-
else
42-
PYTORCH_VER="2.3.0"
43-
fi
44-
4535
rapids-logger "Installing PyTorch and DGL"
46-
rapids-retry python -m pip install "torch==${PYTORCH_VER}" --index-url ${PYTORCH_URL}
36+
rapids-retry python -m pip install torch==2.3.0 --index-url ${PYTORCH_URL}
4737
rapids-retry python -m pip install dgl==2.0.0 --find-links ${DGL_URL}
4838

4939
python -m pytest python/cugraph-dgl/tests

ci/test_wheel_cugraph-pyg.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ export CI_RUN=1
2929

3030
if [[ "${CUDA_VERSION}" == "11.8.0" ]]; then
3131
PYTORCH_URL="https://download.pytorch.org/whl/cu118"
32-
PYG_URL="https://data.pyg.org/whl/torch-2.1.0+cu118.html"
32+
PYG_URL="https://data.pyg.org/whl/torch-2.3.0+cu118.html"
3333
else
3434
PYTORCH_URL="https://download.pytorch.org/whl/cu121"
35-
PYG_URL="https://data.pyg.org/whl/torch-2.1.0+cu121.html"
35+
PYG_URL="https://data.pyg.org/whl/torch-2.3.0+cu121.html"
3636
fi
3737
rapids-logger "Installing PyTorch and PyG dependencies"
38-
rapids-retry python -m pip install torch==2.1.0 --index-url ${PYTORCH_URL}
38+
rapids-retry python -m pip install torch==2.3.0 --index-url ${PYTORCH_URL}
3939
rapids-retry python -m pip install "torch-geometric>=2.5,<2.6"
4040
rapids-retry python -m pip install \
4141
ogb \

conda/environments/all_cuda-118_arch-x86_64.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ dependencies:
3333
- libraft==24.12.*,>=0.0.0a0
3434
- librmm==24.12.*,>=0.0.0a0
3535
- nbsphinx
36-
- nccl>=2.18.1.1
36+
- nccl>=2.19
3737
- networkx>=2.5.1
3838
- networkx>=3.0
3939
- ninja
4040
- notebook>=0.5.0
4141
- numba>=0.57
42-
- numpy>=1.23,<2.0a0
42+
- numpy>=1.23,<3.0a0
4343
- numpydoc
4444
- nvcc_linux-64=11.8
4545
- ogb
@@ -57,7 +57,7 @@ dependencies:
5757
- pytest-mpl
5858
- pytest-xdist
5959
- python-louvain
60-
- pytorch>=2.0,<2.2.0a0
60+
- pytorch>=2.3,<2.4.0a0
6161
- raft-dask==24.12.*,>=0.0.0a0
6262
- rapids-build-backend>=0.3.1,<0.4.0.dev0
6363
- rapids-dask-dependency==24.12.*,>=0.0.0a0

conda/environments/all_cuda-125_arch-x86_64.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ dependencies:
3939
- libraft==24.12.*,>=0.0.0a0
4040
- librmm==24.12.*,>=0.0.0a0
4141
- nbsphinx
42-
- nccl>=2.18.1.1
42+
- nccl>=2.19
4343
- networkx>=2.5.1
4444
- networkx>=3.0
4545
- ninja
4646
- notebook>=0.5.0
4747
- numba>=0.57
48-
- numpy>=1.23,<2.0a0
48+
- numpy>=1.23,<3.0a0
4949
- numpydoc
5050
- ogb
5151
- openmpi
@@ -62,7 +62,7 @@ dependencies:
6262
- pytest-mpl
6363
- pytest-xdist
6464
- python-louvain
65-
- pytorch>=2.0,<2.2.0a0
65+
- pytorch>=2.3,<2.4.0a0
6666
- raft-dask==24.12.*,>=0.0.0a0
6767
- rapids-build-backend>=0.3.1,<0.4.0.dev0
6868
- rapids-dask-dependency==24.12.*,>=0.0.0a0

conda/recipes/cugraph-dgl/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ requirements:
2727
- cugraph ={{ version }}
2828
- dgl >=1.1.0.cu*
2929
- numba >=0.57
30-
- numpy >=1.23,<2.0a0
30+
- numpy >=1.23,<3.0a0
3131
- pylibcugraphops ={{ minor_version }}
3232
- tensordict >=0.1.2
3333
- python
34-
- pytorch >=2.0
34+
- pytorch >=2.3,<2.4.0a0
3535
- cupy >=12.0.0
3636

3737
tests:

conda/recipes/cugraph-pyg/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ requirements:
2929
run:
3030
- rapids-dask-dependency ={{ minor_version }}
3131
- numba >=0.57
32-
- numpy >=1.23,<2.0a0
32+
- numpy >=1.23,<3.0a0
3333
- python
34-
- pytorch >=2.0
34+
- pytorch >=2.3,<2.4.0a0
3535
- cupy >=12.0.0
3636
- cugraph ={{ version }}
3737
- pylibcugraphops ={{ minor_version }}

conda/recipes/cugraph-service/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ outputs:
6363
- dask-cuda ={{ minor_version }}
6464
- dask-cudf ={{ minor_version }}
6565
- numba >=0.57
66-
- numpy >=1.23,<2.0a0
66+
- numpy >=1.23,<3.0a0
6767
- python
6868
- rapids-dask-dependency ={{ minor_version }}
6969
- thriftpy2 >=0.4.15,!=0.5.0,!=0.5.1

conda/recipes/libcugraph/conda_build_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ doxygen_version:
1717
- ">=1.8.11"
1818

1919
nccl_version:
20-
- ">=2.18.1.1"
20+
- ">=2.19"
2121

2222
c_stdlib:
2323
- sysroot

dependencies.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -524,13 +524,13 @@ dependencies:
524524
- &dask rapids-dask-dependency==24.12.*,>=0.0.0a0
525525
- &dask_cuda dask-cuda==24.12.*,>=0.0.0a0
526526
- &numba numba>=0.57
527-
- &numpy numpy>=1.23,<2.0a0
527+
- &numpy numpy>=1.23,<3.0a0
528528
- output_types: conda
529529
packages:
530530
- aiohttp
531531
- fsspec>=0.6.0
532532
- requests
533-
- nccl>=2.18.1.1
533+
- nccl>=2.19
534534
- ucx-proc=*=gpu
535535
- &ucx_py_unsuffixed ucx-py==0.41.*,>=0.0.0a0
536536
- output_types: pyproject
@@ -695,7 +695,9 @@ dependencies:
695695
- output_types: [conda]
696696
packages:
697697
- *cugraph_unsuffixed
698-
- pytorch>=2.0
698+
# ceiling could be removed when this is fixed:
699+
# https://github.com/conda-forge/pytorch-cpu-feedstock/issues/254
700+
- &pytorch_conda pytorch>=2.3,<2.4.0a0
699701
- pytorch-cuda==11.8
700702
- &tensordict tensordict>=0.1.2
701703
- dgl>=1.1.0.cu*
@@ -704,7 +706,7 @@ dependencies:
704706
- output_types: [conda]
705707
packages:
706708
- *cugraph_unsuffixed
707-
- pytorch>=2.0
709+
- *pytorch_conda
708710
- pytorch-cuda==11.8
709711
- *tensordict
710712
- pyg>=2.5,<2.6
@@ -713,7 +715,7 @@ dependencies:
713715
common:
714716
- output_types: [conda]
715717
packages:
716-
- &pytorch_unsuffixed pytorch>=2.0,<2.2.0a0
718+
- *pytorch_conda
717719
- torchdata
718720
- pydantic
719721
- ogb
@@ -733,7 +735,7 @@ dependencies:
733735
matrices:
734736
- matrix: {cuda: "12.*"}
735737
packages:
736-
- &pytorch_pip torch>=2.0,<2.2.0a0
738+
- &pytorch_pip torch>=2.3,<2.4.0a0
737739
- *tensordict
738740
- matrix: {cuda: "11.*"}
739741
packages:

python/cugraph-dgl/conda/cugraph_dgl_dev_cuda-118.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919
- pytest-cov
2020
- pytest-xdist
2121
- pytorch-cuda==11.8
22-
- pytorch>=2.0
22+
- pytorch>=2.3,<2.4.0a0
2323
- scipy
2424
- tensordict>=0.1.2
2525
name: cugraph_dgl_dev_cuda-118

python/cugraph-dgl/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
dependencies = [
2727
"cugraph==24.12.*,>=0.0.0a0",
2828
"numba>=0.57",
29-
"numpy>=1.23,<2.0a0",
29+
"numpy>=1.23,<3.0a0",
3030
"pylibcugraphops==24.12.*,>=0.0.0a0",
3131
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
3232

@@ -40,7 +40,7 @@ test = [
4040
"pytest-xdist",
4141
"scipy",
4242
"tensordict>=0.1.2",
43-
"torch>=2.0,<2.2.0a0",
43+
"torch>=2.3,<2.4.0a0",
4444
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
4545

4646
[project.urls]

python/cugraph-pyg/conda/cugraph_pyg_dev_cuda-118.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919
- pytest-cov
2020
- pytest-xdist
2121
- pytorch-cuda==11.8
22-
- pytorch>=2.0
22+
- pytorch>=2.3,<2.4.0a0
2323
- scipy
2424
- tensordict>=0.1.2
2525
name: cugraph_pyg_dev_cuda-118

python/cugraph-pyg/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ classifiers = [
3131
dependencies = [
3232
"cugraph==24.12.*,>=0.0.0a0",
3333
"numba>=0.57",
34-
"numpy>=1.23,<2.0a0",
34+
"numpy>=1.23,<3.0a0",
3535
"pylibcugraphops==24.12.*,>=0.0.0a0",
3636
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
3737

@@ -49,7 +49,7 @@ test = [
4949
"pytest-xdist",
5050
"scipy",
5151
"tensordict>=0.1.2",
52-
"torch>=2.0,<2.2.0a0",
52+
"torch>=2.3,<2.4.0a0",
5353
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
5454

5555
[tool.setuptools]

python/cugraph-service/server/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"dask-cuda==24.12.*,>=0.0.0a0",
2828
"dask-cudf==24.12.*,>=0.0.0a0",
2929
"numba>=0.57",
30-
"numpy>=1.23,<2.0a0",
30+
"numpy>=1.23,<3.0a0",
3131
"rapids-dask-dependency==24.12.*,>=0.0.0a0",
3232
"rmm==24.12.*,>=0.0.0a0",
3333
"thriftpy2!=0.5.0,!=0.5.1",
@@ -47,7 +47,7 @@ cugraph-service-server = "cugraph_service_server.__main__:main"
4747
[project.optional-dependencies]
4848
test = [
4949
"networkx>=2.5.1",
50-
"numpy>=1.23,<2.0a0",
50+
"numpy>=1.23,<3.0a0",
5151
"pandas",
5252
"pytest",
5353
"pytest-benchmark",

python/cugraph/cugraph/tests/data_store/test_property_graph.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2576,9 +2576,10 @@ def bench_extract_subgraph_for_rmat(gpubenchmark, rmat_PropertyGraph):
25762576
scn = PropertyGraph.src_col_name
25772577
dcn = PropertyGraph.dst_col_name
25782578

2579-
verts = []
2580-
for i in range(0, 10000, 10):
2581-
verts.append(generated_df["src"].iloc[i])
2579+
# Build a query string to extract a graph with only specific edges based on
2580+
# the integer vertex IDs. Other edge and/or vertex properties can be
2581+
# included in the query as well.
2582+
verts = [int(generated_df["src"].iloc[i]) for i in range(0, 10000, 10)]
25822583

25832584
selected_edges = pG.select_edges(f"{scn}.isin({verts}) | {dcn}.isin({verts})")
25842585
gpubenchmark(
@@ -2618,9 +2619,10 @@ def bench_extract_subgraph_for_rmat_detect_duplicate_edges(
26182619
scn = PropertyGraph.src_col_name
26192620
dcn = PropertyGraph.dst_col_name
26202621

2621-
verts = []
2622-
for i in range(0, 10000, 10):
2623-
verts.append(generated_df["src"].iloc[i])
2622+
# Build a query string to extract a graph with only specific edges based on
2623+
# the integer vertex IDs. Other edge and/or vertex properties can be
2624+
# included in the query as well.
2625+
verts = [int(generated_df["src"].iloc[i]) for i in range(0, 10000, 10)]
26242626

26252627
selected_edges = pG.select_edges(f"{scn}.isin({verts}) | {dcn}.isin({verts})")
26262628

python/cugraph/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"dask-cudf==24.12.*,>=0.0.0a0",
3030
"fsspec[http]>=0.6.0",
3131
"numba>=0.57",
32-
"numpy>=1.23,<2.0a0",
32+
"numpy>=1.23,<3.0a0",
3333
"pylibcugraph==24.12.*,>=0.0.0a0",
3434
"raft-dask==24.12.*,>=0.0.0a0",
3535
"rapids-dask-dependency==24.12.*,>=0.0.0a0",
@@ -47,7 +47,7 @@ classifiers = [
4747
[project.optional-dependencies]
4848
test = [
4949
"networkx>=2.5.1",
50-
"numpy>=1.23,<2.0a0",
50+
"numpy>=1.23,<3.0a0",
5151
"pandas",
5252
"pylibwholegraph==24.12.*,>=0.0.0a0",
5353
"pytest",

python/nx-cugraph/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ classifiers = [
3434
dependencies = [
3535
"cupy-cuda11x>=12.0.0",
3636
"networkx>=3.0",
37-
"numpy>=1.23,<2.0a0",
37+
"numpy>=1.23,<3.0a0",
3838
"pylibcugraph==24.12.*,>=0.0.0a0",
3939
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
4040

python/pylibcugraph/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ classifiers = [
4141
[project.optional-dependencies]
4242
test = [
4343
"cudf==24.12.*,>=0.0.0a0",
44-
"numpy>=1.23,<2.0a0",
44+
"numpy>=1.23,<3.0a0",
4545
"pandas",
4646
"pytest",
4747
"pytest-benchmark",

0 commit comments

Comments
 (0)