-
Notifications
You must be signed in to change notification settings - Fork 83
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
A candidate that uses Faiss 1.7.4 #90
A candidate that uses Faiss 1.7.4 #90
Conversation
@alexanderguzhva 🔍 Important: PR Classification Needed! For efficient project management and a seamless review process, it's essential to classify your PR correctly. Here's how:
For any PR outside the kind/improvement category, ensure you link to the associated issue using the format: “issue: #”. Thanks for your efforts and contribution to the community!. |
f1b55de
to
36097a2
Compare
36097a2
to
5e42726
Compare
5e42726
to
2e4a50c
Compare
2e4a50c
to
8c6599f
Compare
8c6599f
to
6549c29
Compare
6549c29
to
a2c7da0
Compare
bdd33e4
to
020925f
Compare
@@ -38,80 +40,34 @@ masked_read(int d, const float* x) { | |||
// cannot use AVX2 _mm_mask_set1_epi32 | |||
} | |||
|
|||
// trust the compiler to unroll this properly | |||
FAISS_PRAGMA_IMPRECISE_FUNCTION_BEGIN |
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.
To my understanding, compiler will auto gen SIMD code for this code block, questions:
- Any version limit for compiler?
- How can compiler know AVX2 or AVX512 to use?
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.
- auto-vectorizers exists in almost every compiler. The quality depends on the compiler version & family, but for a simple code like this one every compiler should work
- depending on the flags that are used for compiling a particular file (
-mavx
,-mavx2
,-mavx512f
,-mfma
)
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 let me know which compiler versions are going to be used.
609c978
to
b5544f1
Compare
b5544f1
to
ba2e70a
Compare
ba2e70a
to
03233c2
Compare
/approve |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexanderguzhva, liliu-z The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Alexandr Guzhva <[email protected]>
03233c2
to
41e3245
Compare
New changes are detected. LGTM label has been removed. |
Republished as #181 |
Close this pr as #181 be merged. |
@alexanderguzhva 🔍 Important: PR Classification Needed! For efficient project management and a seamless review process, it's essential to classify your PR correctly. Here's how:
For any PR outside the kind/improvement category, ensure you link to the associated issue using the format: “issue: #”. Thanks for your efforts and contribution to the community!. |
This is a beta candidate of Milvus with upgraded Faiss 1.7.4 (based on commit
c8d6f7bb2b09b8928570222131353f75acb4007b
from Sep 6 2023, but with all the most recent merged commits).kind/enhancement