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