Skip to content

intellistream/Parlay-HNSW

 
 

Repository files navigation

Parlay-HNSW

Refer to the ParlayANN (https://github.com/cmuparlay/ParlayANN) implementation to create a HNSW.

Init third-party

git submodule init
git submodule update

Prepare data

mkdir -p data && cd data
wget ftp://ftp.irisa.fr/local/texmex/corpus/sift.tar.gz
tar -xf sift.tar.gz

Build

mkdir build && cd build
cmake .. && make 

Run HNSW

cd algorithm/HNSW
./bench-hnsw -data_type float -dist_func l2 -base_file ../../../data/sift/sift_base.ifvecs

About

Baseline for ConcurrentHNSW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.6%
  • Python 11.7%
  • C 2.0%
  • Starlark 0.8%
  • CMake 0.4%
  • Shell 0.3%
  • Makefile 0.2%