Benchmark Updates (#382)

This commit is contained in:
Liangsheng Yin
2024-04-24 02:23:01 +08:00
committed by GitHub
parent 150d7020ed
commit da19434c2f
18 changed files with 72 additions and 17 deletions

View File

@@ -61,7 +61,7 @@ def eval_model(args, line_obj, num_hoops, src_indices, dst_percents):
tic = time.time()
states = line_retrieval.run_batch(
arguments, temperature=0, backend=backend, num_threads=args.parallel)
arguments, temperature=0, backend=backend, num_threads=args.parallel, progress_bar=True)
latency = time.time() - tic
corrects = []