From c7bc4a8a224929ee749c98d2cf91ffc28f3f1abc Mon Sep 17 00:00:00 2001 From: "xiaojun.lin" Date: Sun, 8 Mar 2020 14:21:59 +0800 Subject: [PATCH 1/2] update max_support_dim Signed-off-by: xiaojun.lin --- CHANGELOG.md | 1 + core/src/wrapper/ConfAdapter.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 951494dddc..221a6891dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ Please mark all change in change log and use the issue from GitHub - \#1532 Search with ivf_flat failed with open-dataset: sift-256-hamming - \#1535 Degradation searching performance with metric_type: binary_idmap - \#1556 Index file not created after table and index created +- \#1560 Search crashed with Super-high dimensional binary vector ## Feature - \#216 Add CLI to get server info diff --git a/core/src/wrapper/ConfAdapter.cpp b/core/src/wrapper/ConfAdapter.cpp index 7742f3bab7..db06504def 100644 --- a/core/src/wrapper/ConfAdapter.cpp +++ b/core/src/wrapper/ConfAdapter.cpp @@ -31,7 +31,7 @@ namespace engine { #define GPU_MAX_NRPOBE 1024 #endif -#define DEFAULT_MAX_DIM 16384 +#define DEFAULT_MAX_DIM 32768 #define DEFAULT_MIN_DIM 1 #define DEFAULT_MAX_K 16384 #define DEFAULT_MIN_K 1 From 0ce5a3f5eb34ebf59a9326ba5a1d65cc787da0e0 Mon Sep 17 00:00:00 2001 From: "xiaojun.lin" Date: Sun, 8 Mar 2020 16:15:59 +0800 Subject: [PATCH 2/2] update. Signed-off-by: xiaojun.lin --- core/unittest/wrapper/test_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/unittest/wrapper/test_wrapper.cpp b/core/unittest/wrapper/test_wrapper.cpp index ba3ed0f1a1..65e672e8c6 100644 --- a/core/unittest/wrapper/test_wrapper.cpp +++ b/core/unittest/wrapper/test_wrapper.cpp @@ -85,7 +85,7 @@ INSTANTIATE_TEST_CASE_P( // std::make_tuple(milvus::engine::IndexType::NSG_MIX, "Default", 128, 250000, 10, 10), #endif // std::make_tuple(milvus::engine::IndexType::SPTAG_KDT_RNT_CPU, "Default", 128, 100, 10, 10), - // std::make_tuple(milvus::engine::IndexType::SPTAG_BKT_RNT_CPU, "Default", 128, 100, 10, 10), + // std::make_tuple(milvus::engine::IndexType::SPTAG_BKT_RNT_CPU, "Default", 126, 100, 10, 10), std::make_tuple(milvus::engine::IndexType::HNSW, "Default", 64, 10000, 5, 10), std::make_tuple(milvus::engine::IndexType::FAISS_IDMAP, "Default", 64, 1000, 10, 10), std::make_tuple(milvus::engine::IndexType::FAISS_IVFFLAT_CPU, "Default", 64, 1000, 10, 10),