Skip to content

Commit

Permalink
refactor CUDA versions in dependencies.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Jan 10, 2024
1 parent eb7555b commit 159f295
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
args: ["--config=.flake8"]
files: python/.*$
- repo: https://github.com/rapidsai/dependency-file-generator
rev: v1.7.1
rev: v1.8.0
hooks:
- id: rapids-dependency-file-generator
args: ["--clean"]
Expand Down
36 changes: 20 additions & 16 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ files:
arch: [x86_64]
includes:
- build_wheels
- cudatoolkit
- cuda
- cuda_version
- checks
- docs
- notebook
Expand All @@ -17,13 +18,13 @@ files:
test_python:
output: none
includes:
- cudatoolkit
- cuda_version
- py_version
- test_python
test_notebooks:
output: none
includes:
- cudatoolkit
- cuda_version
- notebook
- py_version
checks:
Expand All @@ -34,7 +35,7 @@ files:
docs:
output: none
includes:
- cudatoolkit
- cuda_version
- docs
- py_version
py_build:
Expand Down Expand Up @@ -71,34 +72,37 @@ dependencies:
packages:
- wheel
- setuptools
cudatoolkit:
cuda_version:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "12.0"
cuda: "11.2"
packages:
- cuda-version=12.0
- cuda-version=11.2
- matrix:
cuda: "11.4"
packages:
- cuda-version=11.4
- matrix:
cuda: "11.8"
packages:
- cuda-version=11.8
- cudatoolkit
- matrix:
cuda: "11.5"
cuda: "12.0"
packages:
- cuda-version=11.5
- cudatoolkit
- cuda-version=12.0
cuda:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.4"
cuda: "11.*"
packages:
- cuda-version=11.4
- cudatoolkit
- matrix:
cuda: "11.2"
cuda: "12.*"
packages:
- cuda-version=11.2
- cudatoolkit
checks:
common:
- output_types: [conda, requirements]
Expand Down

0 comments on commit 159f295

Please sign in to comment.