move testcases affcted by wrong kernel meta back to level0

This commit is contained in:
yanghaoran 2022-11-09 11:48:48 +08:00
parent 245c3bc43e
commit 5e3d8582d9
7 changed files with 9 additions and 8 deletions

View File

@ -17,7 +17,7 @@ import os
import pytest
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_single

View File

@ -206,7 +206,7 @@ class ReluReduceMeanDenseRelu(Cell):
return x_
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -110,7 +110,7 @@ def test_ascend_e2e_trans_false():
run_trans_flag("test_e2e_dump_trans_false")
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard
@ -144,7 +144,7 @@ def test_ascend_kernel_by_kernel_trans_false():
del os.environ['GRAPH_OP_RUN']
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -178,7 +178,7 @@ class ReluReduceMeanDenseRelu(Cell):
return x_
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -154,7 +154,7 @@ def test_lenet_manual_offload():
os.environ['ENABLE_MEM_SCHEDULER'] = '0'
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -90,7 +90,8 @@ class TimeMonitor(Callback):
DATA_DIR = "/home/workspace/mindspore_dataset/coco/coco2014/"
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -116,7 +116,7 @@ def train():
assert avg_step_loss < expect_avg_step_loss
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_single