Commit 26bd01c
[8.2] [MOD-10833] [MOD-10236] SVS Library Update: Fix Zero Vector Handling and Alpine C++20 Compatibility (#774)
[MOD-10833] [MOD-10236] SVS Library Update: Fix Zero Vector Handling and Alpine C++20 Compatibility (#752)
* SVS updates for SVS_LAZY and inf/nan
* add a test for zero vector
* fix valgrind issue
* use v0.0.10 SVS libs
* move test
---------
(cherry picked from commit 4e58260)
Co-authored-by: ethanglaser <42726565+ethanglaser@users.noreply.github.com>
Co-authored-by: meiravgri <meirav.grimberg@redis.com>1 parent db0aa29 commit 26bd01c
File tree
3 files changed
+29
-4
lines changed- cmake
- deps
- tests/unit
3 files changed
+29
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
Submodule ScalableVectorSearch updated 86 files
- .github/.licenserc.yaml+1
- .github/workflows/build-linux-arm.yml+1-1
- .github/workflows/build-linux.yml+1-1
- .github/workflows/build-macos.yaml+1-1
- .github/workflows/cibuildwheel.yml+1-1
- .github/workflows/skywalking-eyes.yml+1-1
- .gitignore+1-1
- CMakeLists.txt+7-1
- HISTORY.md+8
- NEWS.md+12-4
- THIRD-PARTY-PROGRAMS+1-1
- benchmark/CMakeLists.txt+11
- benchmark/include/svs-benchmark/ivf/build.h+280
- benchmark/include/svs-benchmark/ivf/common.h+39
- benchmark/include/svs-benchmark/ivf/search.h+215
- benchmark/include/svs-benchmark/ivf/static_traits.h+139
- benchmark/include/svs-benchmark/ivf/test.h+152
- benchmark/include/svs-benchmark/ivf/uncompressed.h+39
- benchmark/include/svs-benchmark/test.h+3
- benchmark/src/ivf/build.cpp+152
- benchmark/src/ivf/search.cpp+120
- benchmark/src/ivf/test.cpp+118
- benchmark/src/ivf/uncompressed.cpp+274
- benchmark/src/main.cpp+15
- bindings/python/CMakeLists.txt+8
- bindings/python/include/svs/python/core.h+1-1
- bindings/python/include/svs/python/ivf.h+94
- bindings/python/setup.py+1-1
- bindings/python/src/ivf.cpp+643
- bindings/python/src/python_bindings.cpp+42-1
- bindings/python/src/vamana.cpp+1-1
- bindings/python/tests/test_common.py+1-1
- cmake/mkl.cmake+6-1
- cmake/mkl_functions_ivf+7
- cmake/openmp.cmake+2-4
- cmake/options.cmake+12
- data/test_dataset/ivf_clustering/clusters_0.bin
- data/test_dataset/ivf_clustering/data_1.svs
- data/test_dataset/ivf_clustering/svs_config.toml+34
- data/test_dataset/reference/ivf_reference.toml+570
- examples/cpp/README.md+2
- examples/cpp/shared/CMakeLists.txt+12-3
- examples/cpp/shared/README.md+4-2
- examples/cpp/shared/example_vamana_with_compression.cpp+80
- examples/cpp/shared/example_vamana_with_compression_lvq.cpp+75
- examples/python/example_vamana_open_source.py+228
- include/svs/core/data/simple.h+5
- include/svs/core/data/view.h+1
- include/svs/core/medioid.h+5
- include/svs/index/ivf/clustering.h+356
- include/svs/index/ivf/common.h+769
- include/svs/index/ivf/extensions.h+220
- include/svs/index/ivf/hierarchical_kmeans.h+347
- include/svs/index/ivf/index.h+555
- include/svs/index/ivf/kmeans.h+134
- include/svs/index/ivf/sorted_buffer.h+202
- include/svs/index/vamana/index.h+1-1
- include/svs/lib/bfloat16.h+143
- include/svs/lib/datatype.h+13-1
- include/svs/lib/file_iterator.h+2-1
- include/svs/lib/misc.h+17-1
- include/svs/lib/neighbor.h+23
- include/svs/lib/preprocessor.h+11-1
- include/svs/lib/threads/threadpool.h+27
- include/svs/orchestrators/ivf.h+180
- tests/CMakeLists.txt+19
- tests/integration/ivf/index_build.cpp+114
- tests/integration/ivf/index_search.cpp+141
- tests/svs/core/data/data.h+1
- tests/svs/index/ivf/common.cpp+71
- tests/svs/index/ivf/hierarchical_kmeans.cpp+75
- tests/svs/index/ivf/kmeans.cpp+70
- tests/svs/index/vamana/dynamic_index_2.cpp+2-2
- tests/svs/index/vamana/index.cpp+2-2
- tests/svs/lib/bfloat16.cpp+79
- tests/svs/lib/datatype.cpp+4
- tests/svs/lib/version.cpp+2-2
- tests/utils/ivf_reference.cpp+46
- tests/utils/ivf_reference.h+81
- tests/utils/test_dataset.cpp+4
- tests/utils/test_dataset.h+3
- tools/benchmark_inputs/ivf/test-generator.toml+34
- utils/CMakeLists.txt+8
- utils/build_ivf.cpp+130
- utils/convert_data_to_bfloat16.cpp+67
- utils/search_ivf.cpp+241
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
1774 | 1799 | | |
1775 | 1800 | | |
1776 | 1801 | | |
| |||
0 commit comments