diff --git a/core/src/db/engine/ExecutionEngineImpl.cpp b/core/src/db/engine/ExecutionEngineImpl.cpp index fa07a4f20db5844f1675168373c5032c7d23a240..93b2108b7bd2c2d58679dc838d02fb8c943a34ef 100644 --- a/core/src/db/engine/ExecutionEngineImpl.cpp +++ b/core/src/db/engine/ExecutionEngineImpl.cpp @@ -472,16 +472,6 @@ ExecutionEngineImpl::Load(bool to_cache) { LOG_ENGINE_ERROR_ << msg; return Status(DB_ERROR, msg); } else { - bool gpu_enable = false; -#ifdef MILVUS_GPU_VERSION - server::Config& config = server::Config::GetInstance(); - STATUS_CHECK(config.GetGpuResourceConfigEnable(gpu_enable)); -#endif - if (!gpu_enable && index_->index_mode() == knowhere::IndexMode::MODE_GPU) { - std::string err_msg = "Index with type " + index_->index_type() + " must be used in GPU mode"; - LOG_ENGINE_ERROR_ << err_msg; - return Status(DB_ERROR, err_msg); - } segment::DeletedDocsPtr deleted_docs_ptr; auto status = segment_reader_ptr->LoadDeletedDocs(deleted_docs_ptr); if (!status.ok()) {