-
Notifications
You must be signed in to change notification settings - Fork 86
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
Upgrade faiss to 1.8.0 #453
Upgrade faiss to 1.8.0 #453
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!. |
a850048
to
708a405
Compare
3918ae3
to
e641053
Compare
e641053
to
6ba1024
Compare
6ba1024
to
404c25f
Compare
15be1bf
to
4808643
Compare
@@ -284,8 +284,8 @@ struct SimilarityL2_avx<8> { | |||
accu8 = _mm256_fmadd_ps(tmp, tmp, accu8); | |||
} | |||
|
|||
FAISS_ALWAYS_INLINE void add_8_components_2(__m256 x, __m256 y) { | |||
__m256 tmp = _mm256_sub_ps(y, x); | |||
FAISS_ALWAYS_INLINE void add_8_components_2(__m256 x, __m256 y_2) { |
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.
why need rename to "y_2" ?
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.
these were semi-automatic changes across the whole Faiss codebase. Let me cite it:
Shadowed variables are variables in an inner scope with the same name as another variable in an outer scope. Having the same name for both variables might be semantically correct, but it can make the code confusing to read! It can also hide subtle bugs.
/lgtm |
/hold |
4808643
to
96df3b4
Compare
rebase on top of master |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #453 +/- ##
=========================================
+ Coverage 0 72.36% +72.36%
=========================================
Files 0 63 +63
Lines 0 4291 +4291
=========================================
+ Hits 0 3105 +3105
- Misses 0 1186 +1186 |
Signed-off-by: Alexandr Guzhva <[email protected]>
96df3b4
to
a67ef6c
Compare
rebased to master |
/lgtm |
/unhold |
/kind improvement |
/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 |
Upgrade Faiss to 1.8.0
/kind improvement