mirror of https://github.com/milvus-io/milvus.git
MS-573 remove useless code
Former-commit-id: 4db9733a33dcbc26b5b11a66f54087d3af51ccc6pull/191/head
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…
Reference in New Issue