Skip to content
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

Release v0.8.0 #523

Merged
merged 52 commits into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
361893c
#438: fix reordering warning
jlmelville Mar 5, 2023
b3fb472
Merge pull request #443 from jlmelville/438-gcc-reorder
yurymalkov Mar 5, 2023
dccd4f9
Add CMake install targets (#446)
moritz-h May 7, 2023
a9de060
Add HierarchicalNSW::indexFileSize() function for precise memory foot…
drons Dec 5, 2022
6aac477
Add multithread search to BF index (#425)
dyashuni May 12, 2023
cd844b5
Merge pull request #427 from drons/indexFileSize
yurymalkov May 13, 2023
1925428
add virtual destructor to BaseFilterFunctor (#460)
yoshoku May 13, 2023
2c538db
Add static again
alxvth May 17, 2023
a4c8b0b
Fix mac setup (#461)
dyashuni May 21, 2023
643e9dc
Merge pull request #463 from alxvth/fix_global_linkage_again
yurymalkov Jun 13, 2023
47c0a32
[warnings] Fix build warnings.
ttsugriy Jun 19, 2023
3ca227a
Replace priority_queue::push with emplace.
ttsugriy Jun 19, 2023
013def5
[bruteforce] Fix bruteforce removePoint.
ttsugriy Jun 19, 2023
b977d25
Merge pull request #472 from ttsugriy/emplace
yurymalkov Jun 19, 2023
70ce84e
Merge branch 'nmslib:develop' into develop
ttsugriy Jun 19, 2023
1ee95db
Use unique_ptr to manage visited_list_pool_.
ttsugriy Jun 19, 2023
802a0ec
Merge pull request #471 from ttsugriy/warnings
yurymalkov Jun 20, 2023
74f14d2
InnerProductSIMD16ExtAVX512 functions are implemented using the more …
aurora327 Jun 20, 2023
9291020
InnerProductSIMD16ExtAVX512 Efficient AVX512 instruction implementat…
aurora327 Jun 20, 2023
e7c66c8
Merge pull request #473 from ttsugriy/develop
yurymalkov Jul 4, 2023
0df757e
Merge pull request #474 from ttsugriy/uniq-ptr
yurymalkov Jul 4, 2023
8911d9e
Fix memory leak on loadIndex with non-empty HierarchicalNSW object
drons Jul 2, 2023
f30b6e1
Merge pull request #475 from aurora327/efficient_avx512_instruction
yurymalkov Jul 10, 2023
006d7b2
Merge pull request #477 from drons/fixLoadIndexLeak
yurymalkov Jul 10, 2023
6a3a0f4
hnswalg.h: cap M to 100000
emollier Jul 18, 2023
5aba6c6
hnswalg.h: reduce M cap further to 10000
emollier Jul 19, 2023
f6d170c
Merge pull request #484 from emollier/cve-2023-37365
yurymalkov Jul 20, 2023
08569de
Bring back HNSWLIB_NO_NATIVE
dyashuni Aug 11, 2023
e023f7e
Fix
dyashuni Aug 11, 2023
4f7b192
get_items return numpy array
dyashuni Aug 12, 2023
f22a5b1
Fix tests
dyashuni Aug 12, 2023
eecd540
Rename flag, use class name to access static variables
dyashuni Aug 13, 2023
db19931
Add type check for return results of get_items
dyashuni Aug 13, 2023
39b210d
Merge pull request #494 from dyashuni/get_items_numpy
yurymalkov Aug 14, 2023
fd027d4
Merge pull request #493 from dyashuni/no_native
yurymalkov Aug 19, 2023
f27913b
python_bindings/bindings.cpp: fix typo.
emollier Aug 21, 2023
ca85f0d
Merge pull request #500 from emollier/typo
yurymalkov Aug 23, 2023
9a33d05
Linking error fix
jrade Aug 24, 2023
5b3d81b
define a macro for error stream
jlmelville Sep 17, 2023
f7ec147
use HNSWERR instead of std::cerr directly
jlmelville Sep 17, 2023
92e053a
Add a comment
jlmelville Sep 17, 2023
431efa8
Avoid sign mismatch in loop
jlmelville Sep 17, 2023
3de1d69
Resolve initialisation order warning
stephematician Sep 27, 2023
a9e62cb
Add link to PR in comment
jlmelville Sep 29, 2023
ae5ba1b
Merge pull request #501 from jrade/master
yurymalkov Oct 1, 2023
c4418ea
Merge pull request #508 from jlmelville/develop
yurymalkov Oct 1, 2023
898bf5d
Merge pull request #509 from jlmelville/patch-1
yurymalkov Oct 1, 2023
d44bd5d
Merge pull request #511 from stephematician/master
yurymalkov Oct 1, 2023
2142dc6
Stop condition (#490)
dyashuni Nov 6, 2023
ba284f5
update repo testing code
yurymalkov Nov 20, 2023
b9e0597
Bump library version
yurymalkov Dec 3, 2023
5a8fd34
Update README.md
yurymalkov Dec 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/cpp/sift_1b.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ void sift_test1B() {
size_t vecdim = 128;
char path_index[1024];
char path_gt[1024];
char *path_q = "../bigann/bigann_query.bvecs";
char *path_data = "../bigann/bigann_base.bvecs";
sprintf(path_index, "sift1b_%dm_ef_%d_M_%d.bin", subset_size_milllions, efConstruction, M);
const char *path_q = "../bigann/bigann_query.bvecs";
const char *path_data = "../bigann/bigann_base.bvecs";
snprintf(path_index, sizeof(path_index), "sift1b_%dm_ef_%d_M_%d.bin", subset_size_milllions, efConstruction, M);

sprintf(path_gt, "../bigann/gnd/idx_%dM.ivecs", subset_size_milllions);
snprintf(path_gt, sizeof(path_gt), "../bigann/gnd/idx_%dM.ivecs", subset_size_milllions);

unsigned char *massb = new unsigned char[vecdim];

Expand Down
2 changes: 1 addition & 1 deletion tests/cpp/updates_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ int main(int argc, char **argv) {
for (int b = 1; b < dummy_data_multiplier; b++) {
std::cout << "Update iteration " << b << "\n";
char cpath[1024];
sprintf(cpath, "batch_dummy_%02d.bin", b);
snprintf(cpath, sizeof(cpath), "batch_dummy_%02d.bin", b);
std::vector<float> dummy_batchb = load_batch<float>(path + cpath, N * d);

ParallelFor(0, N, num_threads, [&](size_t i, size_t threadId) {
Expand Down