Skip to content

Commit

Permalink
Readd PyTorch and relax upperbound
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Aug 27, 2024
1 parent d54b7d8 commit 3384bc6
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 20 deletions.
1 change: 1 addition & 0 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ dependencies:
- pytest-mpl
- pytest-xdist
- python-louvain
- pytorch>=2.0
- raft-dask==24.10.*,>=0.0.0a0
- rapids-build-backend>=0.3.1,<0.4.0.dev0
- rapids-dask-dependency==24.10.*,>=0.0.0a0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ dependencies:
- pytest-mpl
- pytest-xdist
- python-louvain
- pytorch>=2.0
- raft-dask==24.10.*,>=0.0.0a0
- rapids-build-backend>=0.3.1,<0.4.0.dev0
- rapids-dask-dependency==24.10.*,>=0.0.0a0
Expand Down
36 changes: 34 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ files:
- depends_on_pylibcugraphops
- depends_on_pylibwholegraph
- depends_on_cupy
- depends_on_pytorch
- python_run_cugraph
- python_run_nx_cugraph
- python_run_cugraph_dgl
Expand Down Expand Up @@ -65,6 +66,7 @@ files:
- cuda_version
- depends_on_cudf
- depends_on_pylibwholegraph
- depends_on_pytorch
- py_version
- test_python_common
- test_python_cugraph
Expand Down Expand Up @@ -200,6 +202,7 @@ files:
includes:
- test_python_common
- depends_on_pylibwholegraph
- depends_on_pytorch
py_build_cugraph_pyg:
output: pyproject
pyproject_dir: python/cugraph-pyg
Expand All @@ -226,6 +229,7 @@ files:
includes:
- test_python_common
- depends_on_pylibwholegraph
- depends_on_pytorch
py_build_cugraph_equivariant:
output: pyproject
pyproject_dir: python/cugraph-equivariant
Expand Down Expand Up @@ -658,12 +662,10 @@ dependencies:
- output_types: [conda, pyproject]
packages:
- pandas
- pydantic
- pytest
- pytest-benchmark
- pytest-cov
- pytest-xdist
- torchdata
- scipy
test_python_cugraph:
common:
Expand Down Expand Up @@ -708,6 +710,36 @@ dependencies:
- *tensordict
- pyg>=2.5,<2.6

depends_on_pytorch:
common:
- output_types: [conda]
packages:
- &pytorch_unsuffixed pytorch>=2.0
- torchdata
- pydantic

specific:
- output_types: [requirements]
matrices:
- matrix: {cuda: "12.*"}
packages:
- --extra-index-url=https://download.pytorch.org/whl/cu121
- matrix: {cuda: "11.*"}
packages:
- --extra-index-url=https://download.pytorch.org/whl/cu118
- {matrix: null, packages: null}
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
packages:
- &pytorch_pip torch>=2.0
- *tensordict
- matrix: {cuda: "11.*"}
packages:
- *pytorch_pip
- *tensordict
- {matrix: null, packages: [*pytorch_pip, *tensordict]}

depends_on_pylibwholegraph:
common:
- output_types: conda
Expand Down
2 changes: 0 additions & 2 deletions python/cugraph-dgl/conda/cugraph_dgl_dev_cuda-118.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ dependencies:
- dgl>=1.1.0.cu*
- pandas
- pre-commit
- pydantic
- pylibcugraphops==24.10.*,>=0.0.0a0
- pytest
- pytest-benchmark
Expand All @@ -23,5 +22,4 @@ dependencies:
- pytorch>=2.0
- scipy
- tensordict>=0.1.2
- torchdata
name: cugraph_dgl_dev_cuda-118
4 changes: 2 additions & 2 deletions python/cugraph-dgl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ dependencies = [
[project.optional-dependencies]
test = [
"pandas",
"pydantic",
"pylibwholegraph==24.10.*,>=0.0.0a0",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-xdist",
"scipy",
"torchdata",
"tensordict>=0.1.2",
"torch>=2.0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Expand Down
2 changes: 0 additions & 2 deletions python/cugraph-equivariant/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@ Documentation = "https://docs.rapids.ai/api/cugraph/stable/api_docs/cugraph-ops/
[project.optional-dependencies]
test = [
"pandas",
"pydantic",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-xdist",
"scipy",
"torchdata",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

[tool.setuptools]
Expand Down
2 changes: 0 additions & 2 deletions python/cugraph-pyg/conda/cugraph_pyg_dev_cuda-118.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ dependencies:
- cugraph==24.10.*,>=0.0.0a0
- pandas
- pre-commit
- pydantic
- pyg>=2.5,<2.6
- pylibcugraphops==24.10.*,>=0.0.0a0
- pytest
Expand All @@ -23,5 +22,4 @@ dependencies:
- pytorch>=2.0
- scipy
- tensordict>=0.1.2
- torchdata
name: cugraph_pyg_dev_cuda-118
4 changes: 2 additions & 2 deletions python/cugraph-pyg/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ Documentation = "https://docs.rapids.ai/api/cugraph/stable/"
[project.optional-dependencies]
test = [
"pandas",
"pydantic",
"pylibwholegraph==24.10.*,>=0.0.0a0",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-xdist",
"scipy",
"torchdata",
"tensordict>=0.1.2",
"torch>=2.0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

[tool.setuptools]
Expand Down
2 changes: 0 additions & 2 deletions python/cugraph-service/server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@ test = [
"networkx>=2.5.1",
"numpy>=1.23,<3.0a0",
"pandas",
"pydantic",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-xdist",
"python-louvain",
"scikit-learn>=0.23.1",
"scipy",
"torchdata",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../../dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Expand Down
2 changes: 0 additions & 2 deletions python/cugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ test = [
"networkx>=2.5.1",
"numpy>=1.23,<3.0a0",
"pandas",
"pydantic",
"pylibwholegraph==24.10.*,>=0.0.0a0",
"pytest",
"pytest-benchmark",
Expand All @@ -58,7 +57,6 @@ test = [
"python-louvain",
"scikit-learn>=0.23.1",
"scipy",
"torchdata",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Expand Down
2 changes: 0 additions & 2 deletions python/nx-cugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ dependencies = [
test = [
"packaging>=21",
"pandas",
"pydantic",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-mpl",
"pytest-xdist",
"scipy",
"torchdata",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Expand Down
2 changes: 0 additions & 2 deletions python/pylibcugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ test = [
"cudf==24.10.*,>=0.0.0a0",
"numpy>=1.23,<3.0a0",
"pandas",
"pydantic",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-xdist",
"scipy",
"torchdata",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Expand Down

0 comments on commit 3384bc6

Please sign in to comment.