faiss-wheels
faiss-wheels copied to clipboard
Segmentation fault: 11 on M1 Mac
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