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

more than 2048 nearest neighbors #4008

Open
arnavmdas opened this issue Oct 31, 2024 · 1 comment
Open

more than 2048 nearest neighbors #4008

arnavmdas opened this issue Oct 31, 2024 · 1 comment

Comments

@arnavmdas
Copy link

Is it possible to modify the source code such that it is possible to retrieve more than 2047 nearest neighbors on faiss-gpu?

@asadoughi
Copy link
Contributor

The details of the k-value constraints can be found in the Billion-scale similarity search with GPUs paper section 4.2. Since the paper was published, the k-value constraint was increased from 1024 to 2048 in the 1.5.1 release. The implementation of the warp select algorithm can be found in faiss/gpu/utils/warpselect path.

Do you have a specific use case that requires more than 2048 neighbors?

@asadoughi asadoughi changed the title more than 2047 nearest neighbors more than 2048 nearest neighbors Nov 1, 2024
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

3 participants