fix test_binary_cagra tests failure (#4546)

Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/4546

https://github.com/facebookresearch/faiss/actions/runs/17147707531/job/48654701266

nightly is broken likely because {D80682723} accidentally added lines between the method and its decorator D:

Reviewed By: juancarpio27

Differential Revision: D80831740

fbshipit-source-id: 40e938dcda538c37da8b2a45fca298d1878bf2ac
This commit is contained in:
Tia Lim
2025-08-22 14:20:34 -07:00
committed by Facebook GitHub Bot
parent 8d9d3bea7c
commit 2fca92f477
-6
View File
@@ -29,8 +29,6 @@ from faiss.contrib import evaluation
@unittest.skipIf(
"CUVS" not in faiss.get_compile_options(),
"only if cuVS is compiled in")
class TestInterop(unittest.TestCase):
def do_interop(self):
@@ -67,8 +65,6 @@ class TestInterop(unittest.TestCase):
@unittest.skipIf(
"CUVS" not in faiss.get_compile_options(),
"only if cuVS is compiled in")
class TestComputeGT(unittest.TestCase):
def do_compute_GT(self, build_algo=None):
@@ -107,8 +103,6 @@ class TestComputeGT(unittest.TestCase):
@unittest.skipIf(
"CUVS" not in faiss.get_compile_options(),
"only if cuVS is compiled in")
class TestIndexBinaryIDMap(unittest.TestCase):
"""Test IndexBinaryIDMap functionality with GpuIndexBinaryCagra"""