mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip ci]Implement get milvus simd type (#8547)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
parent
4c9929d0c3
commit
14e6b39d54
@ -35,13 +35,11 @@ class MilvusSys:
|
||||
|
||||
@property
|
||||
def simd_type(self):
|
||||
raise NotImplementedError()
|
||||
# TODO: get simd_type when milvus metrics implemented
|
||||
# """get the first query node's simd type"""
|
||||
# for node in self.nodes:
|
||||
# if 'QueryNode' == node.get('infos').get('type'):
|
||||
# return node.get('infos').get('simd_type')
|
||||
# raise Exception("No query node found")
|
||||
"""get the first query node's simd type"""
|
||||
for node in self.nodes:
|
||||
if 'QueryNode' == node.get('infos').get('type'):
|
||||
return node.get('infos').get('system_configurations').get('simd_type')
|
||||
raise Exception("No query node found")
|
||||
|
||||
@property
|
||||
def query_nodes(self):
|
||||
|
Loading…
Reference in New Issue
Block a user