From a69f0375aae75fd144c4ee3e6afd95d7c3eb45a8 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Wed, 10 Jan 2024 15:07:24 -0600 Subject: [PATCH] refactor CUDA versions in dependencies.yaml --- .pre-commit-config.yaml | 2 +- dependencies.yaml | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 97667f287..6955dcbee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: args: ["--config=.flake8.cython"] types: [cython] - repo: https://github.com/rapidsai/dependency-file-generator - rev: v1.5.2 + rev: v1.8.0 hooks: - id: rapids-dependency-file-generator args: ["--clean"] diff --git a/dependencies.yaml b/dependencies.yaml index 2a61268ca..f122836f1 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -4,14 +4,15 @@ files: output: none includes: - checks - - cudatoolkit + - cuda + - cuda_version - py_version - run - test_python test_python: output: none includes: - - cudatoolkit + - cuda_version - py_version - test_python checks: @@ -51,34 +52,33 @@ dependencies: - output_types: [conda, requirements] packages: - pre-commit - 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.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: - cuda-cudart py_version: specific: