From b45df8238d3d2d0368ce66968a53db094ba5fbbd Mon Sep 17 00:00:00 2001 From: hedongdong Date: Thu, 23 Feb 2023 18:42:43 +0800 Subject: [PATCH] update testcase levels for index_fill and print --- tests/st/ops/dynamic_shape/grad/test_index_fill.py | 4 ++-- tests/st/ops/gpu/test_print_op.py | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/st/ops/dynamic_shape/grad/test_index_fill.py b/tests/st/ops/dynamic_shape/grad/test_index_fill.py index ffb9581f08b..2bbada083b4 100644 --- a/tests/st/ops/dynamic_shape/grad/test_index_fill.py +++ b/tests/st/ops/dynamic_shape/grad/test_index_fill.py @@ -32,7 +32,7 @@ class IndexFillNet(nn.Cell): return out -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.env_onecard @pytest.mark.platform_x86_cpu @pytest.mark.platform_x86_gpu_training @@ -54,7 +54,7 @@ def test_dynamic_shape_index_fill(): [Tensor(x_np), dim, Tensor(index_np), value], False) -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.env_onecard @pytest.mark.platform_x86_cpu @pytest.mark.platform_x86_gpu_training diff --git a/tests/st/ops/gpu/test_print_op.py b/tests/st/ops/gpu/test_print_op.py index e967fdd2b21..16d4b753af8 100644 --- a/tests/st/ops/gpu/test_print_op.py +++ b/tests/st/ops/gpu/test_print_op.py @@ -110,7 +110,7 @@ class PrintTypes(nn.Cell): @security_off_wrap -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.platform_x86_gpu_training @pytest.mark.env_onecard @pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE]) @@ -129,7 +129,7 @@ def test_print_multiple_types(mode): @security_off_wrap -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.platform_x86_gpu_training @pytest.mark.env_onecard @pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE]) @@ -146,7 +146,7 @@ def test_print_dtype(mode, dtype): @security_off_wrap -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.platform_x86_gpu_training @pytest.mark.env_onecard @pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE]) @@ -161,7 +161,7 @@ def test_print_string(mode): @security_off_wrap -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.env_onecard @pytest.mark.platform_x86_gpu_training @pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE]) @@ -181,7 +181,7 @@ def test_print_dynamic_shape(mode): @security_off_wrap -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.env_onecard @pytest.mark.platform_x86_gpu_training def test_print_op_tuple(): @@ -203,7 +203,7 @@ def test_print_op_tuple(): @security_off_wrap -@pytest.mark.level1 +@pytest.mark.level0 @pytest.mark.env_onecard @pytest.mark.platform_x86_gpu_training @pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE])