Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions python/cuvs_bench/cuvs_bench/config/algos/cuvs_cagra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ constraints:
groups:
base:
build:
graph_degree: [32, 64, 96, 128]
intermediate_graph_degree: [32, 64, 96, 128]
graph_build_algo: ["NN_DESCENT"]
graph_degree: [32, 64, 96]
intermediate_graph_degree: [128]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont we want intermediate_graph_degree 64 when the graph degree is 32? @bkarsin had also raised an issue in the past wherein CAGRA can give poor recall when the intermediate graph degree is quite large in comparison to the graph degree.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally yes, intermediate_graph_degree = 2 * graph_degree would be sufficient. Our benchmark framework does not adjust this automatically. I would not expect recall drop by using larger intermediate degree. Do we have any detail on that that issue?

graph_build_algo: ["IVF_PQ"]
search:
itopk: [32, 64, 128, 256, 512]
search_width: [1, 2, 4, 8, 16, 32, 64]
max_iterations: [0, 16]
search_width: [1, 2, 4, 8]
test:
build:
graph_degree: [32]
intermediate_graph_degree: [32]
graph_build_algo: ["NN_DESCENT"]
graph_build_algo: ["IVF_PQ"]
search:
itopk: [32]
search_width: [1, 2]
11 changes: 6 additions & 5 deletions python/cuvs_bench/cuvs_bench/config/algos/cuvs_mg_cagra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ constraints:
groups:
base:
build:
graph_degree: [32, 64, 96, 128]
intermediate_graph_degree: [32, 64, 96, 128]
graph_build_algo: ["NN_DESCENT"]
graph_degree: [32, 64, 96]
intermediate_graph_degree: [128]
graph_build_algo: ["IVF_PQ"]
search:
itopk: [32, 64, 128, 256, 512]
search_width: [1, 2, 4, 8, 16, 32, 64]
max_iterations: [0, 16]
search_width: [1, 2, 4, 8]
test:
build:
graph_degree: [32]
intermediate_graph_degree: [32]
graph_build_algo: ["NN_DESCENT"]
graph_build_algo: ["IVF_PQ"]
search:
itopk: [32]
search_width: [1, 2]