Skip to content

Commit

Permalink
Refactor CUDA versions in dependencies.yaml. (#1422)
Browse files Browse the repository at this point in the history
This is a follow-up PR to #1414. I thought some more about how to separate `cuda-version` pinnings (which control the CUDA version we use to build and test in conda) from actual CUDA Toolkit package dependencies (which we can handle according to only the major version 11/12). I discussed this PR on a call with @jameslamb in the context of upgrading to CUDA 12.2 (rapidsai/build-planning#6). This set of changes is mostly important for conda builds/tests, since `cuda-version` only controls conda. The pip wheel build/test process is unchanged, since its CUDA versions are controlled by the `shared-workflows` CI images.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - https://github.com/jakirkham
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Ray Douglass (https://github.com/raydouglass)

URL: #1422
  • Loading branch information
bdice authored Jan 11, 2024
1 parent 9265976 commit 5c30e87
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ files:
includes:
- build
- checks
- cudatoolkit
- cuda
- cuda_version
- develop
- docs
- py_version
Expand All @@ -17,13 +18,13 @@ files:
test_python:
output: none
includes:
- cudatoolkit
- cuda_version
- py_version
- test_python
test_cpp:
output: none
includes:
- cudatoolkit
- cuda_version
- test_cpp
checks:
output: none
Expand All @@ -33,7 +34,7 @@ files:
docs:
output: none
includes:
- cudatoolkit
- cuda_version
- docs
- py_version
py_build:
Expand Down Expand Up @@ -102,9 +103,8 @@ dependencies:
packages:
- nvcc_linux-aarch64=11.8
- matrix:
cuda: "12.0"
cuda: "12.*"
packages:
- cuda-version=12.0
- cuda-nvcc
- output_types: [conda, requirements, pyproject]
matrices:
Expand All @@ -126,39 +126,45 @@ dependencies:
- output_types: conda
packages:
- &doxygen doxygen=1.9.1
cudatoolkit:
cuda_version:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.2"
packages:
- cuda-version=11.2
- cudatoolkit
- matrix:
cuda: "11.4"
packages:
- cuda-version=11.4
- cudatoolkit
- matrix:
cuda: "11.5"
packages:
- cuda-version=11.5
- cudatoolkit
- matrix:
cuda: "11.6"
packages:
- cuda-version=11.6
- cudatoolkit
- matrix:
cuda: "11.8"
packages:
- cuda-version=11.8
- cudatoolkit
- matrix:
cuda: "12.0"
packages:
- cuda-version=12.0
cuda:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.*"
packages:
- cudatoolkit
- matrix:
cuda: "12.*"
packages:
develop:
common:
- output_types: [conda, requirements]
Expand Down

0 comments on commit 5c30e87

Please sign in to comment.