Skip to content

Remove incorrectly xfailing split tests #7648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 3 additions & 23 deletions backends/arm/test/ops/test_split.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Arm Limited and/or its affiliates.
# Copyright 2024-2025 Arm Limited and/or its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
Expand Down Expand Up @@ -101,7 +101,6 @@ def _test_split_ethosu_BI_pipeline(
)
.quantize()
.export()
.check(["torch.ops.aten.split.Tensor"])
.to_edge()
.partition()
.check_count({"torch.ops.higher_order.executorch_call_delegate": 1})
Expand Down Expand Up @@ -129,33 +128,14 @@ def test_split_two_out_tosa_MI(self, test_data: test_data_t):
def test_split_tosa_BI(self, test_data: test_data_t):
self._test_split_tosa_BI_pipeline(self.Split(), test_data)

@parameterized.expand(
[Split.test_data[0], Split.test_data[1], Split.test_data[2], Split.test_data[4]]
)
@parameterized.expand(Split.test_data)
def test_split_u55_BI(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u55_compile_spec(), self.Split(), test_data
)

# TODO MLETORCH-350
@parameterized.expand([Split.test_data[3], Split.test_data[5]])
@unittest.expectedFailure
def test_split_u55_BI_skip(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u55_compile_spec(), self.Split(), test_data
)

@parameterized.expand(
[Split.test_data[0], Split.test_data[1], Split.test_data[2], Split.test_data[4]]
)
@parameterized.expand(Split.test_data)
def test_split_u85_BI(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u85_compile_spec(), self.Split(), test_data
)

@parameterized.expand([Split.test_data[3], Split.test_data[5]])
@unittest.expectedFailure
def test_split_u85_BI_skip(self, test_data: test_data_t):
self._test_split_ethosu_BI_pipeline(
common.get_u85_compile_spec(), self.Split(), test_data
)
Loading