-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing small bug in raft-ann-bench #2041
Fixing small bug in raft-ann-bench #2041
Conversation
if len(index["search_params"]) == 0: | ||
print("No search parameters were added to configuration") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the C++ benchmark raise an error if search params are empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, as long as they don't then it's good. Otherwise we should be promoting the error to Python.
@@ -154,6 +154,7 @@ def run_build_and_search( | |||
): | |||
for executable, ann_executable_path, algo in executables_to_run.keys(): | |||
# Need to write temporary configuration | |||
print("ALGO: %s" % algo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to always print this? Might be good to do logging (maybe future PR?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I just removed it. Didn't realize that was still in there
/merge |
No description provided.