facebookresearch / faiss

A library for efficient similarity search and clustering of dense vectors.
https://faiss.ai
MIT License
31.63k stars 3.65k forks source link

error when load avx512 #3955

Closed shiwanghua closed 3 weeks ago

shiwanghua commented 1 month ago

python sdk

faiss.version '1.8.0'

windows 10

2024-10-16 16:13:06-DEBUG-loader.py:62: Environment variable FAISS_OPT_LEVEL is not set, so let's pick the instruction set according to the current CPU 2024-10-16 16:13:06-INFO-loader.py:74: Loading faiss with AVX512 support. 2024-10-16 16:13:06-INFO-loader.py:79: Could not load library with AVX512 support due to: ModuleNotFoundError("No module named 'faiss.swigfaiss_avx512'") 2024-10-16 16:13:06-INFO-loader.py:86: Loading faiss with AVX2 support. 2024-10-16 16:13:06-INFO-loader.py:91: Could not load library with AVX2 support due to: ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'") 2024-10-16 16:13:06-INFO-loader.py:97: Loading faiss. 2024-10-16 16:13:06-INFO-loader.py:99: Successfully loaded faiss.

alexanderguzhva commented 1 month ago

this particular faiss library instance was not compiled with AVX2 and AVX512 support. Please refer to building / installing instructions.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been inactive for 7 days since being marked as stale.

shiwanghua commented 3 weeks ago

this particular faiss library instance was not compiled with AVX2 and AVX512 support. Please refer to building / installing instructions.

No, the machine supports avx2

shiwanghua commented 3 weeks ago

and it did not happen in compiling but in calling sdk.