mirror of
https://github.com/neuml/txtai.git
synced 2026-10-12 02:19:52 +00:00
Update Faiss ANN to support IVF strings without number of cells, closes #594
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user