0% found this document useful (0 votes)
40 views3 pages

Report Ezoa of Faiss-Gpu C On Windows 11 1

Uploaded by

ezoa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views3 pages

Report Ezoa of Faiss-Gpu C On Windows 11 1

Uploaded by

ezoa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Report Ezoa of Faiss-gpu C++

on Windows 11

1- Installation of requirements.txt
Install Microsoft Visual Studio 16
Install MKL and Blas from intel oneapi
Install Cuda toolkit 12.1
Install Cmake
Install swig
Python 3.10.11
2- Clone faiss

git clone https://github.com/facebookresearch/faiss.git

3- Command execution
command 1

cmake -B build -G "Visual Studio 16 2019" -A x64 -DBLA_VENDO

Command 2

cmake --build build --config Release

Result
Command 3

Report Ezoa of Faiss-gpu C++ on Windows 11 1


cmake --build build --config Release --target swigfaiss -j

3-Investigation
Command

cmake -B build -G "Visual Studio 16 2019" -A x64


-DBLA_VENDOR=Intel10_64_dyn
-DMKL_ROOT="C:/Program Files (x86)/Intel/oneAPI/mkl/latest"
-DMKL_INCLUDE_DIR="C:/Program Files (x86)/Intel/oneAPI/mkl/
latest/include"
-DMKL_LIBRARY="C:/Program Files (x86)/Intel/oneAPI/mkl/latest
/lib"
-DBLAS_LIBRARIES="C:/Program Files (x86)/Intel/oneAPI/mkl/
latest/lib/mkl_rt.lib"
-DLAPACK_LIBRARIES="C:/Program Files (x86)/Intel/oneAPI/mkl
/latest/lib/mkl_rt.lib"
-DCMAKE_TOOLCHAIN_FILE=C:/Users/Mikhail/vcpkg/scripts
/buildsystems/vcpkg.cmake
-DFAISS_ENABLE_PYTHON=ON
-DBUILD_SHARED_LIBS=ON
-DPython_ROOT_DIR="C:\Users\Mikhail\AppData\Local
\Programs\Python"
-DPython_EXECUTABLE="C:\Users\Mikhail\AppData\Local
\Programs\Python\Python310\python.exe"
-DFAISS_ENABLE_GPU=ON -DCMAKE_BUILD_TYPE=Release

Result

Report Ezoa of Faiss-gpu C++ on Windows 11 2


cmake --build build --config Release --target faiss_avx2 -j 4

Result

cmake --build build --config Release --target swigfaiss -j

Result

I am still try to investigate this error of python i have added the python310 in the
environment variable but still same error i will investigate .

Report Ezoa of Faiss-gpu C++ on Windows 11 3

You might also like