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 ability to share IVFPQ-l2 state in JNI (opensearch-project#1529)
Adds a set of JNI functions that allows IVFPQ-l2 dynamically precomputed tables to be shared amongst indices at load time that use the same model. In addition, refactors JNIService interface to take KNNEngine as param instead of as string In addition, add unit tests to confirm that the shared state operates as expected. Signed-off-by: John Mazanec <[email protected]>
- Loading branch information
1 parent
bc70e06
commit 8ae57d3
Showing
21 changed files
with
711 additions
and
162 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
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
Oops, something went wrong.