Skip to content

Commit

Permalink
depend on librmm for wheel builds, clean up dependencies.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Dec 5, 2024
1 parent 22a32c1 commit 303fe40
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 29 deletions.
1 change: 0 additions & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,5 @@ dependencies:
- torchmetrics
- ucx-proc=*=gpu
- ucx-py==0.42.*,>=0.0.0a0
- wget
- wheel
name: all_cuda-118_arch-x86_64
1 change: 0 additions & 1 deletion conda/environments/all_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,5 @@ dependencies:
- torchmetrics
- ucx-proc=*=gpu
- ucx-py==0.42.*,>=0.0.0a0
- wget
- wheel
name: all_cuda-125_arch-x86_64
78 changes: 51 additions & 27 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ files:
- cpp_build
- cuda
- cuda_version
- docs
- python_build_rapids
- python_build_wheel
- python_build_cythonize
- depends_on_rmm
- depends_on_cudf
- depends_on_cupy
- depends_on_dask_cudf
- depends_on_librmm
- depends_on_pylibraft
- depends_on_raft_dask
- depends_on_pylibwholegraph
- depends_on_cupy
- depends_on_pytorch
- depends_on_raft_dask
- depends_on_rmm
- docs
- python_build_cythonize
- python_build_rapids
- python_build_wheel
- python_run_cugraph
- test_notebook
- test_python_common
Expand Down Expand Up @@ -69,8 +70,8 @@ files:
extras:
table: build-system
includes:
- python_build_rapids
- python_build_cythonize
- python_build_rapids
py_rapids_build_cugraph:
output: pyproject
pyproject_dir: python/cugraph
Expand All @@ -79,21 +80,22 @@ files:
key: requires
includes:
- common_build
- depends_on_rmm
- depends_on_pylibraft
- depends_on_librmm
- depends_on_pylibcugraph
- depends_on_pylibraft
- depends_on_rmm
py_run_cugraph:
output: pyproject
pyproject_dir: python/cugraph
extras:
table: project
includes:
- depends_on_rmm
- depends_on_cudf
- depends_on_cupy
- depends_on_dask_cudf
- depends_on_raft_dask
- depends_on_pylibcugraph
- depends_on_cupy
- depends_on_raft_dask
- depends_on_rmm
- python_run_cugraph
py_test_cugraph:
output: pyproject
Expand All @@ -102,17 +104,17 @@ files:
table: project.optional-dependencies
key: test
includes:
- depends_on_pylibwholegraph
- test_python_common
- test_python_cugraph
- depends_on_pylibwholegraph
py_build_pylibcugraph:
output: pyproject
pyproject_dir: python/pylibcugraph
extras:
table: build-system
includes:
- python_build_rapids
- python_build_cythonize
- python_build_rapids
py_rapids_build_pylibcugraph:
output: pyproject
pyproject_dir: python/pylibcugraph
Expand All @@ -121,17 +123,18 @@ files:
key: requires
includes:
- common_build
- depends_on_rmm
- depends_on_librmm
- depends_on_pylibraft
- depends_on_rmm
py_run_pylibcugraph:
output: pyproject
pyproject_dir: python/pylibcugraph
extras:
table: project
includes:
- cuda_wheels
- depends_on_rmm
- depends_on_pylibraft
- depends_on_rmm
py_test_pylibcugraph:
output: pyproject
pyproject_dir: python/pylibcugraph
Expand Down Expand Up @@ -171,10 +174,10 @@ files:
extras:
table: project
includes:
- depends_on_rmm
- depends_on_cudf
- depends_on_dask_cudf
- depends_on_cupy
- depends_on_dask_cudf
- depends_on_rmm
- python_run_cugraph_service_server
py_test_cugraph_service_server:
output: pyproject
Expand Down Expand Up @@ -293,7 +296,6 @@ dependencies:
- libcudf==25.2.*,>=0.0.0a0
- libraft-headers==25.2.*,>=0.0.0a0
- libraft==25.2.*,>=0.0.0a0
- librmm==25.2.*,>=0.0.0a0
- openmpi # Required for building cpp-mgtests (multi-GPU tests)
specific:
- output_types: [conda]
Expand Down Expand Up @@ -440,19 +442,19 @@ dependencies:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- &cugraph_cu11 cugraph-cu11==25.2.*,>=0.0.0a0
- cugraph-cu11==25.2.*,>=0.0.0a0
- cugraph-service-client-cu11==25.2.*,>=0.0.0a0
- *ucx_py_cu11
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- &cugraph_cu12 cugraph-cu12==25.2.*,>=0.0.0a0
- cugraph-cu12==25.2.*,>=0.0.0a0
- cugraph-service-client-cu12==25.2.*,>=0.0.0a0
- *ucx_py_cu12
- matrix:
packages:
- &cugraph_unsuffixed cugraph==25.2.*,>=0.0.0a0
- cugraph==25.2.*,>=0.0.0a0
- cugraph-service-client==25.2.*,>=0.0.0a0
- *ucx_py_unsuffixed
test_cpp:
Expand All @@ -466,9 +468,6 @@ dependencies:
packages:
- ipython
- notebook>=0.5.0
- output_types: [conda]
packages:
- wget
test_python_common:
common:
- output_types: [conda, pyproject]
Expand Down Expand Up @@ -501,7 +500,7 @@ dependencies:
common:
- output_types: [conda]
packages:
- &pytorch_conda pytorch>=2.3
- pytorch>=2.3
- torchdata
- pydantic
- ogb
Expand Down Expand Up @@ -554,6 +553,31 @@ dependencies:
- pylibwholegraph-cu11==25.2.*,>=0.0.0a0
- {matrix: null, packages: [*pylibwholegraph_unsuffixed]}

depends_on_librmm:
common:
- output_types: conda
packages:
- &librmm_unsuffixed librmm==25.2.*,>=0.0.0a0
- output_types: requirements
packages:
# pip recognizes the index as a global option for the requirements.txt file
- --extra-index-url=https://pypi.nvidia.com
- --extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- librmm-cu12==25.2.*,>=0.0.0a0
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- librmm-cu11==25.2.*,>=0.0.0a0
- {matrix: null, packages: [*librmm_unsuffixed]}

depends_on_rmm:
common:
- output_types: conda
Expand Down
1 change: 1 addition & 0 deletions python/cugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ regex = "(?P<value>.*)"
build-backend = "scikit_build_core.build"
requires = [
"cmake>=3.26.4,!=3.30.0",
"librmm==25.2.*,>=0.0.0a0",
"ninja",
"pylibcugraph==25.2.*,>=0.0.0a0",
"pylibraft==25.2.*,>=0.0.0a0",
Expand Down
1 change: 1 addition & 0 deletions python/pylibcugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ build-backend = "scikit_build_core.build"
dependencies-file = "../../dependencies.yaml"
requires = [
"cmake>=3.26.4,!=3.30.0",
"librmm==25.2.*,>=0.0.0a0",
"ninja",
"pylibraft==25.2.*,>=0.0.0a0",
"rmm==25.2.*,>=0.0.0a0",
Expand Down

0 comments on commit 303fe40

Please sign in to comment.