Skip to content

Commit 290d5d4

Browse files
authored
Relax PyTorch upper bound (allowing 2.4) (#4703)
As the issue around PyTorch being built without NumPy was fixed in conda-forge, we can now relax these upper bounds to allow PyTorch 2.4. xref: conda-forge/pytorch-cpu-feedstock#254 xref: conda-forge/pytorch-cpu-feedstock#266 xref: #4615 Authors: - https://github.com/jakirkham - Alex Barghi (https://github.com/alexbarghi-nv) Approvers: - Alex Barghi (https://github.com/alexbarghi-nv) - James Lamb (https://github.com/jameslamb) URL: #4703
1 parent 6ad8cf8 commit 290d5d4

File tree

10 files changed

+11
-13
lines changed

10 files changed

+11
-13
lines changed

ci/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ rapids-mamba-retry install \
4848
"libcugraph_etl=${RAPIDS_VERSION_MAJOR_MINOR}.*" \
4949
"pylibcugraphops=${RAPIDS_VERSION_MAJOR_MINOR}.*" \
5050
"pylibwholegraph=${RAPIDS_VERSION_MAJOR_MINOR}.*" \
51-
"pytorch>=2.3,<2.4" \
51+
'pytorch>=2.3' \
5252
"cuda-version=${CONDA_CUDA_VERSION}"
5353

5454
export RAPIDS_DOCS_DIR="$(mktemp -d)"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dependencies:
5454
- pytest-cov
5555
- pytest-xdist
5656
- python-louvain
57-
- pytorch>=2.3,<2.4.0a0
57+
- pytorch>=2.3
5858
- raft-dask==24.12.*,>=0.0.0a0
5959
- rapids-build-backend>=0.3.1,<0.4.0.dev0
6060
- rapids-dask-dependency==24.12.*,>=0.0.0a0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies:
5959
- pytest-cov
6060
- pytest-xdist
6161
- python-louvain
62-
- pytorch>=2.3,<2.4.0a0
62+
- pytorch>=2.3
6363
- raft-dask==24.12.*,>=0.0.0a0
6464
- rapids-build-backend>=0.3.1,<0.4.0.dev0
6565
- rapids-dask-dependency==24.12.*,>=0.0.0a0

conda/recipes/cugraph-dgl/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ requirements:
3131
- pylibcugraphops ={{ minor_version }}
3232
- tensordict >=0.1.2
3333
- python
34-
- pytorch >=2.3,<2.4.0a0
34+
- pytorch >=2.3
3535
- cupy >=12.0.0
3636

3737
tests:

conda/recipes/cugraph-pyg/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ requirements:
3131
- numba >=0.57
3232
- numpy >=1.23,<3.0a0
3333
- python
34-
- pytorch >=2.3,<2.4.0a0
34+
- pytorch >=2.3
3535
- cupy >=12.0.0
3636
- cugraph ={{ version }}
3737
- pylibcugraphops ={{ minor_version }}

dependencies.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,7 @@ dependencies:
630630
- output_types: [conda]
631631
packages:
632632
- *cugraph_unsuffixed
633-
# ceiling could be removed when this is fixed:
634-
# https://github.com/conda-forge/pytorch-cpu-feedstock/issues/254
635-
- &pytorch_conda pytorch>=2.3,<2.4.0a0
633+
- &pytorch_conda pytorch>=2.3
636634
- pytorch-cuda==11.8
637635
- &tensordict tensordict>=0.1.2
638636
- dgl>=2.4.0.cu*
@@ -670,7 +668,7 @@ dependencies:
670668
matrices:
671669
- matrix: {cuda: "12.*"}
672670
packages:
673-
- &pytorch_pip torch>=2.3,<2.4.0a0
671+
- &pytorch_pip torch>=2.3
674672
- *tensordict
675673
- matrix: {cuda: "11.*"}
676674
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
@@ -18,7 +18,7 @@ dependencies:
1818
- pytest-cov
1919
- pytest-xdist
2020
- pytorch-cuda==11.8
21-
- pytorch>=2.3,<2.4.0a0
21+
- pytorch>=2.3
2222
- scipy
2323
- tensordict>=0.1.2
2424
name: cugraph_dgl_dev_cuda-118

python/cugraph-dgl/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test = [
4040
"pytest-xdist",
4141
"scipy",
4242
"tensordict>=0.1.2",
43-
"torch>=2.3,<2.4.0a0",
43+
"torch>=2.3",
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
@@ -17,7 +17,7 @@ dependencies:
1717
- pytest-cov
1818
- pytest-xdist
1919
- pytorch-cuda==11.8
20-
- pytorch>=2.3,<2.4.0a0
20+
- pytorch>=2.3
2121
- pytorch_geometric>=2.5,<2.6
2222
- scipy
2323
- tensordict>=0.1.2

python/cugraph-pyg/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test = [
4949
"pytest-xdist",
5050
"scipy",
5151
"tensordict>=0.1.2",
52-
"torch>=2.3,<2.4.0a0",
52+
"torch>=2.3",
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]

0 commit comments

Comments
 (0)