Commit c28a9ebe authored by peng.xu's avatar peng.xu
Browse files

Merge branch 'fix_testivf' into 'branch-0.5.0'

MS-648 fix ivf test

See merge request megasearch/milvus!711

Former-commit-id: 85d24fd05520c73f6472c44d1a7ad7ee36ff4897
parents 3f670f34 bbbd8e58
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -79,12 +79,8 @@ IVFSQHybrid::CopyGpuToCpu(const Config& config) {

VectorIndexPtr
IVFSQHybrid::CopyCpuToGpu(const int64_t& device_id, const Config& config) {
    if (auto res = FaissGpuResourceMgr::GetInstance().GetRes(device_id)) {
    auto p = CopyCpuToGpuWithQuantizer(device_id, config);
    return p.first;
    } else {
        KNOWHERE_THROW_MSG("CopyCpuToGpu Error, can't get gpu_resource");
    }
}

void