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

PR: Use top-k from RAFT #53

Conversation

chuangz0
Copy link
Contributor

@chuangz0 chuangz0 commented Aug 9, 2023

Closes #5

  • fix bugs in cpp/tests/wholegraph_ops/wholegraph_csr_weighted_sample_without_replacement_tests.cu and cpp/tests/graph_ops/csr_add_self_loop_utils.cu
  • use raft::warp_sort( select_k) to impl weighted_sampling_without_replacement, when sample_count>256, cub::DeviceSegmentSort is used for the implementation.
  • remove block_radix_topk.cuh. replace block_topk in file embedding_cache_func.cuh with raft::warp_sort.

@rapids-bot
Copy link

rapids-bot bot commented Aug 9, 2023

Pull requests from external contributors require approval from a rapidsai organization member with write permissions or greater before CI can begin.

@chuangz0
Copy link
Contributor Author

chuangz0 commented Aug 10, 2023

request write permission

@BradReesWork BradReesWork added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Aug 14, 2023
@BradReesWork
Copy link
Member

/okay to test

@chuangz0 chuangz0 force-pushed the embeding_cache_remove_radix_topk_register branch from b67113c to 0955809 Compare August 15, 2023 13:48
@BradReesWork
Copy link
Member

/okay to test

Copy link
Contributor

@dongxuy04 dongxuy04 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@BradReesWork
Copy link
Member

/merge

@rapids-bot rapids-bot bot merged commit 58ba5a4 into rapidsai:branch-23.10 Aug 17, 2023
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use top-k from RAFT
3 participants