Browse Source

Update the version number of mindsight

tags/v1.2.0-rc1
maning202007 4 years ago
parent
commit
902f560289
7 changed files with 7 additions and 7 deletions
  1. +1
    -1
      mindinsight/_version.py
  2. +1
    -1
      tests/st/func/debugger/expect_results/restful_results/multi_next_node.json
  3. +1
    -1
      tests/st/func/debugger/expect_results/restful_results/multi_retrieve_all.json
  4. +1
    -1
      tests/st/func/debugger/expect_results/restful_results/retrieve_all.json
  5. +1
    -1
      tests/st/func/debugger/expect_results/restful_results/retrieve_next_node_on_gpu.json
  6. +1
    -1
      tests/st/func/debugger/mock_ms_client.py
  7. +1
    -1
      tests/ut/debugger/test_debugger_grpc_server.py

+ 1
- 1
mindinsight/_version.py View File

@@ -14,4 +14,4 @@
# ============================================================================
"""Mindinsight version module."""

VERSION = '1.1.0'
VERSION = '1.2.0'

+ 1
- 1
tests/st/func/debugger/expect_results/restful_results/multi_next_node.json View File

@@ -1 +1 @@
{"metadata": {"state": "waiting", "step": 1, "device_name": "0", "node_name": "Default/network-WithLossCell/_loss_fn-SoftmaxCrossEntropyWithLogits/OneHot-op0", "backend": "GPU", "enable_recheck": false, "graph_name": "graph_1", "recommendation_confirmed": false, "debugger_version": {"ms": "1.1.0"}}, "graph": {"graph_names": ["graph_0", "graph_1"], "nodes": [{"name": "graph_0", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}, {"name": "graph_1", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}]}, "watch_points": []}
{"metadata": {"state": "waiting", "step": 1, "device_name": "0", "node_name": "Default/network-WithLossCell/_loss_fn-SoftmaxCrossEntropyWithLogits/OneHot-op0", "backend": "GPU", "enable_recheck": false, "graph_name": "graph_1", "recommendation_confirmed": false, "debugger_version": {"ms": "1.2.0"}}, "graph": {"graph_names": ["graph_0", "graph_1"], "nodes": [{"name": "graph_0", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}, {"name": "graph_1", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}]}, "watch_points": []}

+ 1
- 1
tests/st/func/debugger/expect_results/restful_results/multi_retrieve_all.json View File

@@ -1 +1 @@
{"metadata": {"state": "waiting", "step": 1, "device_name": "0", "node_name": "", "backend": "Ascend", "enable_recheck": false, "graph_name": "", "recommendation_confirmed": false, "debugger_version": {"ms": "1.1.0"}}, "graph": {"graph_names": ["graph_0", "graph_1"], "nodes": [{"name": "graph_0", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}, {"name": "graph_1", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}]}, "watch_points": []}
{"metadata": {"state": "waiting", "step": 1, "device_name": "0", "node_name": "", "backend": "Ascend", "enable_recheck": false, "graph_name": "", "recommendation_confirmed": false, "debugger_version": {"ms": "1.2.0"}}, "graph": {"graph_names": ["graph_0", "graph_1"], "nodes": [{"name": "graph_0", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}, {"name": "graph_1", "type": "name_scope", "attr": {}, "input": {}, "output": {}, "output_i": 0, "proxy_input": {}, "proxy_output": {}, "subnode_count": 2, "independent_layout": false}]}, "watch_points": []}

+ 1
- 1
tests/st/func/debugger/expect_results/restful_results/retrieve_all.json
File diff suppressed because it is too large
View File


+ 1
- 1
tests/st/func/debugger/expect_results/restful_results/retrieve_next_node_on_gpu.json
File diff suppressed because it is too large
View File


+ 1
- 1
tests/st/func/debugger/mock_ms_client.py View File

@@ -29,7 +29,7 @@ from tests.st.func.debugger.conftest import GRAPH_PROTO_FILE
class MockDebuggerClient:
"""Mocked Debugger client."""

def __init__(self, hostname='localhost:50051', backend='Ascend', graph_num=1, ms_version='1.1.0'):
def __init__(self, hostname='localhost:50051', backend='Ascend', graph_num=1, ms_version='1.2.0'):
channel = grpc.insecure_channel(hostname)
self.stub = EventListenerStub(channel)
self.flag = True


+ 1
- 1
tests/ut/debugger/test_debugger_grpc_server.py View File

@@ -211,7 +211,7 @@ class TestDebuggerGrpcServer:

def test_send_matadata(self):
"""Test SendMatadata interface."""
res = self._server.SendMetadata(MagicMock(training_done=False, ms_version='1.1.0'), MagicMock())
res = self._server.SendMetadata(MagicMock(training_done=False, ms_version='1.2.0'), MagicMock())
expect_reply = get_ack_reply()
expect_reply.version_matched = True
assert res == expect_reply


Loading…
Cancel
Save