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 2ea2e87 commit f0a0c28
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build:
# and therefore tested in this no-CUDA environment
- |
pip install \
-C rapidsai.matrix-entry="cuda=12.2" \
-C rapidsai.matrix-entry="cuda=12.2;cuda_suffixed=true" \
.
conda:
Expand Down
62 changes: 55 additions & 7 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,26 @@ dependencies:
# post release like 1.15.0.post1
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- libucx-cu12>=1.15.0,<1.15.1
- matrix: {cuda: "11.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- &libucx_build libucx>=1.15.0,<1.15.1
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- libucx-cu11>=1.15.0,<1.15.1
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *libucx_build
# this fallback is intentionally empty... it simplifies building from source
# without CUDA, e.g. 'pip install .'
- matrix: null
Expand All @@ -173,12 +187,26 @@ dependencies:
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- libucx-cu12>=1.15.0,<1.16
- matrix: {cuda: "11.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- &libucx_run libucx>=1.15.0,<1.16
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- libucx-cu11>=1.15.0,<1.16
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *libucx_run
# this fallback is intentionally empty... it simplifies building from source
# without CUDA, e.g. 'pip install .'
- matrix: null
Expand All @@ -201,14 +229,34 @@ dependencies:
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
- matrix:
cuda: "12.*"
cuda_suffixed: "true"
packages:
- cudf-cu12==24.8.*,>=0.0.0a0
- cupy-cuda12x>=12.0.0
- matrix: {cuda: "11.*"}
- &cupy_cu12 cupy-cuda12x>=12.0.0
- matrix:
cuda: "12.*"
cuda_suffixed: "false"
packages:
- *cudf_conda
# NOTE: cupy still has a "-cuda12x" suffix here, because it's suffixed
# in DLFW builds
- *cupy_cu12
- matrix:
cuda: "11.*"
cuda_suffixed: "true"
packages:
- cudf-cu11==24.8.*,>=0.0.0a0
- &cupy_cu11 cupy-cuda11x>=12.0.0
- matrix:
cuda: "11.*"
cuda_suffixed: "false"
packages:
- *cudf_conda
# NOTE: cupy still has a "-cuda11x" suffix here, because it's suffixed
# in DLFW builds
- *cupy_cu11
- matrix:
packages:
- *cudf_conda
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ commit-files = [
# (this is overridden in wheel publishing)
disable-cuda=true
dependencies-file = "dependencies.yaml"
matrix-entry = "cuda_suffixed=true"
requires = [
"cython>=3.0.0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.
Expand Down

0 comments on commit f0a0c28

Please sign in to comment.