Skip to content
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

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Dec 5, 2023

No description provided.

@cjnolet cjnolet added bug Something isn't working non-breaking Non-breaking change labels Dec 5, 2023
@cjnolet cjnolet self-assigned this Dec 5, 2023
@cjnolet cjnolet requested a review from a team as a code owner December 5, 2023 19:59
@github-actions github-actions bot added the python label Dec 5, 2023
Comment on lines +578 to +579
if len(index["search_params"]) == 0:
print("No search parameters were added to configuration")
Copy link
Member

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?

Copy link
Member Author

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?

Copy link
Member

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)
Copy link
Member

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?)

Copy link
Member Author

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

@cjnolet
Copy link
Member Author

cjnolet commented Dec 5, 2023

/merge

@rapids-bot rapids-bot bot merged commit c3a9c78 into rapidsai:branch-24.02 Dec 6, 2023
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change python
Projects
Development

Successfully merging this pull request may close these issues.

3 participants