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

Improve n-dimensional unique performance #8328

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

andfoy
Copy link
Contributor

@andfoy andfoy commented May 17, 2024

Fixes #8326

This PR aims to improve the performance of cupy.unique when axis != None, the main idea goes as follows:

  1. Compute a hash value for each row. This can be done completely in parallel
  2. Call unique_1d, which should yield the unique rows according to their hash value.

@takagi takagi self-assigned this May 20, 2024
@takagi takagi added cat:enhancement Improvements to existing features prio:medium labels May 20, 2024
@leofang
Copy link
Member

leofang commented May 20, 2024

cc: @essoca for vis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:enhancement Improvements to existing features prio:medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cp.unique runs forever
3 participants