Skip to content

Commit

Permalink
Using for search
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Nov 2, 2023
1 parent f87430b commit 7645a3d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/raft-ann-bench/src/raft-ann-bench/run/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ def run_build_and_search(
]
if force:
cmd = cmd + ["--overwrite"]

if search_threads:
cmd = cmd + ["--threads=%s" % search_threads]
cmd = cmd + [temp_conf_filepath]
subprocess.run(cmd, check=True)

Expand All @@ -140,6 +137,10 @@ def run_build_and_search(
]
if force:
cmd = cmd + ["--overwrite"]

if search_threads:
cmd = cmd + ["--threads=%s" % search_threads]

cmd = cmd + [temp_conf_filepath]
subprocess.run(cmd, check=True)

Expand Down

0 comments on commit 7645a3d

Please sign in to comment.