Skip to content

Commit 391601d

Browse files
algoriddlefacebook-github-bot
authored andcommitted
relax test_ivf_train_2level threshold (facebookresearch#2927)
Summary: Pull Request resolved: facebookresearch#2927 Reviewed By: mlomeli1 Differential Revision: D47017009 fbshipit-source-id: cfa1df4b9632b085d3a61b56d8617bebd7e5aad6
1 parent 1d7c05d commit 391601d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_contrib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def test_ivf_train_2level(self):
521521

522522
# normally 47 / 200 differences
523523
ndiff = (Iref != Inew).sum()
524-
self.assertLess(ndiff, 50)
524+
self.assertLess(ndiff, 51)
525525

526526

527527
class TestBigBatchSearch(unittest.TestCase):

0 commit comments

Comments
 (0)