Skip to content

Commit

Permalink
Update cuda-python lower bounds to 12.6.2 / 11.8.5 (#17547)
Browse files Browse the repository at this point in the history
We require a newer cuda-python lower bound for new features and to use the new layout.
This will fix a number of errors observed when the runtime version of cuda-python is older than the version used to build packages using Cython features from cuda-python.

See rapidsai/build-planning#117 (comment) for details.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - James Lamb (https://github.com/jameslamb)

URL: #17547
  • Loading branch information
bdice authored Dec 7, 2024
1 parent 14b4321 commit 80fc629
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
- cramjam
- cubinlinker
- cuda-nvtx=11.8
- cuda-python>=11.7.1,<12.0a0
- cuda-python>=11.8.5,<12.0a0
- cuda-sanitizer-api=11.8.86
- cuda-version=11.8
- cudatoolkit
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
- cuda-nvcc
- cuda-nvrtc-dev
- cuda-nvtx-dev
- cuda-python>=12.0,<13.0a0
- cuda-python>=12.6.2,<13.0a0
- cuda-sanitizer-api
- cuda-version=12.5
- cupy>=12.0.0
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ requirements:
- cudatoolkit
- ptxcompiler >=0.7.0
- cubinlinker # CUDA enhanced compatibility.
- cuda-python >=11.7.1,<12.0a0
- cuda-python >=11.8.5,<12.0a0
{% else %}
- cuda-cudart
- libcufile # [linux64]
Expand All @@ -100,7 +100,7 @@ requirements:
# TODO: Add nvjitlink here
# xref: https://github.com/rapidsai/cudf/issues/12822
- cuda-nvrtc
- cuda-python >=12.0,<13.0a0
- cuda-python >=12.6.2,<13.0a0
- pynvjitlink
{% endif %}
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/pylibcudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ requirements:
- {{ pin_compatible('rmm', max_pin='x.x') }}
- fsspec >=0.6.0
{% if cuda_major == "11" %}
- cuda-python >=11.7.1,<12.0a0
- cuda-python >=11.8.5,<12.0a0
{% else %}
- cuda-python >=12.0,<13.0a0
- cuda-python >=12.6.2,<13.0a0
{% endif %}
- nvtx >=0.2.1
- packaging
Expand Down
8 changes: 4 additions & 4 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -679,10 +679,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- cuda-python>=12.0,<13.0a0
- cuda-python>=12.6.2,<13.0a0
- matrix: {cuda: "11.*"}
packages: &run_pylibcudf_packages_all_cu11
- cuda-python>=11.7.1,<12.0a0
- cuda-python>=11.8.5,<12.0a0
- {matrix: null, packages: *run_pylibcudf_packages_all_cu11}
run_cudf:
common:
Expand All @@ -705,10 +705,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- cuda-python>=12.0,<13.0a0
- cuda-python>=12.6.2,<13.0a0
- matrix: {cuda: "11.*"}
packages: &run_cudf_packages_all_cu11
- cuda-python>=11.7.1,<12.0a0
- cuda-python>=11.8.5,<12.0a0
- {matrix: null, packages: *run_cudf_packages_all_cu11}
- output_types: conda
matrices:
Expand Down
2 changes: 1 addition & 1 deletion python/cudf/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ requires-python = ">=3.10"
dependencies = [
"cachetools",
"cubinlinker",
"cuda-python>=11.7.1,<12.0a0",
"cuda-python>=11.8.5,<12.0a0",
"cupy-cuda11x>=12.0.0",
"fsspec>=0.6.0",
"libcudf==25.2.*,>=0.0.0a0",
Expand Down
2 changes: 1 addition & 1 deletion python/pylibcudf/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ authors = [
license = { text = "Apache 2.0" }
requires-python = ">=3.10"
dependencies = [
"cuda-python>=11.7.1,<12.0a0",
"cuda-python>=11.8.5,<12.0a0",
"libcudf==25.2.*,>=0.0.0a0",
"nvtx>=0.2.1",
"packaging",
Expand Down

0 comments on commit 80fc629

Please sign in to comment.