Skip to content

Remove cuml.common.cuda#6600

Merged
rapids-bot[bot] merged 5 commits intorapidsai:branch-25.06from
jcrist:remove-cuml-common-cuda
Apr 29, 2025
Merged

Remove cuml.common.cuda#6600
rapids-bot[bot] merged 5 commits intorapidsai:branch-25.06from
jcrist:remove-cuml-common-cuda

Conversation

@jcrist
Copy link
Copy Markdown
Member

@jcrist jcrist commented Apr 28, 2025

This is all dead code (effectively superseded by pylibraft). All internal references to it were broken (only used in xfailed tests that were xfailed for other reasons then bitrotted), incorrect docstrings, or unnecessary cython cimports.

Also removes cuml/common/handle.pyx. This only existed to re-export pylibraft.common.Handle, but all public references point to cuml.Handle (or the pylibraft namespace directly). No need to include a cython module just to re-export a single class.

jcrist added 3 commits April 28, 2025 12:54
These were all outdated anyway. The tests that were changed were broken
before (but were xfailed already for other reasons). The docstrings were
outdated.
This file only contained dead code. It's been superseded by the contents
in `pylibraft`.
This is all dead code, and all imports of it were unneeded.
@jcrist jcrist requested review from a team as code owners April 28, 2025 20:03
@jcrist jcrist requested review from cjnolet and teju85 April 28, 2025 20:03
@jcrist jcrist self-assigned this Apr 28, 2025
@github-actions github-actions Bot added Cython / Python Cython or Python issue CMake labels Apr 28, 2025
@jcrist jcrist added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 28, 2025
Comment thread python/cuml/cuml/tests/test_svm.py
Copy link
Copy Markdown
Member

@betatim betatim left a comment

Choose a reason for hiding this comment

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

Much tidy, such clean up, amaze!

Copy link
Copy Markdown
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

CMake approval.

@csadorf
Copy link
Copy Markdown
Contributor

csadorf commented Apr 29, 2025

/merge

@rapids-bot rapids-bot Bot merged commit fa6b4e9 into rapidsai:branch-25.06 Apr 29, 2025
74 checks passed
@jcrist jcrist deleted the remove-cuml-common-cuda branch April 29, 2025 16:56
@jcrist jcrist mentioned this pull request May 9, 2025
Ofek-Haim pushed a commit to Ofek-Haim/cuml that referenced this pull request May 13, 2025
This is all dead code (effectively superseded by `pylibraft`). All internal references to it were broken (only used in xfailed tests that were xfailed for other reasons then bitrotted), incorrect docstrings, or unnecessary cython `cimport`s.

Also removes `cuml/common/handle.pyx`. This only existed to re-export `pylibraft.common.Handle`, but all public references point to `cuml.Handle` (or the `pylibraft` namespace directly). No need to include a cython module just to re-export a single class.

Authors:
  - Jim Crist-Harif (https://github.com/jcrist)

Approvers:
  - Tim Head (https://github.com/betatim)
  - Bradley Dice (https://github.com/bdice)

URL: rapidsai#6600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake 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