Skip to content

Commit f0b52fe

Browse files
committed
Updated Faiss to 1.14.1
1 parent 3b45a4d commit f0b52fe

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 0.5.4 (unreleased)
22

3+
- Updated Faiss to 1.14.1
34
- Added `id_map` method to `IndexIDMap2`
45

56
## 0.5.3 (2026-02-12)

ext/faiss/extconf.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
vendor = File.expand_path("../../vendor/faiss", __dir__)
3434

3535
$srcs = Dir["{#{ext},#{vendor}/faiss,#{vendor}/faiss/{impl,invlists,utils}/**}/*.{cpp}"]
36+
37+
simd_distances = ["distances_avx2.cpp", "distances_avx512.cpp", "distances_aarch64.cpp", "distances_arm_sve.cpp"]
38+
$srcs -= simd_distances.map { |v| "#{vendor}/faiss/utils/simd_impl/#{v}" }
39+
3640
abort "Faiss not found" unless find_header("faiss/Index.h", vendor)
3741
$VPATH += $srcs.filter_map { |v| File.dirname(v) if v.start_with?(vendor) }.uniq
3842

vendor/faiss

Submodule faiss updated 269 files

0 commit comments

Comments
 (0)