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

[REVIEW] Sparse KNN + UMAP Sparse Inputs #2836

Merged
merged 127 commits into from
Nov 19, 2020

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Sep 17, 2020

Closes #2750
Closes #2854
Closes #2105

Don't be alarmed by all the changes in this PR. This is branched from the Sparse KNN work. Once that PR is merged, the changes will be easier to review.

cjnolet added 30 commits July 24, 2020 15:05
…_knn

Conflicts:
	cpp/src_prims/sparse/cusparse_wrappers.h
…version seems super expensive, but maybe it's necessary.
Copy link
Contributor

@JohnZed JohnZed left a comment

Choose a reason for hiding this comment

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

I think it's looking good! Maybe Thejaswi has some outstanding prims comments, but it looks solid to me

cpp/src/umap/knn_graph/algo.cuh Outdated Show resolved Hide resolved
@JohnZed JohnZed added 4 - Waiting on Reviewer Waiting for reviewer to review or respond and removed 4 - Waiting on Author Waiting for author to respond to review labels Nov 10, 2020
@cjnolet
Copy link
Member Author

cjnolet commented Nov 12, 2020

Ping @teju85. Is this PR still awaiting your re-review? Do you have time to review it? If not, we might need to find someone else.

@teju85
Copy link
Member

teju85 commented Nov 12, 2020

Sorry for the delay in reviewing this. I should be done by tomorrow, @cjnolet .

Copy link
Member

@teju85 teju85 left a comment

Choose a reason for hiding this comment

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

There seems to be a stray python/debug_out file in this PR?

cpp/src/umap/knn_graph/algo.cuh Outdated Show resolved Hide resolved
cpp/src/umap/runner.cuh Outdated Show resolved Hide resolved
cpp/src/umap/runner.cuh Outdated Show resolved Hide resolved
cpp/src/umap/runner.cuh Outdated Show resolved Hide resolved
cpp/src/umap/umap.cu Outdated Show resolved Hide resolved
Copy link
Member

@teju85 teju85 left a comment

Choose a reason for hiding this comment

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

I'm done with the second pass (sorry again for the delay). I have some minor comments (and a couple questions).

cpp/src_prims/sparse/selection.cuh Outdated Show resolved Hide resolved
cpp/src_prims/sparse/distance.cuh Show resolved Hide resolved
cpp/src_prims/sparse/distance.cuh Show resolved Hide resolved
cpp/src_prims/sparse/utils.h Show resolved Hide resolved
@teju85 teju85 added 4 - Waiting on Author Waiting for author to respond to review and removed 4 - Waiting on Reviewer Waiting for reviewer to review or respond labels Nov 13, 2020
Conflicts:
	cpp/include/cuml/distance/distance_type.h
	python/cuml/common/base.pyx
	python/cuml/manifold/umap.pyx
	python/cuml/neighbors/nearest_neighbors.pyx
@cjnolet
Copy link
Member Author

cjnolet commented Nov 18, 2020

@teju85, I have implemented all of your review feedback. Mind giving it another look when you have a moment?

@teju85
Copy link
Member

teju85 commented Nov 18, 2020

Thank you @cjnolet for your patience. I'm in the middle of something right now. Give me a couple more hours and I should be able to get to this and finish today itself.

Copy link
Member

@teju85 teju85 left a comment

Choose a reason for hiding this comment

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

Changes LGTM.

@cjnolet
Copy link
Member Author

cjnolet commented Nov 18, 2020

rerun tests

@cjnolet cjnolet added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 4 - Waiting on Author Waiting for author to respond to review labels Nov 19, 2020
@JohnZed
Copy link
Contributor

JohnZed commented Nov 19, 2020

rerun tests

@cjnolet cjnolet merged commit b205e8f into rapidsai:branch-0.17 Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge CUDA / C++ CUDA issue Cython / Python Cython or Python issue feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Use index template param in UMAP [FEA] Sparse inputs to UMAP [FEA] Sparse KNN
6 participants