-
Notifications
You must be signed in to change notification settings - Fork 189
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
Add minhash deduplicator based on RAY. #502
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the inline comments
logger.info(f'union_find_parallel_num = {union_find_parallel_num}') | ||
self.union_find_parallel_num = union_find_parallel_num | ||
self.union_threshold = union_threshold | ||
self.remote_edge_buffers = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the union_find_parallel_num
increases, the initialization cost of BTSUnionFind
will increase quadratically.
Converting the remote_edge_buffers
into a remote reference may be better.
Unlike #489, the main approach here is based on Ray Actor's implementation of multi process union find set to complete equivalence class merging.