-
Notifications
You must be signed in to change notification settings - Fork 310
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] Always add faiss
library alias if it's missing
#1694
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #1694 +/- ##
===============================================
Coverage ? 59.31%
===============================================
Files ? 80
Lines ? 3557
Branches ? 0
===============================================
Hits ? 2110
Misses ? 1447
Partials ? 0 Continue to review full report at Codecov.
|
Always add the `FAISS::FAISS` library target alias if it doesn't exist. This can happen if cuGraph is built and installs FAISS before cuML. rapidsai/cugraph#1694 Authors: - Paul Taylor (https://github.com/trxcllnt) Approvers: - Robert Maynard (https://github.com/robertmaynard) URL: #4028
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.
Looks fine to me.
Why do we need FAISS?
@ChuckHastings it's a raft dependency, though now that you mention it looks like raft needs this change too. And if raft gets it, we can probably remove cuML's and cuGraph's |
@trxcllnt if we can put this in RAFT it would make more sense and solve both graph and ml. Putting this PR on hold until you respond |
…etting UCX install location (#1698) This PR is a continuation of #1694. Similar to rapidsai/cuml#4015, this PR updates setup.py to: * Use `library_dirs` instead of `runtime_library_dirs` when linking Cython. * Allow overriding UCX lib and include dirs via a `UCX_HOME` envvar. * Link `cudart`, `cusparse`, and `cusolver`. These are necessary to compile the Cython via `pip` when not inside a conda environment and when UCX is installed to a location other than `/usr` or `/usr/local`. Authors: - Paul Taylor (https://github.com/trxcllnt) Approvers: - Rick Ratzel (https://github.com/rlratzel) URL: #1698
@BradReesWork The RAFT PR is here: rapidsai/raft#287. This commit was included in PR #1698, so I'll close this one. |
Always add the `FAISS::FAISS` library target alias if it doesn't exist. This can happen if cuML is built and installs FAISS before cuGraph or vice-versa. Related PRs: rapidsai/cuml#4028 rapidsai/cugraph#1694 Note: We can probably remove the `get_faiss.cmake` file in cuML and cuGraph since they both should get it from RAFT. Authors: - Paul Taylor (https://github.com/trxcllnt) Approvers: - Corey J. Nolet (https://github.com/cjnolet) - Dante Gama Dessavre (https://github.com/dantegd) URL: #287
Always add the `FAISS::FAISS` library target alias if it doesn't exist. This can happen if cuGraph is built and installs FAISS before cuML. rapidsai/cugraph#1694 Authors: - Paul Taylor (https://github.com/trxcllnt) Approvers: - Robert Maynard (https://github.com/robertmaynard) URL: rapidsai#4028
Always add the
FAISS::FAISS
library target alias if it doesn't exist. This can happen if cuML is built and installs FAISS before cuGraph.rapidsai/cuml#4028