faiss-wheels
faiss-wheels copied to clipboard
inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Describe the bug Requested faiss-cpu from https://files.pythonhosted.org/packages/7d/00/b3aaad408a44e4f5d87ebfcd75d0b14eeaed9fe9bc7a9f5e185ff1d503d6/faiss-gpu-1.6.4.post2.tar.gz has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
To Reproduce Describe the steps to reproduce the behavior: pip install faiss-gpu
Desktop (please complete the following information):
- OS: macOS 12.6.6
- Architecture: x86_64
- Python: 3.11.3
Me too with python 3.10.11 with conda and windows 10
I am also facing the same issue. Anyone found a fix for this?
Also seeing this on Ubuntu 20.04.6 LTS with Python 3.11.6
python 3.11 debian affected, all projects relying on faiss fail to install
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/7d/00/b3aaad408a44e4f5d87ebfcd75d0b14eeaed9fe9bc7a9f5e185ff1d503d6/faiss-gpu-1.6.4.post2.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/7d/00/b3aaad408a44e4f5d87ebfcd75d0b14eeaed9fe9bc7a9f5e185ff1d503d6/faiss-gpu-1.6.4.post2.tar.gz has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Using cached faiss-gpu-1.6.4.tar.gz (3.4 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
running egg_info
creating /tmp/pip-pip-egg-info-qpvwpcz2/faiss_cpu.egg-info
writing /tmp/pip-pip-egg-info-qpvwpcz2/faiss_cpu.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-qpvwpcz2/faiss_cpu.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-pip-egg-info-qpvwpcz2/faiss_cpu.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-qpvwpcz2/faiss_cpu.egg-info/SOURCES.txt'
error: package directory '/tmp/pip-install-ugppery7/faiss-gpu_c6cb8eb796ff4c5492a3ebd3edb2885b/faiss/faiss/python' does not exist
[end of output]
```
faiss-gpu
is not supported anymore, and the source packages are removed from the PyPI. Please use the faiss-cpu
source package to support GPUs.
If faiss-gpu is not supported anymore, is there any way to install faiss-cpu with cuda gpu support on windows? (sorry to open again with this question)
@calypset Check the official instruction. There has never been windows GPU support in the PyPI package