-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A stab at allowing custom datasets #43
Closed
Closed
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c7acd84
#1 T1 FAISS customized for own quantized dataset
920e6f6
Merge branch 'main' of https://github.com/harsha-simhadri/big-ann-ben…
adc134f
Merge branch 'harsha-simhadri:main' into main
DmitryKey cc1d327
#42 undid the hack with hardcoded values, required for dim reduced da…
DmitryKey 76d145d
Merge branch 'harsha-simhadri:main' into main
DmitryKey 03bd0b2
Merge branch 'harsha-simhadri:main' into main
DmitryKey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be here. (And it seems the whole
xbin_mmap
should not be changed at all.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, absolutely -- these had to be hardcoded on my side, because the derived values were not correct. I will remove this.