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

Replace deprecated cupyx.scatter_max and cupyx.scatter_add with cupy.maximum.at and cupy.add.at #5878

Open
mroeschke opened this issue May 1, 2024 · 0 comments

Comments

@mroeschke
Copy link
Contributor

There are 3 usages of these methods in https://github.com/rapidsai/cuml/blob/branch-24.06/python/cuml/naive_bayes/naive_bayes.py

cupyx.scatter_max(

cupyx.scatter_max(highest_feature, indices[0], indices[2])

cupyx.scatter_add(jll[:, i], X.row, jll_data)

cupy recommends this being replaced by cupy.maximum.at and cupy.add.at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant