Skip to content

Commit

Permalink
split up CUDA-suffixed dependencies in dependencies.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Jul 24, 2024
1 parent 706eb39 commit 03ccca8
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 12 deletions.
96 changes: 84 additions & 12 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,26 @@ dependencies:
- &cuda_python cuda-python
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- &rmm_cu12 rmm-cu12==24.8.*,>=0.0.0a0
- matrix: {cuda: "11.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- *rmm_conda
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- &rmm_cu11 rmm-cu11==24.8.*,>=0.0.0a0
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *rmm_conda
- {matrix: null, packages: [*rmm_conda] }
checks:
common:
Expand Down Expand Up @@ -493,14 +507,30 @@ dependencies:
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- &pylibraft_cu12 pylibraft-cu12==24.8.*,>=0.0.0a0
- &ucx_py_cu12 ucx-py-cu12==0.39.*,>=0.0.0a0
- matrix: {cuda: "11.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- *pylibraft_conda
- *ucx_py_conda
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- &pylibraft_cu11 pylibraft-cu11==24.8.*,>=0.0.0a0
- &ucx_py_cu11 ucx-py-cu11==0.39.*,>=0.0.0a0
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *pylibraft_conda
- *ucx_py_conda
- {matrix: null, packages: [*pylibraft_conda, *ucx_py_conda]}
test_python_common:
common:
Expand Down Expand Up @@ -529,12 +559,26 @@ dependencies:
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- distributed-ucxx-cu12==0.39.*,>=0.0.0a0
- matrix: {cuda: "11.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- *distributed_ucxx_conda
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- distributed-ucxx-cu11==0.39.*,>=0.0.0a0
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *distributed_ucxx_conda
- {matrix: null, packages: [*distributed_ucxx_conda]}
depends_on_ucx_build:
common:
Expand All @@ -549,15 +593,29 @@ dependencies:
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- libucx-cu12==1.15.0
- matrix: {cuda: "11.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- &libucx_build libucx==1.15.0
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- libucx-cu11==1.15.0
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *libucx_build
- matrix: null
packages:
- libucx==1.15.0
- *libucx_build
depends_on_ucx_run:
common:
- output_types: conda
Expand All @@ -571,12 +629,26 @@ dependencies:
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- libucx-cu12>=1.15.0
- matrix: {cuda: "11.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- &libucx_run libucx>=1.15.0
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- libucx-cu11>=1.15.0
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *libucx_run
- matrix: null
packages:
- libucx>=1.15.0
- *libucx_run
1 change: 1 addition & 0 deletions python/pylibraft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ requires = [
"rmm==24.8.*,>=0.0.0a0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
dependencies-file = "../../dependencies.yaml"
matrix-entry = "cuda_suffixed=true"

[tool.pytest.ini_options]
filterwarnings = [
Expand Down
1 change: 1 addition & 0 deletions python/raft-ann-bench/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ build-backend = "setuptools.build_meta"
requires = []
dependencies-file = "../../dependencies.yaml"
commit-files = ["src/raft_ann_bench/GIT_COMMIT"]
matrix-entry = "cuda_suffixed=true"
1 change: 1 addition & 0 deletions python/raft-dask/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ requires = [
"ninja",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
dependencies-file = "../../dependencies.yaml"
matrix-entry = "cuda_suffixed=true"

0 comments on commit 03ccca8

Please sign in to comment.