Skip to content

Commit

Permalink
Allow CuPy 11 (NVIDIA#11393)
Browse files Browse the repository at this point in the history
Allows cuDF to be installed with CuPy 11.

xref: rapidsai/integration#508

Authors:
  - https://github.com/jakirkham

Approvers:
  - Sevag H (https://github.com/sevagh)
  - H. Thomson Comer (https://github.com/thomcom)
  - Bradley Dice (https://github.com/bdice)
  - Matthew Roeschke (https://github.com/mroeschke)

URL: rapidsai/cudf#11393
  • Loading branch information
jakirkham authored Jul 29, 2022
1 parent d94d761 commit eb2e93f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda/recipes/cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ requirements:
- python
- typing_extensions
- pandas >=1.0,<1.5.0dev0
- cupy >=9.5.0,<11.0.0a0
- cupy >=9.5.0,<12.0.0a0
- numba >=0.54
- numpy
- {{ pin_compatible('pyarrow', max_pin='x.x.x') }} *cuda
Expand Down
2 changes: 1 addition & 1 deletion python/cudf/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_cuda_version_from_header(cuda_include_dir, delimeter=""):
install_requires.append(
"cupy-cuda"
+ get_cuda_version_from_header(cuda_include_dir)
+ ">=9.5.0,<11.0.0a0"
+ ">=9.5.0,<12.0.0a0"
)


Expand Down
2 changes: 1 addition & 1 deletion python/dask_cudf/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_cuda_version_from_header(cuda_include_dir, delimeter=""):
install_requires.append(
"cupy-cuda"
+ get_cuda_version_from_header(cuda_include_dir)
+ ">=9.5.0,<11.0.0a0"
+ ">=9.5.0,<12.0.0a0"
)


Expand Down

0 comments on commit eb2e93f

Please sign in to comment.