faiss-wheels icon indicating copy to clipboard operation
faiss-wheels copied to clipboard

Segmentation fault: 11 on M1 Mac

Open hyperknot opened this issue 11 months ago • 5 comments

Describe the bug When importing the library, it terminates the whole python process with Segmentation fault: 11.

To Reproduce Describe the steps to reproduce the behavior:

import faiss  # noqa
from sentence_transformers import SentenceTransformer

model = SentenceTransformer('all-MiniLM-L6-v2')
model.encode(['a'])

Expected behavior Should not terminate the app. faiss is not even used!

Desktop (please complete the following information):

  • OS: macOS
  • Architecture: M1
  • Python: 3.11
  • Version: faiss-cpu==1.8.0

hyperknot avatar Mar 25 '24 18:03 hyperknot