未验证 提交 cc3b75b6 编写于 作者: C Cai Yudong 提交者: GitHub

code revert (#1877)

Signed-off-by: Nyudong.cai <yudong.cai@zilliz.com>
上级 a4b31cb0
......@@ -65,9 +65,6 @@ VecIndexFactory::CreateVecIndex(const IndexType& type, const IndexMode mode) {
return std::make_shared<knowhere::IVFSQ>();
#ifdef MILVUS_GPU_VERSION
} else if (type == IndexEnum::INDEX_FAISS_IVFSQ8H) {
if (mode == IndexMode::MODE_CPU) {
return nullptr;
}
return std::make_shared<knowhere::IVFSQHybrid>(gpu_device);
#endif
} else if (type == IndexEnum::INDEX_FAISS_BIN_IDMAP) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册