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

SearchParametersPQ not usable for IndexPQ #3559

Open
2 of 4 tasks
xianglous opened this issue Jun 28, 2024 · 0 comments
Open
2 of 4 tasks

SearchParametersPQ not usable for IndexPQ #3559

xianglous opened this issue Jun 28, 2024 · 0 comments

Comments

@xianglous
Copy link

Summary

Is SearchParametersPQ supported for IndexPQ? If not, is there any plan to add the support for it?

Platform

OS: macOS

Faiss version: faiss-cpu==1.8.0.post1

Installed from: pip

Running on:

  • CPU
  • GPU

Interface:

  • C++
  • Python

Reproduction instructions

When using IndexPQ created from index factory, "IDMap2,PQ32x8" for example, search with SearchParametersPQ raises error

RuntimeError: Error in virtual void faiss::IndexPQ::search(idx_t, const float *, idx_t, float *, idx_t *, const SearchParameters *) const at /Users/runner/work/faiss-wheels/faiss-wheels/faiss/faiss/IndexPQ.cpp:167: Error: '!params->sel' failed: selector not supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants