From 27c29ebd81864d1662dd8a3e8e807955bd8fd9c5 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 17 Sep 2024 09:17:43 -0500 Subject: [PATCH] Use cupy 12.2.0 as oldest dependency pinning on CUDA 12 ARM (#16808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uses cupy 12.2.0 as oldest dependency pinning on ARM to ensure CUDA 12 support. This will fix nightly CI failures that look like: ``` LibMambaUnsatisfiableError: Encountered problems while solving: - package cupy-12.0.0-py311h308989c_2 requires python_abi 3.11.* *_cp311, but none of the providers can be installed Could not solve for environment specs The following packages are incompatible ├─ cuda-version 12.2** is installable and it requires │ └─ cudatoolkit 12.2|12.2.* , which can be installed; ├─ cupy 12.0.0 is installable with the potential options │ ├─ cupy 12.0.0 would require │ │ └─ cudatoolkit >=11.2,<12 , which conflicts with any installable versions previously reported; ... ``` Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) URL: https://github.com/rapidsai/cudf/pull/16808 --- dependencies.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dependencies.yaml b/dependencies.yaml index 483335c02ff..7a13043cc5f 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -710,7 +710,16 @@ dependencies: - numpy==1.23.* - pandas==2.0.* - pyarrow==14.0.0 - - cupy==12.0.0 # ignored as pip constraint + - matrix: + packages: + - output_types: conda + matrices: + - matrix: {dependencies: "oldest", arch: "aarch64", cuda: "12.*"} + packages: + - cupy==12.2.0 # cupy 12.2.0 is the earliest with CUDA 12 ARM packages. + - matrix: {dependencies: "oldest"} + packages: + - cupy==12.0.0 - matrix: packages: - output_types: requirements