add 910b testcases, move some network cases back to level0
This commit is contained in:
parent
be34fa9f07
commit
ab5a18413e
3
OWNERS
3
OWNERS
|
@ -19,6 +19,9 @@ files:
|
|||
- guoqi1024
|
||||
- baochong
|
||||
- liujunzhu
|
||||
- kisnwang
|
||||
- yuchaojie
|
||||
- hwcaifubi
|
||||
|
||||
"version.txt":
|
||||
approvers:
|
||||
|
|
|
@ -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():
|
||||
"""
|
||||
|
|
|
@ -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():
|
||||
"""
|
||||
|
|
|
@ -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():
|
||||
"""
|
||||
|
|
|
@ -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():
|
||||
"""
|
||||
|
|
|
@ -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():
|
||||
|
|
|
@ -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__))
|
||||
|
|
|
@ -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():
|
||||
"""
|
||||
|
|
|
@ -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__))
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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__))
|
||||
|
|
|
@ -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():
|
||||
""""
|
||||
|
|
|
@ -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():
|
||||
"""
|
||||
|
|
|
@ -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():
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue