kyamagu / faiss-wheels

Unofficial faiss wheel builder
MIT License
275 stars 35 forks source link

Segmentation fault: 11 on M1 Mac #100

Open hyperknot opened 3 months ago

hyperknot commented 3 months ago

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):

kyamagu commented 3 months ago

Please attach a log Likely a known issue #73

hyperknot commented 3 months ago

How can I attach a log? There is no exception, no output, just this one line

Segmentation fault: 11
kyamagu commented 3 months ago

You would need to use a debugger like lldb to identify what is causing segfault