未验证 提交 e22ba03f 编写于 作者: O op-hunter 提交者: GitHub

fix issue 1901 (#1920)

* fix issue 1901
Signed-off-by: Ncmli <chengming.li@zilliz.com>

* update change log
Signed-off-by: Ncmli <chengming.li@zilliz.com>
Co-authored-by: Ncmli <chengming.li@zilliz.com>
上级 bfb277d1
......@@ -11,6 +11,7 @@ Please mark all change in change log and use the issue from GitHub
- \#1832 Fix crash in tracing module
- \#1873 Fix index file serialize to incorrect path
- \#1881 Fix bad alloc when index files lost
- \#1901 Search failed with flat index
- \#1903 Fix invalid annoy result
- \#1910 C++ SDK GetIDsInSegment could not work for large dataset
......
......@@ -63,7 +63,7 @@ FaissFlatPass::Run(const TaskPtr& task) {
} else {
auto best_device_id = count_ % search_gpus_.size();
SERVER_LOG_DEBUG << LogOut("[%s][%d] FaissFlatPass: nq > gpu_search_threshold, specify gpu %d to search!",
best_device_id, "search", 0);
"search", 0, best_device_id);
++count_;
res_ptr = ResMgrInst::GetInstance()->GetResource(ResourceType::GPU, search_gpus_[best_device_id]);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册