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

Failed to load GPU Faiss: name 'GpuIndexIVFFlat' is not defined. error in FAISS-CPU 1.10.0 #4194

Open
kungmo opened this issue Feb 18, 2025 · 1 comment

Comments

@kungmo
Copy link

kungmo commented Feb 18, 2025

Hello,

I have been using faiss-cpu for several months since I don't need faster calculation for vector similarity searching. However, after upgrading FAISS-CPU from version 1.8.0 to 1.10.0 today, I encountered an error when loading faiss:

'Failed to load GPU Faiss: name 'GpuIndexIVFFlat' is not defined. Will not load constructor refs for GPU indexes.' error in FAISS-CPU'

Image

I tried uninstalling and reinstalling faiss-cpu, but the error persists.

Could you please help me resolve this problem?

Thank you.

@satymish
Copy link
Contributor

it seems like you're trying to use GpuIndexIVFFlat that's not part of FAISS-CPU? To use that, you'd need to use FAISS GPU build

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