@@ -77,10 +77,10 @@ def _is_tosa_marker_in_file(tmp_file):
7777
7878
7979@common .parametrize ("test_data" , Linear .inputs )
80- def test_FP_artifact (test_data : input_t1 ):
80+ def test_artifact_tosa_FP (test_data : input_t1 ):
8181 model = Linear ()
8282 tmp_file = common .get_time_formatted_path (
83- tempfile .mkdtemp (), test_FP_artifact .__name__
83+ tempfile .mkdtemp (), test_artifact_tosa_FP .__name__
8484 )
8585 _tosa_FP_pipeline (model , test_data , dump_file = tmp_file )
8686 assert os .path .exists (tmp_file ), f"File { tmp_file } was not created"
@@ -90,10 +90,10 @@ def test_FP_artifact(test_data: input_t1):
9090
9191
9292@common .parametrize ("test_data" , Linear .inputs )
93- def test_INT_artifact (test_data : input_t1 ):
93+ def test_artifact_tosa_INT (test_data : input_t1 ):
9494 model = Linear ()
9595 tmp_file = common .get_time_formatted_path (
96- tempfile .mkdtemp (), test_INT_artifact .__name__
96+ tempfile .mkdtemp (), test_artifact_tosa_INT .__name__
9797 )
9898 _tosa_INT_pipeline (model , test_data , dump_file = tmp_file )
9999 assert os .path .exists (tmp_file ), f"File { tmp_file } was not created"
@@ -106,7 +106,7 @@ def test_INT_artifact(test_data: input_t1):
106106
107107
108108@common .parametrize ("test_data" , Linear .inputs )
109- def test_numerical_diff_print (test_data : input_t1 ):
109+ def test_numerical_diff_print_tosa_INT (test_data : input_t1 ):
110110 aten_ops : list [str ] = []
111111 exir_ops : list [str ] = []
112112 pipeline = TosaPipelineINT [input_t1 ](
@@ -134,7 +134,7 @@ def test_numerical_diff_print(test_data: input_t1):
134134
135135
136136@common .parametrize ("test_data" , Linear .inputs )
137- def test_dump_ops_and_dtypes (test_data : input_t1 ):
137+ def test_dump_ops_and_dtypes_tosa_INT (test_data : input_t1 ):
138138 aten_ops : list [str ] = []
139139 exir_ops : list [str ] = []
140140 pipeline = TosaPipelineINT [input_t1 ](Linear (), test_data , aten_ops , exir_ops )
@@ -154,7 +154,7 @@ def test_dump_ops_and_dtypes(test_data: input_t1):
154154
155155
156156@common .parametrize ("test_data" , Linear .inputs )
157- def test_dump_ops_and_dtypes_parseable (test_data : input_t1 ):
157+ def test_dump_ops_and_dtypes_parseable_tosa_INT (test_data : input_t1 ):
158158 aten_ops : list [str ] = []
159159 exir_ops : list [str ] = []
160160 pipeline = TosaPipelineINT [input_t1 ](Linear (), test_data , aten_ops , exir_ops )
@@ -181,7 +181,7 @@ def test_dump_ops_and_dtypes_parseable(test_data: input_t1):
181181
182182
183183@common .parametrize ("test_data" , Linear .inputs )
184- def test_collate_tosa_INT_tests (test_data : input_t1 ):
184+ def test_collate_tests_tosa_INT (test_data : input_t1 ):
185185 # Set the environment variable to trigger the collation of TOSA tests
186186 os .environ ["TOSA_TESTCASES_BASE_PATH" ] = "test_collate_tosa_tests"
187187 # Clear out the directory
@@ -192,7 +192,7 @@ def test_collate_tosa_INT_tests(test_data: input_t1):
192192 pipeline .run ()
193193
194194 test_collate_dir = (
195- "test_collate_tosa_tests/tosa-int/test_collate_tosa_INT_tests [randn]"
195+ "test_collate_tosa_tests/tosa-int/test_collate_tests_tosa_INT [randn]"
196196 )
197197 # test that the output directory is created and contains the expected files
198198 assert os .path .exists (test_collate_dir )
@@ -205,7 +205,7 @@ def test_collate_tosa_INT_tests(test_data: input_t1):
205205
206206
207207@common .parametrize ("test_data" , Linear .inputs )
208- def test_dump_tosa_debug_json (test_data : input_t1 ):
208+ def test_dump_tosa_debug_json_tosa_INT (test_data : input_t1 ):
209209 with tempfile .TemporaryDirectory () as tmpdir :
210210 aten_ops : list [str ] = []
211211 exir_ops : list [str ] = []
@@ -238,7 +238,7 @@ def test_dump_tosa_debug_json(test_data: input_t1):
238238
239239
240240@common .parametrize ("test_data" , Linear .inputs )
241- def test_dump_tosa_debug_tosa (test_data : input_t1 ):
241+ def test_dump_tosa_debug_tosa_FP (test_data : input_t1 ):
242242 output_dir = "test_dump_tosa_debug"
243243
244244 aten_ops : list [str ] = []
@@ -283,7 +283,7 @@ def test_dump_tosa_debug_tosa(test_data: input_t1):
283283
284284
285285@common .parametrize ("test_data" , Linear .inputs )
286- def test_dump_tosa_ops (capsys , test_data : input_t1 ):
286+ def test_dump_tosa_ops_tosa_INT (capsys , test_data : input_t1 ):
287287 aten_ops : list [str ] = []
288288 exir_ops : list [str ] = []
289289 pipeline = TosaPipelineINT [input_t1 ](Linear (), test_data , aten_ops , exir_ops )
@@ -304,7 +304,7 @@ def forward(self, x):
304304
305305@common .parametrize ("test_data" , Add .inputs )
306306@common .XfailIfNoCorstone300
307- def test_fail_dump_tosa_ops (capsys , test_data : input_t1 ):
307+ def test_fail_dump_ops_u55_INT (capsys , test_data : input_t1 ):
308308 aten_ops : list [str ] = []
309309 exir_ops : list [str ] = []
310310 pipeline = EthosU55PipelineINT [input_t1 ](
0 commit comments