DataSys baseline fork: This repository preserves the HNSW baseline used in DataSys concurrency experiments. The upstream project is cmuparlay/ParlayANN; upstream authorship and licensing remain unchanged.
Refer to the ParlayANN (https://github.com/cmuparlay/ParlayANN) implementation to create a HNSW.
git submodule init
git submodule updatemkdir -p data && cd data
wget ftp://ftp.irisa.fr/local/texmex/corpus/sift.tar.gz
tar -xf sift.tar.gzcd .. && mkdir build && cd build
cmake .. && make -j$(nproc)cd algorithms/HNSW
/bench-hnsw -data_type float -dist_func l2 -k 5 -file_path ../../data/sift/sift_base.fvecs