mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-04 09:52:30 +08:00
update
Former-commit-id: 661cc9057b3c52fb09bef6adfec050e909ca4c3c
This commit is contained in:
parent
1141bbbb06
commit
c12e99c3fb
@ -702,7 +702,7 @@ TEST_F(GPURESTEST, copyandsearch) {
|
||||
}
|
||||
|
||||
TEST_F(GPURESTEST, TrainAndSearch) {
|
||||
index_type = "GPUIVFSQ";
|
||||
index_type = "GPUIVF";
|
||||
index_ = IndexFactory(index_type);
|
||||
|
||||
auto conf = std::make_shared<knowhere::IVFSQCfg>();
|
||||
|
||||
@ -297,6 +297,7 @@ TEST_F(DBTest, SEARCH_TEST) {
|
||||
ASSERT_TRUE(stat.ok());
|
||||
}
|
||||
|
||||
#ifdef CUSTOMIZATION
|
||||
//test FAISS_IVFSQ8H optimizer
|
||||
index.engine_type_ = (int)milvus::engine::EngineType::FAISS_IVFSQ8H;
|
||||
db_->CreateIndex(TABLE_NAME, index); // wait until build index finish
|
||||
@ -314,9 +315,7 @@ TEST_F(DBTest, SEARCH_TEST) {
|
||||
stat = db_->Query(TABLE_NAME, file_ids, k, nq, 10, xq.data(), dates, results);
|
||||
ASSERT_TRUE(stat.ok());
|
||||
}
|
||||
|
||||
|
||||
// TODO(lxj): add groundTruth assert
|
||||
#endif-
|
||||
}
|
||||
|
||||
TEST_F(DBTest, PRELOADTABLE_TEST) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user