Skip to content

Commit

Permalink
Use cupy 12.2.0 as oldest dependency pinning on CUDA 12 ARM (#16808)
Browse files Browse the repository at this point in the history
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: #16808
  • Loading branch information
bdice authored Sep 17, 2024
1 parent 7285efb commit 27c29eb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27c29eb

Please sign in to comment.