-
Notifications
You must be signed in to change notification settings - Fork 540
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
[FIX] Fix build with latest RAFT branch-21.08 #4012
[FIX] Fix build with latest RAFT branch-21.08 #4012
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.
CMake changes LGTM
@dantegd sure thing, pulled |
@trxcllnt in the past we have locked cuml into a specific raft commit hash so that updates to raft don't break cuml. It looks like the pinned tag is being set automatically in cuml now which means changes to raft are now strongly coupled to cuml. Do you think there's a way we could decouple these two and sync them back at release time? This would allow us to make updates to raft and update the cuml side intentionally (without breaking everyone else). |
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.
Changes look good. I would like to update the sparse bfknn API on the raft side to make the handle const. It's a super simple change and I can file a PR for it if you prefer.
cpp/src/tsne/distances.cuh
Outdated
handle.get_cusparse_handle(), handle.get_device_allocator(), stream, | ||
ML::Sparse::DEFAULT_BATCH_SIZE, ML::Sparse::DEFAULT_BATCH_SIZE, | ||
DEFAULT_DISTANCE_METRIC); | ||
const_cast<raft::handle_t &>(handle), ML::Sparse::DEFAULT_BATCH_SIZE, |
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.
Oh boy. I don't know how I missed this one- that should be a const
on the raft side for sure.
cpp/src/umap/knn_graph/algo.cuh
Outdated
handle.get_cusparse_handle(), d_alloc, stream, | ||
ML::Sparse::DEFAULT_BATCH_SIZE, ML::Sparse::DEFAULT_BATCH_SIZE, | ||
raft::distance::DistanceType::L2Expanded); | ||
const_cast<raft::handle_t &>(handle), ML::Sparse::DEFAULT_BATCH_SIZE, |
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.
This one as well.
@trxcllnt I opened rapidsai/raft#280 to add the const qualifier to the raft handle in the sparse bfknn |
@cjnolet cuML and cuGraph using separate commits isn't compatible with using a shared build cache via CMake's For example, cuML and cuGraph both declare a dependency on This relies on the two using the same version of any common dependencies, since |
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.
LGTM
rerun tests |
Argh it seems I missed this instance of the abs NumPy call that requires an update: cuml/python/cuml/test/dask/test_dbscan.py Line 91 in 76e6b51
|
rerun tests |
@gpucibot merge |
same failures:
rerun tests |
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #4012 +/- ##
===============================================
Coverage ? 85.44%
===============================================
Files ? 230
Lines ? 18088
Branches ? 0
===============================================
Hits ? 15455
Misses ? 2633
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
@gpucibot merge |
These things are breaking cuML builds with the latest raft `branch-21.08`. Blocked until rapidsai/raft#279 is resolved. Authors: - Paul Taylor (https://github.com/trxcllnt) - Corey J. Nolet (https://github.com/cjnolet) - Dante Gama Dessavre (https://github.com/dantegd) Approvers: - Robert Maynard (https://github.com/robertmaynard) - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#4012
These things are breaking cuML builds with the latest raft
branch-21.08
. Blocked until rapidsai/raft#279 is resolved.