add 910b testcases, move some network cases back to level0

This commit is contained in:
yanghaoran 2023-09-26 22:17:24 +08:00
parent be34fa9f07
commit ab5a18413e
16 changed files with 25 additions and 6 deletions

3
OWNERS
View File

@ -19,6 +19,9 @@ files:
- guoqi1024
- baochong
- liujunzhu
- kisnwang
- yuchaojie
- hwcaifubi
"version.txt":
approvers:

View File

@ -31,6 +31,7 @@ def run_testcase(file_name, case_name=""):
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_onecard
def test_ge_graph_mode_with_jit_level():
"""

View File

@ -19,6 +19,7 @@ import pytest
@pytest.mark.level0
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_onecard
def test_if_by_if():
"""

View File

@ -19,6 +19,7 @@ import tests.st.ge.ge_test_utils as utils
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_onecard
def test_sparse_tensor():
"""

View File

@ -19,6 +19,7 @@ import pytest
@pytest.mark.level0
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_onecard
def test_while_by_cell_list_in_while():
"""

View File

@ -28,8 +28,9 @@ from src.callback import EvalCallBack, LossCallBack, TimeMonitor
set_seed(1)
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard
def test_deepfm():

View File

@ -18,9 +18,10 @@ import pytest
from tests.st.model_zoo_tests import utils
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_single
def test_DeeplabV3_voc2007():
cur_path = os.path.dirname(os.path.abspath(__file__))

View File

@ -26,6 +26,7 @@ np.random.seed(1)
@pytest.mark.level0
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_single
def test_ge_resnet50_boost_imagenet2012_ascend():
"""

View File

@ -19,9 +19,10 @@ import pytest
from tests.st.model_zoo_tests import utils
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_single
def test_SSD_mobilenet_v1_fpn_coco2017():
cur_path = os.path.dirname(os.path.abspath(__file__))

View File

@ -16,9 +16,10 @@ import os
import pytest
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_single
def test_wide_and_deep():
sh_path = os.path.split(os.path.realpath(__file__))[0]

View File

@ -91,9 +91,10 @@ 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.platform_arm_ascend910b_training
@pytest.mark.env_onecard
def test_yolov3_darknet53():
devid = int(os.getenv('DEVICE_ID')) if os.getenv('DEVICE_ID') else 0
@ -213,9 +214,10 @@ def test_yolov3_darknet53():
print('==========test case passed===========')
@pytest.mark.level1
@pytest.mark.level0
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_single
def test_yolov3_darknet_8p():
cur_path = os.path.dirname(os.path.abspath(__file__))

View File

@ -22,6 +22,7 @@ import numpy as np
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_onecard
def test_bert_for_ge():
""""

View File

@ -356,6 +356,7 @@ class CustomCallback(Callback):
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.env_onecard
def test_pynative_tasksink():
"""

View File

@ -240,6 +240,7 @@ class TensorItemSetWithNumber(Cell):
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard
def test_itemset_with_number():

View File

@ -36,6 +36,7 @@ class Net(nn.Cell):
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_x86_gpu_training
@pytest.mark.platform_x86_cpu_training

View File

@ -37,6 +37,7 @@ class Net(nn.Cell):
@pytest.mark.level0
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_arm_ascend910b_training
@pytest.mark.platform_x86_gpu_training
@pytest.mark.env_onecard
@pytest.mark.parametrize('mode', [ms.GRAPH_MODE, ms.PYNATIVE_MODE])