From bb71c78a2e8e672ccf7ce57a143724e1133db46e Mon Sep 17 00:00:00 2001 From: Alexandr Guzhva Date: Mon, 27 Nov 2023 11:18:11 -0500 Subject: [PATCH] Merge commit 6b761503ba073688e3ebeaa60545633dad83d1ba from Faiss master branch Commit: 6b761503ba073688e3ebeaa60545633dad83d1ba Parents: 6c89c8bd4e239141f9a5fad224347b80114ea585 Author: chasingegg Committer: Facebook GitHub Bot Date: Thu Nov 02 2023 13:03:52 GMT-0400 (Eastern Daylight Time) Remove confusing comments in partitioning.cpp (#3104) Summary: Fix https://github.com/facebookresearch/faiss/issues/3095 Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3104 Reviewed By: mlomeli1 Differential Revision: D50595865 Pulled By: mdouze fbshipit-source-id: f9107bda114a77d6e1f0da32c3451b7182d32e60 Signed-off-by: Alexandr Guzhva --- thirdparty/faiss/faiss/utils/partitioning.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/thirdparty/faiss/faiss/utils/partitioning.cpp b/thirdparty/faiss/faiss/utils/partitioning.cpp index 955bf2da9..4070aaae6 100644 --- a/thirdparty/faiss/faiss/utils/partitioning.cpp +++ b/thirdparty/faiss/faiss/utils/partitioning.cpp @@ -754,8 +754,6 @@ typename C::T partition_fuzzy( size_t q_min, size_t q_max, size_t* q_out) { - // the code below compiles and runs without AVX2 but it's slower than - // the scalar implementation #ifdef __AVX2__ constexpr bool is_uint16 = std::is_same::value; if (is_uint16 && is_aligned_pointer(vals)) {