forked from opensearch-project/k-NN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch to support multi vector in faiss
Signed-off-by: Heemin Kim <[email protected]>
- Loading branch information
Showing
4 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
31 changes: 31 additions & 0 deletions
31
jni/patches/faiss/0001-Custom-patch-to-support-multi-vector.patch
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 02c42910b123f00270846cb06997a5f44756a15c Mon Sep 17 00:00:00 2001 | ||
From: Heemin Kim <[email protected]> | ||
Date: Mon, 11 Dec 2023 10:04:16 -0800 | ||
Subject: [PATCH] Update faiss library with an extension point | ||
|
||
Signed-off-by: Heemin Kim <[email protected]> | ||
--- | ||
.gitmodules | 2 +- | ||
jni/external/faiss | 2 +- | ||
2 files changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/.gitmodules b/.gitmodules | ||
index 631d4f5..a1cfcfa 100644 | ||
--- a/.gitmodules | ||
+++ b/.gitmodules | ||
@@ -3,4 +3,4 @@ | ||
url = https://github.com/nmslib/nmslib.git | ||
[submodule "jni/external/faiss"] | ||
path = jni/external/faiss | ||
- url = https://github.com/facebookresearch/faiss.git | ||
+ url = [email protected]:heemin32/faiss.git | ||
diff --git a/jni/external/faiss b/jni/external/faiss | ||
index 3219e3d..3081f4c 160000 | ||
--- a/jni/external/faiss | ||
+++ b/jni/external/faiss | ||
@@ -1 +1 @@ | ||
-Subproject commit 3219e3d12e6fc36dfdfe17d4cf238ef70bf89568 | ||
+Subproject commit 3081f4c7f088c156914beb8acc5bc513e7278a64 | ||
-- | ||
2.39.3 (Apple Git-145) | ||
|