mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 15:35:33 +08:00
Merge pull request #645 from scsven/0.6.0
Add a new rpc command to get milvus build version whether cpu or gpu …
This commit is contained in:
commit
ac2cb7fd64
@ -57,6 +57,7 @@ Please mark all change in change log and use the ticket from JIRA.
|
||||
- \#502 - C++ SDK support IVFPQ and SPTAG
|
||||
- \#560 - Add version in server config file
|
||||
- \#605 - Print more messages when server start
|
||||
- \#644 - Add a new rpc command to get milvus build version whether cpu or gpu
|
||||
|
||||
## Improvement
|
||||
- \#255 - Add ivfsq8 test report detailed version
|
||||
|
||||
@ -39,6 +39,12 @@ CmdRequest::OnExecute() {
|
||||
result_ = MILVUS_VERSION;
|
||||
} else if (cmd_ == "tasktable") {
|
||||
result_ = scheduler::ResMgrInst::GetInstance()->DumpTaskTables();
|
||||
} else if (cmd_ == "mode") {
|
||||
#ifdef MILVUS_GPU_VERSION
|
||||
result_ = "GPU";
|
||||
#else
|
||||
result_ = "CPU";
|
||||
#endif
|
||||
} else {
|
||||
result_ = "OK";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user