faiss icon indicating copy to clipboard operation
faiss copied to clipboard

Unable to install faiss-gpu on windows 10

Open karankhatri13 opened this issue 2 years ago • 5 comments

hello, I'm trying to install faiss-gpu on windows 10 using pip but it shows erorr:

WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments. Discarding:https://files.pythonhosted.org/packages/63/15/289ecf5d23f209c4c6f2f5f4db1d2b4a2be22d1fc49619354363e9367c19/faiss-gpu-1.7.0.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/63/15/289ecf5d23f209c4c6f2f5f4db1d2b4a2be22d1fc49619354363e9367c19/faiss-gpu-1.7.0.tar.gz has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'.

python version: 3.8.10 CUDA: Build cuda_12.0.r12.0/ PyTorch dependencies is installed and CUDA is enable

Any help would be highly appreciated, thanks !

karankhatri13 avatar Mar 02 '23 12:03 karankhatri13

Compiling Faiss GPU on windows is not supported by the core Faiss team. Any progress, comments on this configuration is welcome.

mdouze avatar Mar 06 '23 13:03 mdouze

It would be nice to at least mention this in the installation instructions. It is also a bit disappointing to have pytorch on Windows but not faiss. In my case this means I have to decide not to use faiss at all for a project.

johann-petrak avatar May 15 '23 05:05 johann-petrak

https://github.com/facebookresearch/faiss/wiki/Installing-Faiss#why-dont-you-support-installing-via-xxx-

mdouze avatar May 23 '23 07:05 mdouze

What do you use as an alternative to FAISS database? I have the same problem. Would like to run faiss-gpu on Windows. Thank you in advance for your help.

GabrielaMichelon avatar Apr 29 '24 08:04 GabrielaMichelon

I used Faiss-cpu which is super slow to conduct my analysis. Would always be pleased if you guys can release a version to support windows machines. However, there is no chance for my to switch to Linux platform at all.

benyizhang avatar Oct 30 '24 22:10 benyizhang