#552 Server down during building index_type: IVF_PQ using GPU-edition

pull/588/head
Yukikaze-CZR 2019-11-28 15:15:14 +08:00
parent dd5ec085b6
commit 035feec872
1 changed files with 3 additions and 2 deletions

View File

@ -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