Skip to content

Instantly share code, notes, and snippets.

@icyveins7
Last active September 10, 2023 14:59
Show Gist options
  • Save icyveins7/fec8655e893f1ed042a237b52ab26cef to your computer and use it in GitHub Desktop.
Save icyveins7/fec8655e893f1ed042a237b52ab26cef to your computer and use it in GitHub Desktop.
Faiss compilation on windows

Compiled for commit d87888b i.e. 1.7.4

cmake .. -DFAISS_ENABLE_GPU=OFF -DFAISS_ENABLE_PYTHON=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DFAISS_OPT_LEVEL=generic -DBLA_VENDOR=Intel10_64ilp_seq -DMKL_LIBRARIES=%MKLROOT%\lib\intel64\mkl_core.lib;%MKLROOT%\lib\intel64\mkl_sequential.lib;%MKLROOT%\lib\intel64\mkl_intel_ilp64.lib -DBUILD_TESTING=OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment