diff --git a/cmake/dependency_graphengine.cmake b/cmake/dependency_graphengine.cmake index a0d3b1ed23..521df6b117 100644 --- a/cmake/dependency_graphengine.cmake +++ b/cmake/dependency_graphengine.cmake @@ -30,7 +30,6 @@ if(ENABLE_D OR ENABLE_ACL OR ENABLE_TESTCASES) set(GE_PREBUILD_PATH ${GE_SOURCE_DIR}/third_party/prebuild/${CMAKE_HOST_SYSTEM_PROCESSOR}) set(ENABLE_MS_TESTCASES TRUE) find_submodule_lib(slog libalog.so ${GE_PREBUILD_PATH}) - find_submodule_lib(error_manager liberror_manager.so ${GE_PREBUILD_PATH}) find_submodule_lib(static_mmpa libmmpa.a ${GE_PREBUILD_PATH}) endif() diff --git a/graphengine b/graphengine index 92286b21ec..f65be61197 160000 --- a/graphengine +++ b/graphengine @@ -1 +1 @@ -Subproject commit 92286b21ec71014f547715067d15edb9c2e26a38 +Subproject commit f65be61197ed36dfc9dc10b91b58bf93835fa27b diff --git a/mindspore/_check_version.py b/mindspore/_check_version.py index 6fedea2cd3..c0b9640629 100644 --- a/mindspore/_check_version.py +++ b/mindspore/_check_version.py @@ -166,7 +166,7 @@ class AscendEnvChecker(EnvChecker): """ascend environment check""" def __init__(self): - self.version = ["1.77.T20.0.B200"] + self.version = ["1.77.22.0.220"] atlas_nnae_version = "/usr/local/Ascend/nnae/latest/fwkacllib/version.info" atlas_toolkit_version = "/usr/local/Ascend/ascend-toolkit/latest/fwkacllib/version.info" hisi_fwk_version = "/usr/local/Ascend/fwkacllib/version.info" diff --git a/mindspore/_extends/parallel_compile/tbe_compiler/compiler.py b/mindspore/_extends/parallel_compile/tbe_compiler/compiler.py index 5acdfc30ee..268ee36810 100755 --- a/mindspore/_extends/parallel_compile/tbe_compiler/compiler.py +++ b/mindspore/_extends/parallel_compile/tbe_compiler/compiler.py @@ -114,7 +114,9 @@ def build_op(build_type, json_str, tune_mode=None): # call function if is_dynamic_shape: - with te.op.dynamic(): + # with te.op.dynamic(): + import tbe.common.context.op_context as op_context + with op_context.OpContext("dynamic"): op_func(*inputs_args, *outputs_args, *attrs_args, kernel_name=kernel_name) if tune_mode is not None: return (te.op.get_compile_info()), (inputs_args, outputs_args, attrs_args), op_module_name diff --git a/tests/st/dynamic_shape/test_ascend_cpu.py b/tests/st/dynamic_shape/test_ascend_cpu.py index e3c4938d60..d8731b19b6 100644 --- a/tests/st/dynamic_shape/test_ascend_cpu.py +++ b/tests/st/dynamic_shape/test_ascend_cpu.py @@ -58,7 +58,7 @@ def test_unique_ascend(): assert (output[1].asnumpy() == expect2).all() -@pytest.mark.level0 +@pytest.mark.level2 @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.env_onecard diff --git a/tests/st/dynamic_shape/test_dynamic_shape_embedding.py b/tests/st/dynamic_shape/test_dynamic_shape_embedding.py index 33061ea691..c31182a319 100644 --- a/tests/st/dynamic_shape/test_dynamic_shape_embedding.py +++ b/tests/st/dynamic_shape/test_dynamic_shape_embedding.py @@ -36,7 +36,7 @@ class NetWithEmbeddingLookUp(nn.Cell): return out -@pytest.mark.level0 +@pytest.mark.level2 @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.platform_x86_gpu_training diff --git a/tests/st/dynamic_shape/test_ftrl.py b/tests/st/dynamic_shape/test_ftrl.py index bc1ce5b514..9d7efc1175 100644 --- a/tests/st/dynamic_shape/test_ftrl.py +++ b/tests/st/dynamic_shape/test_ftrl.py @@ -56,7 +56,7 @@ def test_ftrl_net(): [[0.6821311, 0.6821311]], [[0.6821311, 0.6821311]]])) -@pytest.mark.level0 +@pytest.mark.level2 @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.env_onecard