Segmentation fault: 11 on M1 Mac
hyperknot opened this issue · comments
Zsolt Ero commented
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
Kota Yamaguchi commented
Please attach a log
Likely a known issue #73
Zsolt Ero commented
How can I attach a log? There is no exception, no output, just this one line
Segmentation fault: 11
Kota Yamaguchi commented
You would need to use a debugger like lldb
to identify what is causing segfault