forked from harsha-simhadri/big-ann-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
harsha-simhadri#1 T1 FAISS customized for own quantized dataset
- Loading branch information
Ubuntu
committed
Sep 27, 2021
1 parent
a2d6d7e
commit c7acd84
Showing
3 changed files
with
88 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
params=" | ||
nprobe=1,quantizer_efSearch=4 | ||
nprobe=2,quantizer_efSearch=4 | ||
nprobe=4,quantizer_efSearch=4 | ||
nprobe=4,quantizer_efSearch=8 | ||
nprobe=8,quantizer_efSearch=4 | ||
nprobe=8,quantizer_efSearch=8 | ||
nprobe=8,quantizer_efSearch=16 | ||
nprobe=8,quantizer_efSearch=32 | ||
nprobe=16,quantizer_efSearch=16 | ||
nprobe=16,quantizer_efSearch=32 | ||
nprobe=16,quantizer_efSearch=64 | ||
nprobe=32,quantizer_efSearch=8 | ||
nprobe=32,quantizer_efSearch=32 | ||
nprobe=32,quantizer_efSearch=64 | ||
nprobe=32,quantizer_efSearch=128 | ||
nprobe=64,quantizer_efSearch=16 | ||
nprobe=64,quantizer_efSearch=32 | ||
nprobe=64,quantizer_efSearch=64 | ||
nprobe=64,quantizer_efSearch=128 | ||
nprobe=64,quantizer_efSearch=256 | ||
nprobe=128,quantizer_efSearch=32 | ||
nprobe=128,quantizer_efSearch=64 | ||
nprobe=128,quantizer_efSearch=128 | ||
nprobe=128,quantizer_efSearch=256 | ||
nprobe=128,quantizer_efSearch=512 | ||
nprobe=256,quantizer_efSearch=64 | ||
nprobe=256,quantizer_efSearch=128 | ||
nprobe=256,quantizer_efSearch=512 | ||
nprobe=512,quantizer_efSearch=256 | ||
nprobe=512,quantizer_efSearch=512 | ||
nprobe=1024,quantizer_efSearch=256 | ||
" | ||
|
||
python track1_baseline_faiss/baseline_faiss.py \ | ||
--dataset bigann-dim-reduced-100M --indexfile data/track1_baseline_faiss/bigann-100M.IVF1M_2level_PQ64x4fsr.faissindex \ | ||
--search --searchparams $params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
python -u track1_baseline_faiss/baseline_faiss.py --dataset bigann-dim-reduced-100M \ | ||
--indexkey OPQ64_128,IVF1048576_HNSW32,PQ64x4fsr \ | ||
--maxtrain 10000000 \ | ||
--two_level_clustering \ | ||
--build \ | ||
--add_splits 30 \ | ||
--indexfile data/track1_baseline_faiss_dim_reduction/bigann-100M.IVF1M_2level_PQ64x4fsr.faissindex \ | ||
--quantizer_efConstruction 200 \ | ||
--quantizer_add_efSearch 80 | ||
|
||
|