From 035feec8723114d458bba4ae17336e669c238a72 Mon Sep 17 00:00:00 2001 From: Yukikaze-CZR Date: Thu, 28 Nov 2019 15:15:14 +0800 Subject: [PATCH] #552 Server down during building index_type: IVF_PQ using GPU-edition --- core/src/wrapper/ConfAdapter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/wrapper/ConfAdapter.cpp b/core/src/wrapper/ConfAdapter.cpp index 03de96a98b..7644e77ef5 100644 --- a/core/src/wrapper/ConfAdapter.cpp +++ b/core/src/wrapper/ConfAdapter.cpp @@ -154,8 +154,9 @@ IVFPQConfAdapter::Match(const TempMetaConf& metaconf) { // todo(linxj): throw exception here. WRAPPER_LOG_ERROR << "The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims per sub-" "quantizer are currently supported with no precomputed codes."; - throw WrapperException("The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims " - "per sub-quantizer are currently supported with no precomputed codes."); + throw WrapperException( + "The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims " + "per sub-quantizer are currently supported with no precomputed codes."); // return nullptr; } static int64_t compression_level = 1; // 1:low, 2:high