Comments (2)
@HaveF I could not reproduce your issue on my macbook pro. I suspect the cpu of the host hardware does not support certain set of instructions.
% docker run --rm -it python:3.7-buster bash
Unable to find image 'python:3.7-buster' locally
3.7-buster: Pulling from library/python
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:c701c51836b71b4d4654ddbac0af786d83b6cc1dad924844c4a3b61d0e4cf21f
Status: Downloaded newer image for python:3.7-buster
root@dbde9d9d52ee:/# pip install faiss-cpu
Collecting faiss-cpu
Downloading faiss_cpu-1.6.1-cp37-cp37m-manylinux2010_x86_64.whl (7.1 MB)
|████████████████████████████████| 7.1 MB 8.1 MB/s
Collecting numpy
Downloading numpy-1.18.1-cp37-cp37m-manylinux1_x86_64.whl (20.1 MB)
|████████████████████████████████| 20.1 MB 22.1 MB/s
Installing collected packages: numpy, faiss-cpu
Successfully installed faiss-cpu-1.6.1 numpy-1.18.1
root@dbde9d9d52ee:/# python -c "import faiss"
root@dbde9d9d52ee:/#
root@dbde9d9d52ee:/# exit
from faiss-wheels.
It's very weird.
But I successful run with python:3.8
on the same machine.
I also test on 3.7-stretch
, failed.
Maybe something related with avx/avx2
, and python 3.8 fix it?
Well, It seems use python 3.8 is the good choice.
Thanks for your time again
from faiss-wheels.
Related Issues (20)
- Segfault in macOS in the presence of other OpenMP dependent packages HOT 2
- Compatibility issue with faiss-cpu wheels on arm64 vs x86 HOT 9
- faiss-cpu 1.7.4 not working with mkl 2023.1.0 HOT 1
- Running setup.py install for faiss-gpu did not run successfully HOT 2
- inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu' HOT 7
- Faiss-cpu requires numpy, but numpy not installed as a dependency of faiss-cpu
- ERROR: Could not build wheels for faiss-cpu, which is required to install pyproject.toml-based projects in FreeBSD HOT 6
- Support Selector for IDMap HOT 3
- ERROR: Could not build wheels for faiss-cpu, which is required to install pyproject.toml-based projects in linux Alpine HOT 6
- Release v1.7.4 on PyPI HOT 1
- Get a CUDA error when searching in a Faiss index having too small vectors HOT 1
- Release date for faiss-cpu that includes numpy dependency fix? HOT 2
- CPython 3.12 wheels HOT 7
- Cannot install faiss-gpu on Arch Linux HOT 2
- Faiss fails to install on MacOS M2 Macbook HOT 2
- AVX512 support HOT 2
- Refactor third-party dependencies
- Installing `faiss-cpu` via Poetry doesn't install dependencies HOT 2
- Not Installing HOT 7
- Not able to run gpu version on NVIDIA A100/A10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faiss-wheels.