Skip to content

Commit

Permalink
Pin curand version (#13127)
Browse files Browse the repository at this point in the history
Merging the conda-forge curand recipe and building conda-forge packages has caused conda to choose a newer version of curand than what cudf currently supports (we cannot use the version from CUDA 12).

Closes #13126 

Authors:
   - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
   - Ray Douglass (https://github.com/raydouglass)
   - Robert Maynard (https://github.com/robertmaynard)
   - Bradley Dice (https://github.com/bdice)
  • Loading branch information
vyasr authored Apr 12, 2023
1 parent 2c3b2ab commit ed9385b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 9 deletions.
2 changes: 2 additions & 0 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ dependencies:
- hypothesis
- ipython
- libarrow==10.0.1.*
- libcurand-dev=10.3.0.86
- libcurand=10.3.0.86
- librdkafka=1.7.0
- librmm==23.4.*
- mimesis>=4.1.0
Expand Down
6 changes: 6 additions & 0 deletions conda/recipes/libcudf/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ dlpack_version:
librdkafka_version:
- ">=1.7.0,<1.8.0a0"

libcurand_host_version:
- "=10.3.0.86"

libcurand_run_version:
- ">=10.2.5.43,<10.3.1"

fmt_version:
- ">=9.1.0,<10"

Expand Down
4 changes: 3 additions & 1 deletion conda/recipes/libcudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ requirements:
- cuda-nvrtc ={{ cuda_version }}
- cuda-nvrtc-dev ={{ cuda_version }}
- cuda-nvtx ={{ cuda_version }}
- libcurand-dev
- libcurand {{ libcurand_host_version }}
- libcurand-dev {{ libcurand_host_version }}
- libarrow {{ libarrow_version }}
- dlpack {{ dlpack_version }}
- librdkafka {{ librdkafka_version }}
Expand Down Expand Up @@ -386,6 +387,7 @@ outputs:
- {{ pin_subpackage('libcudf', exact=True) }}
- {{ pin_subpackage('libcudf_kafka', exact=True) }}
- cudatoolkit {{ cuda_spec }}
- libcurand {{ libcurand_run_version }}
about:
home: https://rapids.ai/
license: Apache-2.0
Expand Down
29 changes: 21 additions & 8 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,21 +263,34 @@ dependencies:
- output_types: conda
matrices:
- matrix:
cuda: "11.2"
packages:
- cudatoolkit=11.2
- matrix:
cuda: "11.4"
cuda: "11.8"
packages:
- cudatoolkit=11.4
- cudatoolkit=11.8
- libcurand-dev=10.3.0.86
- libcurand=10.3.0.86
- matrix:
cuda: "11.5"
packages:
- cudatoolkit=11.5
# Can't hard pin the version since 11.x is missing many
# packages for specific versions
- libcurand-dev>=10.2.6.48,<=10.2.7.107
- libcurand>=10.2.6.48,<=10.2.7.107
- matrix:
cuda: "11.8"
cuda: "11.4"
packages:
- cudatoolkit=11.8
- cudatoolkit=11.4
- &libcurand_dev114 libcurand-dev>=10.2.5.43,<=10.2.5.120
- &libcurand114 libcurand>=10.2.5.43,<=10.2.5.120
- matrix:
cuda: "11.2"
packages:
- cudatoolkit=11.2
# The NVIDIA channel doesn't publish pkgs older than 11.4 for
# these libs, so 11.2 uses 11.4 packages (the oldest
# available).
- *libcurand_dev114
- *libcurand114
develop:
common:
- output_types: [conda, requirements]
Expand Down

0 comments on commit ed9385b

Please sign in to comment.