Skip to content

Revert "Fix kmeans::predict argument order (#915)"#951

Merged
raydouglass merged 1 commit intorapidsai:branch-25.06from
divyegala:revert-pr-915
May 28, 2025
Merged

Revert "Fix kmeans::predict argument order (#915)"#951
raydouglass merged 1 commit intorapidsai:branch-25.06from
divyegala:revert-pr-915

Conversation

@divyegala
Copy link
Copy Markdown
Member

@divyegala divyegala self-assigned this May 28, 2025
@divyegala divyegala requested a review from a team as a code owner May 28, 2025 20:19
@divyegala divyegala added bug Something isn't working non-breaking Introduces a non-breaking change labels May 28, 2025
@github-actions github-actions Bot added the cpp label May 28, 2025
@cjnolet
Copy link
Copy Markdown
Member

cjnolet commented May 28, 2025

/merge

raft::device_matrix_view<const double, int> centroids,
bool normalize_weight,
raft::device_vector_view<int, int> labels,
bool normalize_weight,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@enp1s0 for reference, we are reverting this PR because the corresponding function bodies for deprecated functions were missing in the source here. rapidsai/cuml#6810

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

As you wrote a function annotated with inline that was calling another function in the header, we had a problem in donstream repos. This is because inline is just a suggestion to the compiler, you would need __attribute__((always_inline)) to get this to always work without running into symbol lookup errors.

@raydouglass raydouglass merged commit 043c06f into rapidsai:branch-25.06 May 28, 2025
73 of 75 checks passed
mythrocks pushed a commit to mythrocks/cuvs that referenced this pull request Jun 3, 2025
Revert "Fix kmeans::predict argument order (rapidsai#915)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cpp non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cuVS 25.06 nightlies have a breaking change in KMeans predict API

3 participants