mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
MS-573 remove useless code
Former-commit-id: 4db9733a33dcbc26b5b11a66f54087d3af51ccc6
This commit is contained in:
parent
029d4a97b3
commit
e26948e858
@ -30,7 +30,6 @@
|
||||
#include "cloner.h"
|
||||
#include "knowhere/adapter/faiss_adopt.h"
|
||||
#include "gpu_ivf.h"
|
||||
#include "knowhere/common/Log.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@ -224,7 +223,6 @@ VectorIndexPtr GPUIVFPQ::CopyGpuToCpu(const Config &config) {
|
||||
}
|
||||
|
||||
IndexModelPtr GPUIVFSQ::Train(const DatasetPtr &dataset, const Config &config) {
|
||||
KNOWHERE_LOG_WARNING << "lalalalalalala";
|
||||
auto nlist = config["nlist"].as<size_t>();
|
||||
auto nbits = config["nbits"].as<size_t>(); // TODO(linxj): gpu only support SQ4 SQ8 SQ16
|
||||
gpu_id_ = config.get_with_default("gpu_id", gpu_id_);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user