Skip to content

Commit 0d92e9a

Browse files
authored
Arm backend: Remove old CI workaround (#16994)
Also run only "u55_avg_pool_not_supported" with EthosU55PipelineINT. This is related to CI and the workaround removal, in that it avoid mixing u55 and vgf tests that could e.g. run with different setups. Signed-off-by: Måns Nilsson <[email protected]> cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai
1 parent d001896 commit 0d92e9a

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

backends/arm/test/ops/test_mean_dim.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
22
# All rights reserved.
3-
# Copyright 2024-2025 Arm Limited and/or its affiliates.
3+
# Copyright 2024-2026 Arm Limited and/or its affiliates.
44
#
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
@@ -247,6 +247,8 @@ class MeanDim(torch.nn.Module):
247247
(2),
248248
False,
249249
),
250+
}
251+
u55_test_data_suite = {
250252
"u55_avg_pool_not_supported": lambda: (
251253
torch.rand(1, 1, 1, 257),
252254
(0, 1, 2, 3),
@@ -288,7 +290,9 @@ def test_mean_dim_tosa_INT(test_data):
288290
pipeline.run()
289291

290292

291-
@common.parametrize("test_data", MeanDim.test_data_suite)
293+
@common.parametrize(
294+
"test_data", {**MeanDim.test_data_suite, **MeanDim.u55_test_data_suite}
295+
)
292296
@common.XfailIfNoCorstone300
293297
def test_mean_dim_u55_INT(test_data):
294298
test_data, dim, keep_dim = test_data()

backends/arm/test/tester/test_pipeline.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,15 +1176,3 @@ def __init__(
11761176
inputs=self.test_data,
11771177
)
11781178
self.run_on_vulkan_runtime = run_on_vulkan_runtime
1179-
1180-
# TODO: Remove once CI fully working
1181-
def run(self):
1182-
import pytest
1183-
1184-
if self.run_on_vulkan_runtime:
1185-
try:
1186-
super().run()
1187-
except FileNotFoundError as e:
1188-
pytest.skip(f"VKML executor_runner not found - not built - skip {e}")
1189-
else:
1190-
super().run()

0 commit comments

Comments
 (0)