Update Faiss ANN to support IVF strings without number of cells, closes #594

This commit is contained in:
davidmezzetti
2023-11-04 09:50:18 -04:00
parent 826a248746
commit 7176802968
2 changed files with 25 additions and 2 deletions
+1
View File
@@ -60,6 +60,7 @@ class TestANN(unittest.TestCase):
# Test with custom settings
self.runTests("faiss", {"faiss": {"nprobe": 2, "components": "PCA16,IDMap,SQ8", "sample": 1.0}}, False)
self.runTests("faiss", {"faiss": {"components": "IVF,SQ8"}}, False)
@unittest.skipIf(os.name == "nt", "mmap not supported on Windows")
def testFaissMmap(self):