guodongxiaren / Blog

【编程往事】 — 果冻虾仁 的网络博客
https://github.com/guodongxiaren/Blog/issues
42 stars 12 forks source link

Faiss: Quick Start #39

Open guodongxiaren opened 4 years ago

guodongxiaren commented 4 years ago

编译安装(Mac)

依赖

brew install openblas
brew install swig
brew install libomp

下载

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

编译

configure --without-cuda
make -j 8
make install

--without-cuda表示安装CPU版本