Coder Social home page Coder Social logo

Comments (2)

kyamagu avatar kyamagu commented on May 21, 2024

@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.

HaveF avatar HaveF commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.