We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f7e55b commit 5cd14c5Copy full SHA for 5cd14c5
benchmark/sift1m-ivf.py
@@ -75,7 +75,7 @@ def main(args):
75
print("Running batch search...")
76
K = args.k
77
t0 = time.time()
78
- all_results = index.search_batch(queries.tolist(), K)
+ all_results = index.search_batch(queries.tolist(), K, args.nprobe)
79
t_search = time.time() - t0
80
qps = len(queries) / t_search
81
0 commit comments