Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ Please mark all change in change log and use the ticket from JIRA. - \#322 - Add option to enable / disable prometheus - \#358 - Add more information in build.sh and install.md - \#255 - Add ivfsq8 test report detailed version - \#404 - Add virtual method Init() in Pass abstract class ## Task Loading core/src/scheduler/SchedInst.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ load_simple_config() { void StartSchedulerService() { load_simple_config(); OptimizerInst::GetInstance()->Init(); ResMgrInst::GetInstance()->Start(); SchedInst::GetInstance()->Start(); JobMgrInst::GetInstance()->Start(); Loading core/src/scheduler/optimizer/HybridPass.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,10 @@ namespace milvus { namespace scheduler { void HybridPass::Init() { } bool HybridPass::Run(const TaskPtr& task) { // TODO: future, Index::IVFSQ8H, if nq < threshold set cpu, else set gpu Loading core/src/scheduler/optimizer/HybridPass.h +3 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,9 @@ class HybridPass : public Pass { HybridPass() = default; public: void Init() override; bool Run(const TaskPtr& task) override; }; Loading core/src/scheduler/optimizer/LargeSQ8HPass.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,8 @@ namespace milvus { namespace scheduler { LargeSQ8HPass::LargeSQ8HPass() { void LargeSQ8HPass::Init() { server::Config& config = server::Config::GetInstance(); Status s = config.GetEngineConfigGpuSearchThreshold(threshold_); if (!s.ok()) { Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ Please mark all change in change log and use the ticket from JIRA. - \#322 - Add option to enable / disable prometheus - \#358 - Add more information in build.sh and install.md - \#255 - Add ivfsq8 test report detailed version - \#404 - Add virtual method Init() in Pass abstract class ## Task Loading
core/src/scheduler/SchedInst.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ load_simple_config() { void StartSchedulerService() { load_simple_config(); OptimizerInst::GetInstance()->Init(); ResMgrInst::GetInstance()->Start(); SchedInst::GetInstance()->Start(); JobMgrInst::GetInstance()->Start(); Loading
core/src/scheduler/optimizer/HybridPass.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,10 @@ namespace milvus { namespace scheduler { void HybridPass::Init() { } bool HybridPass::Run(const TaskPtr& task) { // TODO: future, Index::IVFSQ8H, if nq < threshold set cpu, else set gpu Loading
core/src/scheduler/optimizer/HybridPass.h +3 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,9 @@ class HybridPass : public Pass { HybridPass() = default; public: void Init() override; bool Run(const TaskPtr& task) override; }; Loading
core/src/scheduler/optimizer/LargeSQ8HPass.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,8 @@ namespace milvus { namespace scheduler { LargeSQ8HPass::LargeSQ8HPass() { void LargeSQ8HPass::Init() { server::Config& config = server::Config::GetInstance(); Status s = config.GetEngineConfigGpuSearchThreshold(threshold_); if (!s.ok()) { Loading