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
Changes from 3 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: 7 additions & 1 deletion hnswlib/hnswalg.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,13 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {
data_size_ = s->get_data_size();
fstdistfunc_ = s->get_dist_func();
dist_func_param_ = s->get_dist_func_param();
M_ = M;
if ( M <= 10000 ) {
M_ = M;
} else {
std::cerr << "warning: M parameter exceeds 10000 which may lead to adverse effects." << std::endl;
std::cerr << " Cap to 10000 will be applied for the rest of the processing." << std::endl;
M_ = 10000;
}
maxM_ = M_;
maxM0_ = M_ * 2;
ef_construction_ = std::max(ef_construction, M_);
Expand Down