Repository navigation
[third-party](faiss) Enable FAISS integration in Doris. - #49644
Merged
Merged
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
RoanHeNaN
marked this pull request as ready for review
March 28, 2025 12:04
TPC-H: Total hot run time: 34226 ms |
TPC-DS: Total hot run time: 186010 ms |
ClickBench: Total hot run time: 30.62 s |
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
yiguolei
previously approved these changes
Mar 29, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
zclllyybb
approved these changes
Mar 29, 2025
RoanHeNaN
force-pushed
the
feat-faiss-thirdparty
branch
from
March 30, 2025 06:37
834e85e to
47f93c8
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 34092 ms |
TPC-DS: Total hot run time: 193054 ms |
ClickBench: Total hot run time: 31.1 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
yiguolei
approved these changes
Mar 31, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
koarz
pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
### What problem does this PR solve? Enable FAISS integration in Doris. Dependency of faiss is OpenMP, BLAS and LAPACK. OpenMP is distributed with gcc/llvm. OpenBLAS could supply BLAS & LAPACK impl, so we introduced OpenBLAS. If you are using ldb-toolchain, and version is before https://github.com/amosbird/ldb_toolchain_gen/releases/tag/v0.24, gcc should be used to compile openblas and faiss, since libopm.a is missing. Build new thirdparty: ``` sh build-thirdparty.sh openblas sh build-thirdparty.sh faiss ``` `export ENABLE_BUILD_FAISS=ON` to make doris link with faiss.
airborne12
pushed a commit
that referenced
this pull request
Jul 28, 2025
This reverts commit 8740049.
3 of 16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Enable FAISS integration in Doris.
Dependency of faiss is OpenMP, BLAS and LAPACK.
OpenMP is distributed with gcc/llvm.
OpenBLAS could supply BLAS & LAPACK impl, so we introduced OpenBLAS.
If you are using ldb-toolchain, and version is before https://github.com/amosbird/ldb_toolchain_gen/releases/tag/v0.24, gcc should be used to compile openblas and faiss, since libopm.a is missing.
Build new thirdparty:
export ENABLE_BUILD_FAISS=ONto make doris link with faiss.Release note
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)