Skip to content

jmazanec15/faiss-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

faiss experimental

Project containing experimental client code using the ** faiss ** library in order to test out different concepts.

Setup AL2023

Install prereqs:

sudo yum install gcc-c++ tmux git zlib-devel openblas-devel gfortran -y

Get conda from https://www.anaconda.com/download/

Create 3.8 Conda environment:

conda create -n knn-perf python=3.8
conda activate knn-perf

Install python reqs:

pip install numpy cmake==3.23.3 swig h5py psutil

Run python code

cmake -Bbuild .
make -C build -j faiss swigfaiss

(cd build/external/faiss/faiss/python && python3 setup.py build)
export PYTHONPATH="$(ls -d `pwd`/build/external/faiss/faiss/python/build/lib*/):`pwd`/"

python python/disk_experiment.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published