Skip to content

Expose runtime and build parameters of all the VCL indices#263

Merged
cwlacewe merged 12 commits intodevelopfrom
225-descriptors-expose-runtime-parameters-search-parameters-of-all-the-vcl-indices
Mar 5, 2025
Merged

Expose runtime and build parameters of all the VCL indices#263
cwlacewe merged 12 commits intodevelopfrom
225-descriptors-expose-runtime-parameters-search-parameters-of-all-the-vcl-indices

Conversation

@s-gobriel
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Target CPP Coverage: 64.1421%
Source CPP Coverage: 64.2822%

Target Python Coverage: 97.94%
Source Python Coverage: 97.94%

@cwlacewe cwlacewe added this to the v2.11.0 Tasks milestone Feb 27, 2025
Copy link
Copy Markdown
Contributor

@cwlacewe cwlacewe left a comment

Choose a reason for hiding this comment

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

Looks good but can you remove the old commands (commented out) in the unit test files.

Comment on lines +105 to +106
// FaissIVFFlatDescriptorSet(const std::string &set_path, unsigned dim,
// DistanceMetric metric);
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.

Suggested change
// FaissIVFFlatDescriptorSet(const std::string &set_path, unsigned dim,
// DistanceMetric metric);

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.

Updated the test files and removed a lot of comments that are not needed.

Comment on lines +116 to +117
// FaissHNSWFlatDescriptorSet(const std::string &set_path, unsigned
// dim,DistanceMetric metric);
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.

Suggested change
// FaissHNSWFlatDescriptorSet(const std::string &set_path, unsigned
// dim,DistanceMetric metric);


VCL::DescriptorParams *param = new VCL::DescriptorParams(3, nb / 10, 10, 12,2,6,16,64,96,48);
VCL::DescriptorSet index(index_filename, unsigned(d), eng, VCL::DistanceMetric::L2, param);
//VCL::DescriptorSet index(index_filename, unsigned(d), eng);
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.

Suggested change
//VCL::DescriptorSet index(index_filename, unsigned(d), eng);

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.

Please remove commented lines of previous command in remainder of file

@cwlacewe
Copy link
Copy Markdown
Contributor

Closes #225

@cwlacewe cwlacewe added the Enhancement New features or upgrades for functionality, performance, etc label Feb 27, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 5, 2025

Target CPP Coverage: 64.1323%
Source CPP Coverage: 64.2822%

Target Python Coverage: 97.94%
Source Python Coverage: 97.94%

@cwlacewe cwlacewe self-requested a review March 5, 2025 16:15
@cwlacewe cwlacewe merged commit 24fb4f1 into develop Mar 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New features or upgrades for functionality, performance, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Descriptors: Expose runtime parameters (search parameters) of all the VCL indices

2 participants