Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use numba>=0.57. #5429

Closed
wants to merge 2 commits into from
Closed

Use numba>=0.57. #5429

wants to merge 2 commits into from

Conversation

bdice
Copy link
Contributor

@bdice bdice commented May 19, 2023

This updates to numba>=0.57, which is needed to avoid dependency conflicts with rapidsai/cudf#13337.

Please merge after rapidsai/cudf#13337.

@github-actions github-actions bot added ci conda conda issue Cython / Python Cython or Python issue labels May 19, 2023
Copy link
Member

@dantegd dantegd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just curious about one thing

@@ -19,5 +19,4 @@ sed -i "s/rmm/rmm${CUDA_SUFFIX}/g" python/pyproject.toml
if [[ $CUDA_SUFFIX == "-cu12" ]]; then
sed -i "s/cuda-python[<=>\.,0-9]*/cuda-python>=12.0,<13.0/g" python/pyproject.toml
sed -i "s/cupy-cuda11x/cupy-cuda12x/g" python/pyproject.toml
sed -i "s/numba[<=>\.,0-9]*/numba>=0.57/g" python/pyproject.toml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious why is this no longer needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question! This was needed to fix CUDA 12 wheels. Previously, we needed numba 0.57 (from PyPI) to make CUDA 12 work. However, 0.57 wasn't available for conda until today. To align these, we are requiring 0.57 everywhere and no longer need this workaround.

@bdice bdice marked this pull request as ready for review May 23, 2023 23:01
@bdice bdice requested review from a team as code owners May 23, 2023 23:01
@bdice bdice added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 23, 2023
@bdice
Copy link
Contributor Author

bdice commented May 23, 2023

@raydouglass @dantegd @wphicks This might need re-approved since I opened it from draft state. It's ready to merge now that new cudf nightly builds have been uploaded. Might depend on #5434 for a build fix, not sure.

@dantegd
Copy link
Member

dantegd commented May 25, 2023

@bdice it seems that now that cuDF was released with the new numba constrain, we need the changes of this PR in #5434 to fix CI, so merged your changes there

@rapids-bot rapids-bot bot closed this in #5434 May 26, 2023
rapids-bot bot pushed a commit that referenced this pull request May 26, 2023
…pdates (#5434)

This PR:
- Adds missing RAFT headers
- Addresses a change in cuDF's `drop_duplicates` / `unique` that no longer sorts the output (returns unique values in the input order)
- Updates to `numba>=0.57` (closes #5429)
- Skips umap-learn tests on ARM (#5441)

Authors:
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Divye Gala (https://github.com/divyegala)
  - William Hicks (https://github.com/wphicks)
  - Bradley Dice (https://github.com/bdice)
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #5434
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci conda conda issue Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants